@ns3/nx-jest-playwright v5.6.0
NX Jest Playwright
A plugin to run jest-playwright e2e tests in nx monorepo.
It works similarly to cypress runner in a sense that you can pass either devServerTarget or baseUrl.
⚠️ Deprecation Notice ⚠️
Just like jest-playwright-preset we recommend the official Playwright test-runner (@playwright/test) via @ns3/nx-playwright.
We will continue to support this package as long as it remains compatible with @nx/jest package and jest-playwright-preset is supported.
Install
npm i -D @ns3/nx-jest-playwrightGenerate
nx generate @ns3/nx-jest-playwright:project my-desktop-e2e --project my-destkopProviding project flag will generate a config that targets this frontend application.
Run project
nx run my-desktop-e2e:e2eYou may use flag specified for that runner. Most notable:
--watch--slowMo 1000- so that you can see what is happening.--headless false- will start browser.--devtools- just like headless but will also open devtools (works only in chrome).
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago