Skip to content

Commit d54c407

Browse files
fix: use valid variable
1 parent 2949cc6 commit d54c407

File tree

1 file changed

+1
-1
lines changed
  • bin/accessibility-automation/cypress

1 file changed

+1
-1
lines changed

bin/accessibility-automation/cypress/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ const shouldScanForAccessibility = (attributes) => {
289289

290290
const fullTestName = attributes.title;
291291
const excluded = excludeTagArray.some((exclude) => fullTestName.includes(exclude));
292-
const included = includeTagArray.length === 0 || includeTags.some((include) => fullTestName.includes(include));
292+
const included = includeTagArray.length === 0 || includeTagArray.some((include) => fullTestName.includes(include));
293293
shouldScanTestForAccessibility = !excluded && included;
294294
} catch (error) {
295295
browserStackLog(`Error while validating test case for accessibility before scanning. Error : ${error.message}`);

0 commit comments

Comments
 (0)