Skip to content

Commit

Permalink
DTSPB- 4457 added the flag to exclude warning in tests file .
Browse files Browse the repository at this point in the history
  • Loading branch information
abbasiTahir committed Jan 15, 2025
1 parent 8af0d37 commit ab0d6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/accessibility/a11yTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const commonSessionData = {
back: []
};

const warning = ['WCAG2AA.Principle1.Guideline1_3.1_3_1.H48', 'WCAG2AA.Principle1.Guideline1_3.1_3_1.F68.HiddenAttr'];
const warning = ['WCAG2AA.Principle1.Guideline1_3.1_3_1.H48', 'WCAG2AA.Principle1.Guideline1_3.1_3_1.F68.HiddenAttr', 'WCAG2AA.Principle1.Guideline1_3.1_3_1_A.G141'];
const excludeWarnings = r => {
return !warning.includes(r.code);
};
Expand Down

0 comments on commit ab0d6bd

Please sign in to comment.