We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2949cc6 commit d54c407Copy full SHA for d54c407
bin/accessibility-automation/cypress/index.js
@@ -289,7 +289,7 @@ const shouldScanForAccessibility = (attributes) => {
289
290
const fullTestName = attributes.title;
291
const excluded = excludeTagArray.some((exclude) => fullTestName.includes(exclude));
292
- const included = includeTagArray.length === 0 || includeTags.some((include) => fullTestName.includes(include));
+ const included = includeTagArray.length === 0 || includeTagArray.some((include) => fullTestName.includes(include));
293
shouldScanTestForAccessibility = !excluded && included;
294
} catch (error) {
295
browserStackLog(`Error while validating test case for accessibility before scanning. Error : ${error.message}`);
0 commit comments