Skip to content

Commit

Permalink
test: increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
arianrhodsandlot committed Jan 28, 2024
1 parent 6285625 commit 90aff99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/e2e/static-ra-nightly.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ test.describe('static methods with nightly retroarch', () => {

await page.getByText('launchShader', { exact: true }).click()
await page.waitForLoadState('networkidle')
await page.waitForTimeout(500)
await canvas.click()
await page.waitForTimeout(2000)
await expect(canvas).toHaveScreenshot('launch-shader.png')
})
})
3 changes: 2 additions & 1 deletion tests/e2e/static.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ test.describe('static methods', () => {
await expect(canvas).not.toBeAttached()

await page.getByText('launchShader', { exact: true }).click()
await canvas.click()
await page.waitForLoadState('networkidle')
await page.waitForTimeout(500)
await page.waitForTimeout(2000)
await expect(canvas).toHaveScreenshot('launch-shader.png')
})
})

0 comments on commit 90aff99

Please sign in to comment.