From 90643edb627a3c0248b76d1379ec931fc6557613 Mon Sep 17 00:00:00 2001 From: jugglinmike Date: Mon, 20 May 2024 17:42:15 -0400 Subject: [PATCH] Correct spelling of "VoiceOver" (#52) --- src/agent/driver-test-runner.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/agent/driver-test-runner.js b/src/agent/driver-test-runner.js index bc478a9..e6f4af3 100644 --- a/src/agent/driver-test-runner.js +++ b/src/agent/driver-test-runner.js @@ -121,7 +121,7 @@ export class DriverTestRunner { }, }); } - } else if (atName == 'Voiceover') { + } else if (atName == 'VoiceOver') { if (settings !== 'defaultMode') { throw new Error(`Unrecognized setting for VoiceOver: ${settings}`); } @@ -141,6 +141,8 @@ export class DriverTestRunner { if (atName === 'NVDA') { await this.ensureSettings(mode.toLowerCase() === 'reading' ? 'browseMode' : 'focusMode'); return; + } else if (atName === 'VoiceOver') { + return; } else if (!atName) { return; }