Skip to content

Commit 2aa6f71

Browse files
committed
more changes
1 parent 8fa469d commit 2aa6f71

File tree

1 file changed

+0
-9
lines changed
  • bin/accessibility-automation/cypress

1 file changed

+0
-9
lines changed

bin/accessibility-automation/cypress/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -339,15 +339,6 @@ afterEach(() => {
339339
try {
340340
throw new Error('Deliberate exception thrown for testing purposes');
341341
} 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}`);
351342
if (error && error.stack) {
352343
browserStackLog(error.stack);
353344
}

0 commit comments

Comments
 (0)