Skip to content

Commit 1ddc8cd

Browse files
committed
default timeout
1 parent a3860c8 commit 1ddc8cd

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

packages/editor/e2e/editor.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ test('editor opens on Insert key press', async ({ page }) => {
3333
await page.keyboard.press('Insert')
3434
// The first 'insert' triggers hmr causing a page refresh. We need to trigger the editor again
3535

36+
// Wait for Game to re-initialise after the HMR refresh before polling editor.ready
3637
await page.waitForFunction(() => window.Game?.editor?.ready === true)
3738

3839
await expect(page).toHaveScreenshot('editor-boot.png')

packages/editor/playwright.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export default defineConfig({
77
command: 'npm run dev --prefix ../multiplayer-template/client',
88
url: 'http://localhost:5173',
99
reuseExistingServer: !process.env.CI,
10-
timeout: 30_000,
1110
},
1211
use: {
1312
baseURL: 'http://localhost:5173',

0 commit comments

Comments
 (0)