Skip to content

Commit

Permalink
test: guidepup
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget committed Jul 22, 2024
1 parent 75494a2 commit b35da32
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion showcases/screen-reader/tests/button.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ test.describe('DBButton', () => {
url: './#/02/button?page=content',
async testFn(voiceOver, nvda) {
if (voiceOver) {
await voiceOver?.interact();
await voiceOver?.stopInteracting();
}

Expand Down
2 changes: 1 addition & 1 deletion showcases/screen-reader/tests/input.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test.describe('DBInput', () => {
url: './#/03/input?page=variant%20helper%20message',
async testFn(voiceOver, nvda) {
if (voiceOver) {
await voiceOver?.press('Tab');
await voiceOver?.stopInteracting();
}

const screenReader = voiceOver ?? nvda;
Expand Down
4 changes: 0 additions & 4 deletions showcases/screen-reader/tests/radio.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ test.describe('DBRadio', () => {
await nvda?.press('Right');
await nvda?.press('Right');
} else if (voiceOver) {
// We first go outside the web content
await voiceOver?.interact();
await voiceOver?.stopInteracting();
// Move to first radio (in the middle)
await voiceOver?.press('Down');
await voiceOver?.clearSpokenPhraseLog();
await voiceOver?.press('Left');
Expand Down

0 comments on commit b35da32

Please sign in to comment.