File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed
Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -36,18 +36,18 @@ test.describe("Playwright VoiceOver", () => {
3636 });
3737
3838 // Interact with the page 🙌
39- await vo .cursor . interact ();
39+ await vo .interact ();
4040
4141 // Move across the navigation menu to the search bar using VoiceOver 🔎
42- while (! (await vo .caption . lastSpokenPhrase ())?.startsWith (" Search" )) {
43- await vo .cursor . next ();
42+ while (! (await vo .lastSpokenPhrase ())?.startsWith (" Search" )) {
43+ await vo .next ();
4444 }
4545
4646 // Search for Safari 👀
47- await vo .keyboard . type (" Safari" );
48- await vo .keyboard . press (" ArrowDown" );
49- await vo .keyboard . press (" ArrowUp" );
50- await Promise .all ([page .waitForNavigation (), vo .cursor . act ()]);
47+ await vo .type (" Safari" );
48+ await vo .press (" ArrowDown" );
49+ await vo .press (" ArrowUp" );
50+ await Promise .all ([page .waitForNavigation (), vo .act ()]);
5151 expect (page .url ()).toBe (" https://playwright.dev/docs/browsers#webkit" );
5252 });
5353});
Original file line number Diff line number Diff line change 11{
22 "name" : " @guidepup/playwright" ,
3- "version" : " 0.4 .0" ,
3+ "version" : " 0.5 .0" ,
44 "description" : " Screen-reader driver for Playwright." ,
55 "main" : " lib/index.js" ,
66 "typings" : " lib/index.d.ts" ,
3131 "prepublish" : " yarn build"
3232 },
3333 "dependencies" : {
34- "@guidepup/guidepup" : " ^0.11 .0"
34+ "@guidepup/guidepup" : " ^0.12 .0"
3535 },
3636 "devDependencies" : {
3737 "@playwright/test" : " ^1.17.1" ,
Original file line number Diff line number Diff line change 456456 minimatch "^3.0.4"
457457 strip-json-comments "^3.1.1"
458458
459- " @guidepup/guidepup@^0.11 .0 " :
460- version "0.11 .0"
461- resolved "https://registry.yarnpkg.com/@guidepup/guidepup/-/guidepup-0.11 .0.tgz#343bc8283a0623f35530d04738bcb9740624ac63 "
462- integrity sha512-V2/vdM5h/YfcsFNT4qssbcGJM8H51S8tz1t71EDFMNapbOi57zXDlStmGWCHK1m9jMTZSHrgl2fLsMQxEIj2aQ ==
459+ " @guidepup/guidepup@^0.12 .0 " :
460+ version "0.12 .0"
461+ resolved "https://registry.yarnpkg.com/@guidepup/guidepup/-/guidepup-0.12 .0.tgz#59602aab356464868e7eb9e4284c0ef3796de6b9 "
462+ integrity sha512-bVMnLDaJoKdt+zy+g1+SOZx3Cw5DE8F1DAll+Kt9JQ2HnPgnSovmscmj1ofgeSxFXOoxjb0a90fzGhLyOeLOJQ ==
463463
464464" @humanwhocodes/config-array@^0.9.2 " :
465465 version "0.9.2"
You can’t perform that action at this time.
0 commit comments