Skip to content

Commit

Permalink
ci: fixing e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
raaymax committed Apr 2, 2024
1 parent 1c4adb7 commit 74fcdab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: npm run build

- name: Install E2E browsers
run: npx playwright install ${{ matrix.browser }} --with-deps
run: npm run e2e:setup ${{ matrix.browser }}

- name: Run E2E tests
run: poetry run alfred ci --e2e=${{ matrix.browser }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"docs:test": "npm run -w streamsync-docs test",

"e2e": "npm run -w streamsync-e2e e2e",
"e2e:setup": "npm run -w streamsync-e2e e2e:setup",
"e2e:ui": "npm run -w streamsync-e2e e2e:ui",
"e2e:ci": "npm run -w streamsync-e2e e2e:ci",
"e2e:firefox": "npm run -w streamsync-e2e e2e:firefox",
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"start": "node index.js",
"e2e:setup": "playwright install --with-deps",
"e2e": "playwright test --project=chromium --reporter=list",
"e2e:ci": "playwright test",
"e2e:chromium": "playwright test --project=chromium",
Expand Down

0 comments on commit 74fcdab

Please sign in to comment.