Skip to content

Commit

Permalink
update script and gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dualcnhq committed Jan 14, 2025
1 parent 7c599ec commit e2204ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}

- name: Connect to browserstack
run: npm run test:browserstack-node-sdk
run: ./run-tests.sh
8 changes: 7 additions & 1 deletion run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
TIMEFORMAT='It took %0R seconds.'
time {
npm run test
npx browserstack-node-sdk playwright test ./tests/av
npx browserstack-node-sdk playwright test ./tests/books
npx browserstack-node-sdk playwright test ./tests/collection
npx browserstack-node-sdk playwright test ./tests/donation
npx browserstack-node-sdk playwright test ./tests/home
npx browserstack-node-sdk playwright test ./tests/login
npx browserstack-node-sdk playwright test ./tests/profile
}

0 comments on commit e2204ee

Please sign in to comment.