-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blog/using-jest-with-playwright #37
Comments
The above page object is not compatible with this line below. Apparently they are different I haven't figured out how to dynamically launch browser and collect coverage info. import playwright from 'playwright';
function initTest(browserType) {
await playwright[browserType].launch();
}
afterEach(() => {
await jestPlaywright.saveCoverage(page);
}) |
I am getting error how can I fix this? TypeError: Jest: a transform must export something. |
did you get any solution? |
They are keeping everything updated, latest dependencies doesn't work with playwright you need to install specific version of all dependencies not latest. |
I am having this error.
Can you please tell me how install previous dependencies and remove current one. |
https://nodejs.dev/learn/install-an-older-version-of-an-npm-package Please refer this |
Which dependencies you downgraded to resolve the problem? |
I don't remember exactly but , I think I have downgraded everything 26, you might have follow try and error method here. |
okay thanks for the help. |
Hi I have a requirement where I want to test my business logic as well as the components that I have created separately. Can you please suggest how to move forward with it?
|
Using Jest with Playwright - Playwright Community 🎭
In this blog post, we'll compare two Jest setups for creating and running end-to-end tests with Playwright.
https://playwright.tech/blog/using-jest-with-playwright
The text was updated successfully, but these errors were encountered: