diff --git a/.github/workflows/skipped_tests.yml b/.github/workflows/skipped_tests.yml index a8292e9abe..0e8f272f5d 100644 --- a/.github/workflows/skipped_tests.yml +++ b/.github/workflows/skipped_tests.yml @@ -18,6 +18,9 @@ jobs: outputs: backend: ${{ steps.filter.outputs.backend }} frontend: ${{ steps.filter.outputs.frontend }} + api: ${{ steps.filter.outputs.api }} + e2e: ${{ steps.filter.outputs.e2e }} + cli: ${{ steps.filter.outputs.cli }} steps: - uses: actions/checkout@v4 with: diff --git a/playwright.base.config.js b/playwright.base.config.js index 03eacc0a16..1251e7b7ef 100644 --- a/playwright.base.config.js +++ b/playwright.base.config.js @@ -37,15 +37,15 @@ const getEnvBool = (envVar, defaultValue) => { const createConfig = ({ port, testDir, appDir }) => ({ testDir, - /* default timeout for a jest test to 30s */ - timeout: getEnvNum(process.env.PLAYWRIGHT_TIMEOUT, 30 * 1000), + /* default timeout for a jest test */ + timeout: getEnvNum(process.env.PLAYWRIGHT_TIMEOUT, 90 * 1000), expect: { /** * 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, 20 * 1000), + timeout: getEnvNum(process.env.PLAYWRIGHT_EXPECT_TIMEOUT, 10 * 1000), }, /* Run tests in files in parallel */ fullyParallel: false, @@ -65,8 +65,8 @@ const createConfig = ({ port, testDir, appDir }) => ({ /** Set timezone for consistency across any machine*/ timezoneId: 'Europe/Paris', - /* Default time each action such as `click()` can take to 20s */ - actionTimeout: getEnvNum(process.env.PLAYWRIGHT_ACTION_TIMEOUT, 20 * 1000), + /* Default time each action such as `click()` can take */ + actionTimeout: getEnvNum(process.env.PLAYWRIGHT_ACTION_TIMEOUT, 10 * 1000), // Only record trace when retrying a test to optimize test performance trace: 'on-first-retry', video: getEnvBool(process.env.PLAYWRIGHT_VIDEO, false)