-
Notifications
You must be signed in to change notification settings - Fork 17
Example for Jest and Playwright for users who don't use jest-playwright library #64
Comments
Hey @tanvee38 thank you for trying root cause! The default jest integration assumes that the Anyhow, the integration will be much simple if you create/launch your pages from a single place that is shared among the tests. |
Hi @Bnaya , thanks for your kind response and suggestion. I have a few test files where in every file I created page and browser object. You can say in my case the
If possible could you kindly show a brief example of how I can use root cause with this set up? Thanks. |
The simplest path I can suggest right now is to make the page global |
Sounds good. Thanks @Bnaya ! |
Firstly, thank you for this awesome tool! I am using a e2e test framework where I have Jest and Playwright installed separately. The jest-playwright example I can see from this repository is using jest-playwright package and jest-playwright-preset. With my set up, I am getting lots of errors while running the example test because of not having lots of global variables what jest-playwright package offers. Here is the error I am getting:
Could you please provide a simple example of using root cause where users like me use jest as test framework and playwright for browser automation but not using jest-playwright package? Thanks.
The text was updated successfully, but these errors were encountered: