Skip to content

Commit

Permalink
Merge pull request #770 from 07souravkunda/fix_a11y_eventlistener
Browse files Browse the repository at this point in the history
fix: a11y eventlistener
  • Loading branch information
pranavj1001 committed Jan 9, 2024
2 parents 6933aeb + b9cc388 commit 07321fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/accessibility-automation/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ const getAccessibilityCypressCommandEventListener = () => {
const setAccessibilityEventListeners = () => {
try {
const cypressCommandEventListener = getAccessibilityCypressCommandEventListener();
glob(process.cwd() + '/cypress/support/*.js', {}, (err, files) => {

// Searching form command.js recursively
glob(process.cwd() + '/**/cypress/support/*.js', {}, (err, files) => {
if(err) return logger.debug('EXCEPTION IN BUILD START EVENT : Unable to parse cypress support files');
files.forEach(file => {
try {
Expand Down

0 comments on commit 07321fc

Please sign in to comment.