Skip to content

Commit 69a827f

Browse files
committed
feat: bump @guidepup/guidepup version
1 parent 1f9eafe commit 69a827f

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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
});

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",
@@ -31,7 +31,7 @@
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",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -456,10 +456,10 @@
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"

0 commit comments

Comments
 (0)