Skip to content

Commit

Permalink
chore: remove commented test code
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitFicus committed Sep 15, 2024
1 parent e0be246 commit ea51878
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions izanami-frontend/tests/features.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}

Expand Down
5 changes: 0 additions & 5 deletions izanami-frontend/tests/webhooks.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit ea51878

Please sign in to comment.