A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
test: keep the localized bulk-selection check on a row (RX-208)
Amruth Pillaid700be063efa
diff --git a/tests/e2e/specs/bulk-selection.spec.ts b/tests/e2e/specs/bulk-selection.spec.tsindex 7d7d5a594..92b5c78c8 100644--- a/tests/e2e/specs/bulk-selection.spec.ts+++ b/tests/e2e/specs/bulk-selection.spec.ts@@ -75,7 +75,9 @@ test("a selection over the API limit explains the limit and recovers at 200", as}await page.goto("/dashboard/applications?locale=fr-FR");await expect(page.locator("html")).toHaveAttribute("lang", "fr-FR");- await page.getByRole("checkbox").first().check();+ // The table header's select-all is the first checkbox on the page; pick a row instead so the bulk bar still offers+ // its own Select all, which is what this localization check exercises.+ await page.getByRole("table").locator("tbody").getByRole("checkbox").first().check();const translatedBar = page.getByRole("toolbar");await expect(translatedBar.getByRole("button", { name: "Déplacer vers la corbeille", exact: true })).toBeVisible();await translatedBar.getByRole("button", { name: "Tout sélectionner", exact: true }).click();