Skip to content

Commit

Permalink
fix playwright install on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Mar 10, 2025
1 parent 6203adb commit f79a70c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
working-directory: e2e/client
# playwright start
- name: Install Playwright Browsers
run: npx playwright install --with-deps
run: npx playwright install
working-directory: e2e/client
- name: Run Playwright tests
run: npx playwright test
run: npm run playwright
working-directory: e2e/client
- uses: actions/upload-artifact@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions e2e/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
"superdesk-core": "file:../../"
},
"devDependencies": {
"@playwright/test": "^1.39.0",
"@playwright/test": "~1.39.0",
"@superdesk/build-tools": "file:../../build-tools",
"@superdesk/end-to-end-testing-helpers": "1.0.11",
"@types/node": "^20.8.9",
"@types/node": "~20.8.9",
"btoa": "1.2.1",
"grunt": "1.3.0",
"http-server": "14.1.1",
"jasmine-reporters": "2.5.2",
"protractor": "7.0.0",
"protractor-flake": "4.0.0",
"typescript": "4.9.3",
"webdriver-manager": "^12.1.9"
"webdriver-manager": "~12.1.9"
},
"scripts": {
"build": "npx @superdesk/build-tools build-root-repo ./",
Expand Down

0 comments on commit f79a70c

Please sign in to comment.