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 27, 2021
1 parent d2c6bd6 commit 1f54b16
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
24 changes: 23 additions & 1 deletion tests/resources/aria-at-harness.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@ function renderVirtualResultsTable(results) {
}

/**
* Passing assertion values submitted from the tester result form.
*
* In the submitted json object the values contain spaces and are title cased.
*
* @typedef SubmitResultDetailsCommandsAssertionsPass
* @property {string} assertion
* @property {string} priority
Expand All @@ -802,6 +806,11 @@ const AssertionPassJSONMap = createEnumMap({
});

/**
* Failing assertion values from the tester result form as are submitted in the
* JSON result object.
*
* In the submitted json object the values contain spaces and are title cased.
*
* @typedef SubmitResultDetailsCommandsAssertionsFail
* @property {string} assertion
* @property {string} priority
Expand All @@ -816,7 +825,16 @@ const AssertionFailJSONMap = createEnumMap({

/** @typedef {SubmitResultDetailsCommandsAssertionsPass | SubmitResultDetailsCommandsAssertionsFail} SubmitResultAssertionsJSON */

/** @typedef {EnumValues<typeof CommandSupportJSONMap>} CommandSupportJSON */
/**
* Command result derived from priority 1 and 2 assertions.
*
* Support is "FAILING" is priority 1 assertions fail. Support is "ALL REQUIRED"
* if priority 2 assertions fail.
*
* In the submitted json object values may contain spaces and are in ALL CAPS.
*
* @typedef {EnumValues<typeof CommandSupportJSONMap>} CommandSupportJSON
*/

const CommandSupportJSONMap = createEnumMap({
FULL: "FULL",
Expand All @@ -825,6 +843,10 @@ const CommandSupportJSONMap = createEnumMap({
});

/**
* Highest level status submitted from test result.
*
* In the submitted json object values are in ALL CAPS.
*
* @typedef {EnumValues<typeof StatusJSONMap>} SubmitResultStatusJSON
*/

Expand Down
2 changes: 1 addition & 1 deletion tests/resources/vrender.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ const ElementType = {
const FragmentType = {
name: FRAGMENT_TYPE_NAME,
diffEntry: /** @type {DiffEntryFunction} */ (diffChildEntry),
init(queue, parent, after, node) {
init(queue, parent, after) {
return {
type: FragmentType,
parent,
Expand Down

0 comments on commit 1f54b16

Please sign in to comment.