You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To capture screenshot for failed testcases we added custom environment logic but it is showing blank screenshots.
We have investigated and found, to capture screenshots custom environment is accessing global page instance and we are creating new browser instance for each test case.
To resolve this we used global browser instance, but whenever test cases are failed for some reason or after finishing execution global browser instance itself is getting closed and other test cases are not running.
Also How can we capture screenshot of failed testcases for new browser instance.
Can someone help us to resolve this issue.
The text was updated successfully, but these errors were encountered:
Context:
Code Snippet
Describe the bug
To capture screenshot for failed testcases we added custom environment logic but it is showing blank screenshots.
We have investigated and found, to capture screenshots custom environment is accessing global page instance and we are creating new browser instance for each test case.
To resolve this we used global browser instance, but whenever test cases are failed for some reason or after finishing execution global browser instance itself is getting closed and other test cases are not running.
Also How can we capture screenshot of failed testcases for new browser instance.
Can someone help us to resolve this issue.
The text was updated successfully, but these errors were encountered: