We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fc517e commit e0428cfCopy full SHA for e0428cf
2 files changed
.github/workflows/main.yml
@@ -40,6 +40,8 @@ jobs:
40
41
- name: Run tests
42
run: npm run test
43
+ env:
44
+ PLAYWRIGHT_ARGS: --update-snapshots
45
46
- name: Upload coverage to Codecov
47
uses: codecov/codecov-action@v5
@@ -61,7 +63,7 @@ jobs:
61
63
uses: actions/upload-artifact@v4
62
64
with:
65
name: generated-snapshots
- path: test/integration.spec.js-snapshots/
66
+ path: test/integration.spec.ts-snapshots/
67
retention-days: 7
68
69
deploy:
gulpfile.js
@@ -41,8 +41,9 @@
}
function integration() {
+ const args = process.env.PLAYWRIGHT_ARGS || '';
return gulp.src('.', {read: false})
- .pipe(shell(['npx playwright test']));
+ .pipe(shell([`npx playwright test ${args}`]));
48
49
function bump(level) {
0 commit comments