0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 16:00:19 -05:00

Add more timeout for playwright expects on CI

This commit is contained in:
Belén Albeza 2024-05-22 16:45:12 +02:00 committed by Andrey Antukh
parent 1d3d3f9b74
commit f74330dffe

View file

@ -19,6 +19,10 @@ export default defineConfig({
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests by default; can be overriden with --workers */
workers: 1,
/* Timeout for expects (longer in CI) */
expect: {
timeout: process.env.CI ? 20000 : 5000,
},
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: "html",
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */