Skip to content

Commit 829eac2

Browse files
committed
5317: click <li instead of check checkbox
1 parent dd62356 commit 829eac2

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

assets/tests/admin/admin-campaign.spec.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@ test.describe("Campaign pages work", () => {
4747
.locator(".search")
4848
.locator('[type="text"]')
4949
.fill("d");
50-
await page
51-
.locator("#slides-section")
52-
.locator('[type="checkbox"]')
53-
.nth(1)
54-
.check();
50+
await page.locator(".dropdown-content").locator("li").nth(1).click();
5551
await page
5652
.locator("#slides-section")
5753
.locator(".dropdown-container")

0 commit comments

Comments
 (0)