Test flakiness
This commit is contained in:
parent
6181e0d13d
commit
8dfde74672
2 changed files with 2 additions and 2 deletions
|
|
@ -132,6 +132,6 @@ export class BasePage {
|
||||||
await expect(async () => {
|
await expect(async () => {
|
||||||
const currentUrl = this.page.url();
|
const currentUrl = this.page.url();
|
||||||
expect(currentUrl).not.toEqual(startingUrl);
|
expect(currentUrl).not.toEqual(startingUrl);
|
||||||
}).toPass({ timeout: 70_000 });
|
}).toPass({ timeout: 90_000 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -70,7 +70,7 @@ export default defineConfig({
|
||||||
/* Retry on CI only */
|
/* Retry on CI only */
|
||||||
retries: process.env.CI ? 2 : 0,
|
retries: process.env.CI ? 2 : 0,
|
||||||
/* Opt out of parallel tests on CI. */
|
/* Opt out of parallel tests on CI. */
|
||||||
workers: process.env.CI ? 4 : 5,
|
workers: process.env.CI ? 2 : 5,
|
||||||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
||||||
reporter: process.env.CI? [
|
reporter: process.env.CI? [
|
||||||
['junit'],
|
['junit'],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue