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
Question
What is the right way to reset browser/context/pages after/before use so that we do not get any fails in the logs and we do not leave un-used objects in the memory after the test?
The text was updated successfully, but these errors were encountered:
ychaudhari
changed the title
jestPlaywright.resetContext() fails to close a page.
resetContext() fails to close a page.
Mar 5, 2021
Describe the bug
jestPlaywright.resetContext();
fails to close a page.To Reproduce
Run following test with
DEBUG=pw:api
Expected behavior
No fails in the logs
Actual behavior
Shows following error in logs
Full log
Screenshots
N/A
Desktop (please complete the following information):
Jest configuration (Either in the package.json > jest or in the
jest.config.js
):jest-playwright.config.js
Additional context
N/A
Question
What is the right way to reset browser/context/pages after/before use so that we do not get any fails in the logs and we do not leave un-used objects in the memory after the test?
The text was updated successfully, but these errors were encountered: