Skip to content

Commit 3125018

Browse files
committed
DON-1156: Fix compile error
1 parent 2b6e9a5 commit 3125018

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

pages/DonateStartPage.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,11 @@ export default class DonateStartPage {
298298
);
299299

300300
// Axe accessibility check just before hitting donate.
301-
await checkNoAccessibilityViolations({ withAngularStepperException: true, withSalesforceHeaderException: false });
301+
await checkNoAccessibilityViolations({
302+
withAngularStepperException: true,
303+
withSalesforceHeaderException: false,
304+
withContrastRatioException: false,
305+
});
302306

303307
await clickSelector(submitBtnSelector);
304308
}

steps/pledge.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ Given(
2929
"I open the pledge campaign's pledge form",
3030
async () => {
3131
await page.open();
32-
await checkNoAccessibilityViolations({ withAngularStepperException: false, withSalesforceHeaderException: true });
32+
await checkNoAccessibilityViolations({
33+
withAngularStepperException: false,
34+
withSalesforceHeaderException: true,
35+
withContrastRatioException: false,
36+
});
3337
}
3438
);
3539

0 commit comments

Comments
 (0)