From ea51878a962dd835e467e3e1b4d2655b43642d96 Mon Sep 17 00:00:00 2001 From: Benjamin Cavy Date: Sun, 15 Sep 2024 20:03:21 +0200 Subject: [PATCH] chore: remove commented test code --- izanami-frontend/tests/features.spec.ts | 3 --- izanami-frontend/tests/webhooks.spec.ts | 5 ----- 2 files changed, 8 deletions(-) diff --git a/izanami-frontend/tests/features.spec.ts b/izanami-frontend/tests/features.spec.ts index 0c20e76c0..216f36d81 100644 --- a/izanami-frontend/tests/features.spec.ts +++ b/izanami-frontend/tests/features.spec.ts @@ -13,9 +13,6 @@ test.use({ async function featureAction(page: Page, name: string) { await page.getByLabel("actions").click(); - /*if ((await page.getByRole("link", { name: name }).count()) === 0) { - await page.getByLabel("actions").click(); - }*/ await page.getByRole("link", { name: name }).click({ force: true }); } diff --git a/izanami-frontend/tests/webhooks.spec.ts b/izanami-frontend/tests/webhooks.spec.ts index 1b853b004..f044bdf6f 100644 --- a/izanami-frontend/tests/webhooks.spec.ts +++ b/izanami-frontend/tests/webhooks.spec.ts @@ -14,11 +14,6 @@ test.use({ async function webhookAction(page: Page, name: string) { await page.getByLabel("actions").click(); - /*if ( - (await page.getByRole("link", { name: name, exact: true }).count()) === 0 - ) { - await page.getByLabel("actions").click(); - }*/ await page .getByRole("link", { name: name, exact: true }) .click({ force: true });