Skip to content

Commit 3ffb92c

Browse files
committed
test: see if failing actually fails
1 parent e0450a4 commit 3ffb92c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: |
2323
npm ci
2424
composer install --no-dev --prefer-dist --no-progress --no-suggest
25-
npx playwright install --with-deps
25+
npx playwright install
2626
- name: Make build
2727
run: |
2828
npm run build

tests/e2e/amp.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ test.describe('Check amp page', () => {
88
test('AMP body has Optimole no script class', async ({ page }) => {
99
const html = page.locator('html');
1010
await expect(html).not.toHaveClass(/optml_no_js/);
11+
await expect(html).toHaveClass(/optml_no_js/);
1112
});
1213

1314
test('AMP images should have replaced srcs', async ({ page }) => {

0 commit comments

Comments
 (0)