Skip to content

Commit

Permalink
Add note of unapproved in ACT txt result (#2172)
Browse files Browse the repository at this point in the history
  • Loading branch information
tombrunet authored Feb 4, 2025
1 parent a33fbb9 commit 1b7339c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion accessibility-checker/test-act-w3/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const fs = require("fs");

try {
// This rule has testcases, run the test
console.group(`+ ${testcase.testcaseTitle}: ${testcase.url}`);
console.group(`+ ${testcase.testcaseTitle}${testcase.approved ? "" : " [not approved]" }: ${testcase.url}`);
// Special handling for meta refresh
if (ext === ".html" || ext === ".xhtml") {
if (testcase.ruleId === "bisz58" || testcase.ruleId === "bc659a")
Expand Down
4 changes: 2 additions & 2 deletions accessibility-checker/test-act/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const fs = require("fs");
try {
// If no tests, don't bother loading the testcase
if (ruleTestInfo[ruleId].aceRules.length > 0) {
console.group(`+ ${testcase.testcaseTitle}: ${testcase.url}`);
console.group(`+ ${testcase.testcaseTitle}${testcase.approved ? "" : " [not approved]" }: ${testcase.url}`);
if (ext === ".html" || ext === ".xhtml") {
// Special handling for meta refresh
if (testcase.testcaseId === "cbf6409b0df0b3b6437ab3409af341587b144969"
Expand All @@ -58,7 +58,7 @@ const fs = require("fs");
}
}
} else {
console.group(`? ${testcase.testcaseTitle}: ${testcase.url}`);
console.group(`? ${testcase.testcaseTitle}${testcase.approved ? "" : " [not approved]" }: ${testcase.url}`);
}
let { title, result, issuesFail, issuesPass, issuesReview, issuesAll } = await getResult(pupPage, testcase.testcaseId, ruleTestInfo[ruleId].aceRules, !(ext === ".html" || ext === ".htm"));
earlResult["@graph"].push({
Expand Down

0 comments on commit 1b7339c

Please sign in to comment.