mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 07:33:17 +00:00
test: increase playwright timeouts again
This commit is contained in:
parent
50a5b4d8bf
commit
0ccda0d3ea
@ -45,7 +45,7 @@ const createConfig = ({ port, testDir, appDir }) => ({
|
||||
* Maximum time expect() should wait for the condition to be met.
|
||||
* For example in `await expect(locator).toHaveText();`
|
||||
*/
|
||||
timeout: getEnvNum(process.env.PLAYWRIGHT_EXPECT_TIMEOUT, 10 * 1000),
|
||||
timeout: getEnvNum(process.env.PLAYWRIGHT_EXPECT_TIMEOUT, 20 * 1000),
|
||||
},
|
||||
/* Run tests in files in parallel */
|
||||
fullyParallel: false,
|
||||
@ -63,7 +63,7 @@ const createConfig = ({ port, testDir, appDir }) => ({
|
||||
baseURL: `http://127.0.0.1:${port}`,
|
||||
|
||||
/* Default time each action such as `click()` can take to 20s */
|
||||
actionTimeout: getEnvNum(process.env.PLAYWRIGHT_ACTION_TIMEOUT, 15 * 1000),
|
||||
actionTimeout: getEnvNum(process.env.PLAYWRIGHT_ACTION_TIMEOUT, 20 * 1000),
|
||||
|
||||
/* Collect trace when a test failed on the CI. See https://playwright.dev/docs/trace-viewer
|
||||
Until https://github.com/strapi/strapi/issues/18196 is fixed we can't enable this locally,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user