Skip to content

Commit

Permalink
fixup! replace harness instruction page rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
mzgoddard committed Jul 26, 2021
1 parent de67f86 commit d2c6bd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion tests/resources/aria-at-harness.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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),

Expand Down
2 changes: 1 addition & 1 deletion tests/resources/aria-at-test-run.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2c6bd6

Please sign in to comment.