Skip to content

Commit cb85695

Browse files
renemadsenclaude
andcommitted
fix: use test.skip() inside beforeEach instead of describe.serial.skip
Playwright doesn't have test.describe.serial.skip — use beforeEach with test.skip(true, reason) to skip all tests in the describe block. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bb57261 commit cb85695

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

eform-client/playwright/e2e/plugins/items-planning-pn/c/items-planning.multiple-delete.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ let folderName = generateRandmString();
1111
const countPlannings = 5;
1212

1313
// TODO: skipped — mat-checkbox interaction not working in Playwright CI; not tested in WDIO/Cypress either
14-
test.describe.serial.skip('Items planning plannings - Multiple delete', () => {
14+
test.describe.serial('Items planning plannings - Multiple delete', () => {
1515
test.describe.configure({ timeout: 240000 });
16+
test.beforeEach(() => { test.skip(true, 'mat-checkbox not working in CI'); });
1617
test.beforeAll(async ({ browser }) => {
1718
page = await browser.newPage();
1819
const loginPage = new LoginPage(page);

eform-client/playwright/e2e/plugins/items-planning-pn/c/items-planning.pairing.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ const countDeviceUsers = 2;
2121
const countPlanning = 2;
2222

2323
// TODO: skipped — pairing checkbox interaction not working in Playwright CI; commented out in WDIO config too
24-
test.describe.serial.skip('Items planning plugin - Pairing', () => {
24+
test.describe.serial('Items planning plugin - Pairing', () => {
2525
test.describe.configure({ timeout: 600000 });
26+
test.beforeEach(() => { test.skip(true, 'pairing checkbox not working in CI'); });
2627
test.beforeAll(async ({ browser }, testInfo) => {
2728
testInfo.setTimeout(600000);
2829
page = await browser.newPage();

0 commit comments

Comments
 (0)