chore: deflake joins e2e tests (#11034)
Previously, data created by other tests was also leaking into unrelated tests, causing them to fail. The new reset-db-between-tests logic added by this PR fixes this. Additionally, this increases playwright timeouts for CI, and adds a specific timeout override for opening a drawer, as it was incredibly slow in CI
This commit is contained in:
@@ -8,8 +8,8 @@ const dirname = path.dirname(filename)
|
||||
|
||||
dotenv.config({ path: path.resolve(dirname, 'test.env') })
|
||||
|
||||
let multiplier = process.env.CI ? 3 : 1
|
||||
let smallMultiplier = process.env.CI ? 2 : 1
|
||||
let multiplier = process.env.CI ? 5 : 1
|
||||
let smallMultiplier = process.env.CI ? 4 : 1
|
||||
|
||||
export const TEST_TIMEOUT_LONG = 640000 * multiplier // 8*3 minutes - used as timeOut for the beforeAll
|
||||
export const TEST_TIMEOUT = 40000 * multiplier
|
||||
|
||||
Reference in New Issue
Block a user