Skip to content

Commit e533b23

Browse files
committed
don't fail on missing tests during an update
1 parent 8200587 commit e533b23

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

injected/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test-int": "playwright test --grep-invert '@screenshots'",
1515
"test-int-x": "xvfb-run --server-args='-screen 0 1024x768x24' npm run test-int",
1616
"test-int-snapshots": "playwright test --grep '@screenshots'",
17-
"test-int-snapshots-update": "playwright test --grep '@screenshots' --update-snapshots --last-failed",
17+
"test-int-snapshots-update": "playwright test --grep '@screenshots' --update-snapshots --last-failed --pass-with-no-tests",
1818
"test": "npm run lint && npm run test-unit && npm run test-int && npm run playwright",
1919
"serve": "http-server -c-1 --port 3220 integration-test/test-pages",
2020
"playwright": "playwright test --grep-invert '@screenshots'",

special-pages/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test-int": "playwright test --grep-invert '@screenshots'",
1515
"test-int-x": "npm run test-int",
1616
"test-int-snapshots": "playwright test --grep '@screenshots'",
17-
"test-int-snapshots-update": "playwright test --grep '@screenshots' --update-snapshots --last-failed",
17+
"test-int-snapshots-update": "playwright test --grep '@screenshots' --update-snapshots --last-failed --pass-with-no-tests",
1818
"test.screenshots": "playwright test --grep '@screenshots'",
1919
"test.windows": "npm run test-int -- --project windows",
2020
"test.macos": "npm run test-int -- --project macos",

special-pages/pages/duckplayer/integration-tests/duckplayer-screenshots.spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
/* global process */
21
import { expect, test } from '@playwright/test';
32
import { DuckPlayerPage } from './duck-player.js';
43

54
test.describe('screenshots @screenshots', () => {
6-
test.skip(process.env.CI === 'true');
75
test('regular layout', async ({ page }, workerInfo) => {
86
const duckplayer = DuckPlayerPage.create(page, workerInfo);
97
// load as normal

special-pages/pages/special-error/integration-tests/special-error-screenshots.spec.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
/* global process */
21
import { expect, test } from '@playwright/test';
32
import { SpecialErrorPage } from './special-error';
43

54
const maxDiffPixels = 20;
65

76
test.describe('screenshots @screenshots', () => {
8-
test.skip(process.env.CI === 'true');
9-
107
test('SSL expired cert error', async ({ page }, workerInfo) => {
118
const special = SpecialErrorPage.create(page, workerInfo);
129
await special.openPage({ errorId: 'ssl.expired' });

0 commit comments

Comments
 (0)