Skip to content

Commit 67f6df6

Browse files
authored
update locator for changed menu item (#376)
1 parent e09fb5d commit 67f6df6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/fixtures.browser.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ export const test = base.extend<{
150150
await environmentSelectorMenuButton.waitFor(defaultWaitForOptions);
151151
await environmentSelectorMenuButton.click();
152152

153-
const environmentSelectorMenu = await testPage.getByTestId(
154-
"environment-selector-dialog-item-self-hosted",
155-
);
153+
const environmentSelectorMenu = await testPage.getByRole("menuitem", {
154+
name: "self-hosted",
155+
});
156156

157157
await environmentSelectorMenu.waitFor(defaultWaitForOptions);
158158
await environmentSelectorMenu.click();

0 commit comments

Comments
 (0)