Skip to content

Commit b7fa73b

Browse files
committed
test(e2e-utils): skip flaky admin UI tests in CI
1 parent d6c7a1d commit b7fa73b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

apps/cms-e2e/playwright.config.cts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ const baseURL = process.env['BASE_URL'] || 'http://localhost:3000';
1818

1919
export default defineConfig({
2020
...nxE2EPreset(__dirname, { testDir: './src' }),
21+
// Admin tests drive the Payload UI and are prone to timing flakiness.
22+
// Permission and API tests are deterministic and always run in CI.
23+
testIgnore: process.env['CI'] ? ['**/admin/**'] : [],
2124
globalSetup: require.resolve('./global-setup.cts'),
2225
globalTeardown: require.resolve('./global-teardown.cts'),
2326
// Ensure tests run serially to avoid

0 commit comments

Comments
 (0)