Skip to content

Commit

Permalink
create dedicated end2end conf to ignore local tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nworr committed Dec 11, 2023
1 parent 33df158 commit c4ef100
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:

- name: Run Playwright tests
id: test-playwright
run: cd end2end && npx playwright test --project=chromium
run: cd end2end && npx playwright test --project=end2end

- name: Notify in case of playwright failure, from mainstream branches only
uses: peter-evans/commit-comment@v3
Expand Down
8 changes: 8 additions & 0 deletions tests/end2end/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ export default defineConfig({
dependencies: ['setup'],
},

{
name: 'end2end',
use: {
browserName: 'chromium',
},
dependencies: ['setup'],
testIgnore: '**/localonly/**',
},
/* Test against mobile viewports. */
// {
// name: 'Mobile Chrome',
Expand Down

0 comments on commit c4ef100

Please sign in to comment.