Skip to content

Commit

Permalink
Fix a11y-test
Browse files Browse the repository at this point in the history
RISDEV-0000
  • Loading branch information
anne-ds committed Dec 17, 2024
1 parent d02b2ed commit dbc75f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/test/a11y/caselaw/categories.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ test.describe("a11y of categories page (/caselaw/documentunit/{documentNumber}/c
test("vorgang", async ({ page, documentNumber }) => {
await navigateToCategories(page, documentNumber)

await page.locator("[aria-label='Vorgang']").fill("test Vorgang")
await page.getByLabel("Vorgang", { exact: true }).fill("test Vorgang")
await page.getByLabel("Vorgang", { exact: true }).press("ArrowDown")
await page.getByLabel("dropdown-option").press("Enter")
await page.getByText("test Vorgang").press("Enter")

await save(page)

await page.locator("[aria-label='Vorgang']").click()
await page.getByLabel("Vorgang", { exact: true }).click()
await expect(
page.locator("[aria-label='additional-dropdown-info']"),
).toBeVisible()
Expand Down

0 comments on commit dbc75f1

Please sign in to comment.