Skip to content

Commit 86f83af

Browse files
authored
fix: use item chooser and not web item rotor for finding web content (#38)
1 parent 8255976 commit 86f83af

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/voiceOverTest.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ export const voiceOverTest = test.extend<{
103103
await page.bringToFront();
104104
await page.locator("body").waitFor();
105105

106-
// Open the web item rotor defaulting to window spots.
106+
// Open the web item chooser.
107107
await voiceOverPlaywright.perform(
108-
voiceOverPlaywright.keyboardCommands.openWebItemRotor,
108+
voiceOverPlaywright.keyboardCommands.openItemChooser,
109109
);
110110

111-
// Filter by "content" - currently web content spots for all browsers
112-
// are prefixed by "Content -".
113-
await voiceOverPlaywright.type("content");
111+
// Filter by "web content" - currently web content items for all browsers
112+
// are suffixed by "web content".
113+
await voiceOverPlaywright.type("web content");
114114

115115
// Select the web content window spot.
116116
await voiceOverPlaywright.perform({ keyCode: MacOSKeyCodes.Enter });

0 commit comments

Comments
 (0)