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 });