Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions tests/guidepup/voiceover.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ if (process.platform === "darwin") {
await page.waitForTimeout(4000);

// Assert that the spoken phrases are as expected
const lastSpokenPhrase = await voiceOver.lastSpokenPhrase();
expect(lastSpokenPhrase.startsWith("a")).toBe(true);
// expect(lastSpokenPhrase.includes("Suggestion: acceptable")).toBe(true); // FIXME: Commenting because this fails, though it _should_ pass.
const spokenPhraseLog = JSON.stringify(await voiceOver.spokenPhraseLog());
expect(spokenPhraseLog.includes("a")).toBe(true);
// expect(spokenPhraseLog.includes("Suggestion: acceptable")).toBe(true); // FIXME: Commenting because this fails, though it _should_ pass.
expect(
lastSpokenPhrase.includes("Press right arrow to commit suggestion")
spokenPhraseLog.includes("Press right arrow to commit suggestion")
).toBe(true);
});
} else {
Expand Down