test: add in-between assertions and more fixtures (#1224)

This commit is contained in:
Ali BARIN
2023-08-18 18:34:52 +02:00
committed by GitHub
parent dbe18dd100
commit cb06d3b0ae
10 changed files with 121 additions and 66 deletions

View File

@@ -20,6 +20,8 @@ module.exports = defineConfig({
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Timeout threshold for each test */
timeout: 120000,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: process.env.CI ? 'github' : 'html',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
@@ -35,6 +37,11 @@ module.exports = defineConfig({
viewport: { width: 1280, height: 720 },
},
expect: {
/* Timeout threshold for each assertion */
timeout: 30000,
},
/* Configure projects for major browsers */
projects: [
{