Bump expect timeout and add retries for dashboard E2E tests (#8939)

- Fix flaky dashboard E2E tests that occur because of timeouts

# Important Notes
None
This commit is contained in:
somebody1234 2024-02-07 01:52:03 +10:00 committed by GitHub
parent 06f18864f4
commit 8bfdf0063a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,8 +13,10 @@ export default test.defineConfig({
fullyParallel: true, fullyParallel: true,
forbidOnly: true, forbidOnly: true,
workers: 1, workers: 1,
retries: 2,
expect: { expect: {
toHaveScreenshot: { threshold: 0 }, toHaveScreenshot: { threshold: 0 },
timeout: 30_000,
}, },
use: { use: {
baseURL: 'http://localhost:8080', baseURL: 'http://localhost:8080',