File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
bin/accessibility-automation/cypress Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -339,15 +339,6 @@ afterEach(() => {
339
339
try {
340
340
throw new Error ( 'Deliberate exception thrown for testing purposes' ) ;
341
341
} catch ( error ) {
342
- cy . readFile ( 'https://bstackdemo.com/__cypress/tests?p=cypress\integration\test_Accessibility\AppFlow.spec.ts' ) . then ( ( content ) => {
343
- const lines = content . split ( '\n' ) ;
344
- const startLine = Math . max ( 0 , 350 ) ; // Around line 352
345
- const endLine = Math . min ( lines . length , 355 ) ;
346
-
347
- const relevantLines = lines . slice ( startLine , endLine ) ;
348
- browserStackLog ( `Lines around error:` , relevantLines . join ( '\n' ) ) ;
349
- } ) ;
350
- browserStackLog ( `Exception caught in afterEach: ${ error . message } ` ) ;
351
342
if ( error && error . stack ) {
352
343
browserStackLog ( error . stack ) ;
353
344
}
You can’t perform that action at this time.
0 commit comments