Skip to content

Commit

Permalink
fix option locator
Browse files Browse the repository at this point in the history
  • Loading branch information
pa-lem committed Jul 15, 2024
1 parent 61d9845 commit dfbd5ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/app/tests/e2e/objects/object-update.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ test.describe("Object update", () => {
await page.getByTestId("edit-button").click();

await page.getByTestId("side-panel-container").getByLabel("Status").click();
await page.getByText("Empty").click();
await page.getByRole("option", { name: "Empty", exact: true }).click();

await page.getByTestId("side-panel-container").getByLabel("Role").click();
await page.getByText("Empty").click();
await page.getByRole("option", { name: "Empty", exact: true }).click();

await page.getByTestId("side-panel-container").getByLabel("Asn").click();
await page.getByText("Empty").click();
await page.getByRole("option", { name: "Empty", exact: true }).click();

await page.getByRole("button", { name: "Save" }).click();
});
Expand Down

0 comments on commit dfbd5ad

Please sign in to comment.