From d2c6bd6afc7e0d34d6bf50c1ee8c907a3ba28d8f Mon Sep 17 00:00:00 2001 From: "Michael \"Z\" Goddard" Date: Fri, 11 Jun 2021 18:59:14 -0400 Subject: [PATCH] fixup! replace harness instruction page rendering --- tests/resources/aria-at-harness.mjs | 6 +++++- tests/resources/aria-at-test-run.mjs | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/resources/aria-at-harness.mjs b/tests/resources/aria-at-harness.mjs index 2bb3cb44a..8e8d7f660 100644 --- a/tests/resources/aria-at-harness.mjs +++ b/tests/resources/aria-at-harness.mjs @@ -573,7 +573,11 @@ function renderVirtualInstructionDocument(doc) { instructAssertions(doc.instructions.assertions), - button(onclick(doc.instructions.openTestPage.click), rich(doc.instructions.openTestPage.button)), + button( + disabled(!doc.instructions.openTestPage.enabled), + onclick(doc.instructions.openTestPage.click), + rich(doc.instructions.openTestPage.button) + ), resultHeader(doc.results.header), diff --git a/tests/resources/aria-at-test-run.mjs b/tests/resources/aria-at-test-run.mjs index 44624864d..b58435988 100644 --- a/tests/resources/aria-at-test-run.mjs +++ b/tests/resources/aria-at-test-run.mjs @@ -1190,7 +1190,7 @@ export function userValidateState() { * @typedef TestRunState * This state contains all the serializable values that are needed to render any * of the documents (InstructionDocument, ResultsTableDocument, and - * TestPageDocuement) from this module. + * TestPageDocument) from this module. * * @property {string[] | null} errors * @property {object} info