Package Exports
- @nx-extend/playwright
- @nx-extend/playwright/src/executors/test/test.impl
- @nx-extend/playwright/src/executors/test/test.impl.js
- @nx-extend/playwright/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nx-extend/playwright) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
[!IMPORTANT]
This package is no longer maintained in favor of @nx/playwright
@nx-extend/playwright
Nx plugin for adding Playwright to your app.
Setup
Install
npm install -D @nx-extend/playwright
nx g @nx-extend/playwright:init
Usage
When running nx e2e <your-project>
it will directly start Playwright, if you need to build/server your app first
Update your project targets to the following
{
"targets": {
"e2e": {
"executor": "@nx-extend/e2e-runner:run",
"options": {
"runner": "playwright",
"targets": [
{
"target": "<target to start your app>",
"checkUrl": "<url the target will come online on>"
}
]
}
}
}
}