Skip to content

Commit d16b5a2

Browse files
Add smoke project to run only smoke tests in CI
1 parent 1a8725f commit d16b5a2

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

playwright.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,17 @@ export default defineConfig({
8282
testMatch: /.*\.setup\.ts/,
8383
},
8484

85+
// Smoke Tests - critical path only (used in CI)
86+
{
87+
name: 'smoke',
88+
testMatch: /.*smoke\.spec\.ts/,
89+
use: {
90+
...devices['Desktop Chrome'],
91+
viewport: VIEWPORTS.laptop,
92+
},
93+
dependencies: ['setup'],
94+
},
95+
8596
// E2E Browser Tests
8697
{
8798
name: 'chromium',

0 commit comments

Comments
 (0)