diff --git a/src/data/types.js b/src/data/types.js index 69182ce..fa485b7 100644 --- a/src/data/types.js +++ b/src/data/types.js @@ -41,7 +41,7 @@ * @property {string} commands[].keypresses[].keystroke single human-readable key or key chord press * @property {string} [commands[].extraInstruction] human-readable additional instruction to follow * @property {string} [commands[].settings] this property only exists on v2 tests - * @property {string} [commands[].additionalSettings] this property only exists on v2 tests + * @property {string[]} [commands[].additionalSettings] this property only exists on v2 tests * @property {object[]} assertions[] * @property {1 | 2} assertions[].priority * @property {string} [assertions[].expectation] assertion statement string, this property only exists on v1 tests diff --git a/src/runner/driver-test-runner.js b/src/runner/driver-test-runner.js index 91f06b0..86f9f44 100644 --- a/src/runner/driver-test-runner.js +++ b/src/runner/driver-test-runner.js @@ -92,7 +92,7 @@ export class DriverTestRunner { * * @param {string} settings - "browseMode" "focusMode" for NVDA, "pcCursor" "virtualCursor" * for JAWS., "defaultMode" for others. - * @param {string} additionalSettings - e.g. "speechRateIncrease" and "commentAnnouncementOn" for JAWS + * @param {string[]} additionalSettings - e.g. "speechRateIncrease" and "commentAnnouncementOn" for JAWS */ async ensureSettings(settings, additionalSettings) { const { atName } = await this.collectedCapabilities;