We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 10313b6 + a035fa7 commit 6aba3a5Copy full SHA for 6aba3a5
1 file changed
tests/ui-tools-collapse.spec.ts
@@ -50,6 +50,6 @@ test.describe("Tools mockups collapse the primary region when filtering", () =>
50
await page.getByRole("searchbox").first().fill("medication");
51
await expect(page.getByRole("heading", { name: "Launcher overview" })).toHaveCount(0);
52
await expect(page.getByRole("heading", { name: "Results" })).toBeVisible();
53
- await expect(page.getByLabel("Open Medication Prescribing")).toBeVisible();
+ await expect(page.getByRole("button", { name: /Medication Prescribing/ })).toBeVisible();
54
});
55
0 commit comments