Skip to content

Conversation

07souravkunda
Copy link
Collaborator

No description provided.

kamal-kaur04
kamal-kaur04 previously approved these changes Jan 22, 2025
@@ -333,6 +333,8 @@ afterEach(() => {
let filePath = '';
if (attributes.invocationDetails !== undefined && attributes.invocationDetails.relativeFile !== undefined) {
filePath = attributes.invocationDetails.relativeFile;
} else if (attributes.prevAttempts && attributes.prevAttempts.length > 0) {
filePath = attributes.prevAttempts[0].invocationDetails.relativeFile

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add check for attributes.prevAttempts[0].invocationDetails not being undefined like in the previous condition.

@pranavj1001 pranavj1001 merged commit b6963bb into browserstack:master Jan 28, 2025
2 checks passed
@pranavj1001 pranavj1001 mentioned this pull request Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants