8000 Merge remote-tracking branch 'origin/09-09-adding_playwright_tests' · BrowserSync/browser-sync@f267cb6 · GitHub
[go: up one dir, main page]

Skip to content

Commit f267cb6

Browse files
author
Shane Osbourne
committed
Merge remote-tracking branch 'origin/09-09-adding_playwright_tests'
2 parents d787281 + 97f08e7 commit f267cb6

38 files changed

+976
-4874
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,13 @@ jobs:
3737
run: npm ci
3838
- name: Test
3939
run: npm test
40-
- name: Test E2E
40+
- name: Install Playwright Browsers
41+
run: npx playwright install --with-deps
42+
- name: Run Playwright tests
4143
run: npm run test:e2e
44+
- uses: actions/upload-artifact@v3
45+
if: always()
46+
with:
47+
name: playwright-report
48+
path: playwright-report/
49+
retention-days: 30

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ client/dist/index.js
2525
client/dist/index.js.map
2626
client/dist/index.min.js
2727
client/dist/index.min.js.map
28+
node_modules/
29+
/test-results/
30+
/playwright-report/
31+
/playwright/.cache/

crossbow.yaml