-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(directory): add the select all buttons (#4556)
fix(directory): add the select all buttons
- Loading branch information
1 parent
0c483ef
commit 7f0dd00
Showing
4 changed files
with
96 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { test, expect } from "@playwright/test"; | ||
import { getAppRoute } from "./getAppRoute"; | ||
|
||
test("select all collections and services", async ({ page }) => { | ||
await page.goto(getAppRoute()); | ||
await page.getByRole("checkbox").check(); | ||
await page.getByRole("button", { name: "Select all collections" }).click(); | ||
await expect(page.getByRole("main")).toContainText("2"); | ||
await page.getByRole("button", { name: "Select all services" }).click(); | ||
await expect(page.getByRole("main")).toContainText("6"); | ||
}); |