File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed
bin/accessibility-automation Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ exports.setAccessibilityEventListeners = (bsConfig) => {
235235 if ( ! supportFilesData . supportFile ) return ;
236236 const isPattern = glob . hasMagic ( supportFilesData . supportFile ) ;
237237 if ( ! isPattern ) {
238- console . debug ( `Inside isPattern` ) ;
238+ console . log ( `Inside isPattern` ) ;
239239 logger . debug ( `Inside isPattern` ) ;
240240 const defaultFileContent = fs . readFileSync ( supportFilesData . supportFile , { encoding : 'utf-8' } ) ;
241241
@@ -255,10 +255,10 @@ exports.setAccessibilityEventListeners = (bsConfig) => {
255255 files . forEach ( file => {
256256 try {
257257 const fileName = path . basename ( file ) ;
258- console . debug ( `Adding accessibility event listeners to ${ fileName } ` ) ;
259- logger . debug ( `Adding accessibility event listeners to ${ fileName } ` ) ;
258+ console . log ( `Adding accessibility event listeners to ${ fileName } ` ) ;
259+ logger . debug ( `Adding accessibility event listeners to ${ fileName } ` ) ;
260260 if ( ( fileName === 'e2e.js' || fileName === 'e2e.ts' || fileName === 'component.ts' || fileName === 'component.js' ) ) {
261- console . debug ( `Adding accessibility event listeners to ${ file } ` ) ;
261+ console . log ( `Adding accessibility event listeners to ${ file } ` ) ;
262262 logger . debug ( `Adding accessibility event listeners to ${ file } ` ) ;
263263 const defaultFileContent = fs . readFileSync ( file , { encoding : 'utf-8' } ) ;
264264
Original file line number Diff line number Diff line change @@ -4,13 +4,7 @@ const utils = require('../../helpers/utils');
44const fs = require ( 'fs' ) ;
55
66const browserstackAccessibility = ( on , config ) => {
7- // const logFilePath = path.join(__dirname, 'accessibility-start-log.txt');
8- // const logMessage = `afterEach executed for test`
9- // try {
10- // fs.appendFileSync(logFilePath, logMessage);
11- // } catch (err) {
12- // // ignore logging errors
13- // }
7+
148 let browser_validation = true ;
159 if ( process . env . BROWSERSTACK_ACCESSIBILITY_DEBUG === 'true' ) {
1610 config . env . BROWSERSTACK_LOGS = 'true' ;
You can’t perform that action at this time.
0 commit comments