Skip to content

Commit 07321fc

Browse files
authored
Merge pull request #770 from 07souravkunda/fix_a11y_eventlistener
fix: a11y eventlistener
2 parents 6933aeb + b9cc388 commit 07321fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/accessibility-automation/helper.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ const getAccessibilityCypressCommandEventListener = () => {
191191
const setAccessibilityEventListeners = () => {
192192
try {
193193
const cypressCommandEventListener = getAccessibilityCypressCommandEventListener();
194-
glob(process.cwd() + '/cypress/support/*.js', {}, (err, files) => {
194+
195+
// Searching form command.js recursively
196+
glob(process.cwd() + '/**/cypress/support/*.js', {}, (err, files) => {
195197
if(err) return logger.debug('EXCEPTION IN BUILD START EVENT : Unable to parse cypress support files');
196198
files.forEach(file => {
197199
try {

0 commit comments

Comments
 (0)