Skip to content

Commit

Permalink
debug #1676
Browse files Browse the repository at this point in the history
  • Loading branch information
shunguoy committed Oct 19, 2023
1 parent ea5f392 commit fb39ea6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ describe("Rule Unit Tests from WebdriverIO", function () {

let report = null;
// Perform the accessibility scan using the IBMaScan Wrapper
let result = await getCompliance(browser, "WDIO_" + unitTestFile);
let result = await getCompliance(browser, "WDIO_" + unitTestFile);console.log("report=" + JSON.stringify(result.report));
if (!result || !result.report) {
try { expect(false).toEqual(true); } catch (e) {
console.error("\nWas unable to scan: " + unitTestFile);
Expand Down Expand Up @@ -164,7 +164,7 @@ describe("Rule Unit Tests from WebdriverIO", function () {
if (pc !== 0) return pc;
return b.ruleId.localeCompare(a.ruleId);
})
console.log("report=" + JSON.stringify(filtReport));
// console.log(expectedInfo.results);
expect(filtReport).toEqual(expectedInfo.results);
} else if (legacyExpectedInfo) {
let expectedInfo = {}
Expand Down

0 comments on commit fb39ea6

Please sign in to comment.