chore: de-flakes tabs

This commit is contained in:
James
2024-04-08 13:12:57 -04:00
committed by Jarrod Flesch
parent d0c79b65f8
commit a5d14ef4c1
2 changed files with 2 additions and 2 deletions

View File

@@ -541,7 +541,7 @@ describe('fields', () => {
await page.goto(url.create)
await wait(300)
await wait(1000)
await page.locator('.tabs-field__tab-button:has-text("Tab with Row")').click()
await page.locator('#field-textInRow').fill(textInRowValue)

View File

@@ -15,7 +15,7 @@ export default defineConfig({
// Look for test files in the "test" directory, relative to this configuration file
testDir: '',
testMatch: '*e2e.spec.ts',
timeout: 240000, // 4 minutes
timeout: 120000,
use: {
screenshot: 'only-on-failure',
trace: 'retain-on-failure',