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 785cf0f commit 89d19a9Copy full SHA for 89d19a9
bin/accessibility-automation/helper.js
@@ -227,7 +227,7 @@ exports.setAccessibilityEventListeners = (bsConfig) => {
227
if(!isPattern) {
228
console.log(`Inside isPattern`);
229
try {
230
- file = supportFilesData.supportFile;
+ file = process.cwd() + supportFilesData.supportFile;
231
const defaultFileContent = fs.readFileSync(file, {encoding: 'utf-8'});
232
let cypressCommandEventListener = getAccessibilityCypressCommandEventListener(path.extname(file));
233
const alreadyIncludes = defaultFileContent.includes(cypressCommandEventListener);
0 commit comments