@ns3/nx-jest-playwright
TypeScript icon, indicating that this package has built-in type declarations

5.6.0 • Public • Published

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-playwright

Generate

nx generate @ns3/nx-jest-playwright:project my-desktop-e2e --project my-destkop

Providing project flag will generate a config that targets this frontend application.

Run project

nx run my-desktop-e2e:e2e

You 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).

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
5.6.022latest
0.0.0-a3832696ca264e8603dcb9778fc36f9a13e3856e2alpha
4.0.0-alpha-nx-playwright.21alpha/nx-playwright
2.0.0-alpha-serverless-plugin.51alpha/serverless-plugin

Version History

VersionDownloads (Last 7 Days)Published
5.6.022
5.5.02
5.4.01
5.3.01
5.2.04
5.1.01
5.0.030
0.0.0-a3832696ca264e8603dcb9778fc36f9a13e3856e2
0.0.0-3f4a75dd7214e8de3a895de5b090c162dbd886b51
0.0.0-f3d1acca77d53bde05e2452b59741f5d46e21e011
0.0.0-c7f0c0e42b806e18cbf32645b02225975e0d8dcf1
4.5.11
4.4.01
4.3.02
4.2.01
4.1.02
4.0.01
4.0.0-alpha-nx-playwright.21
4.0.0-alpha-nx-playwright.11
3.8.023
3.6.01
3.5.01
3.4.14
3.4.01
3.3.01
3.2.21
3.2.11
3.2.01
3.1.244
3.1.01
3.0.05
2.6.169
2.6.01
2.5.31
2.4.01
2.3.0656
2.2.02
2.0.01
2.0.0-alpha-serverless-plugin.51
2.0.0-alpha-serverless-plugin.41
2.0.0-alpha-serverless-plugin.31
1.4.0101
2.0.0-alpha-serverless-plugin.11
1.3.11
1.3.01
1.2.01
1.1.315
1.1.21
1.1.11
1.1.01
1.0.01
1.0.0-alpha-nx-12-4.12
0.8.01
0.8.0-alpha-registry-config.11
0.7.11
0.7.01
0.6.41
0.6.21
0.6.11
0.6.01
0.5.01
0.4.21
0.3.11
0.3.1-alpha-update-workflow.21
0.3.1-alpha-update-workflow.11
0.3.01
0.2.01
0.2.0-alpha-nx-jest-playwright-2.11
0.2.0-alpha-nx-jest-playwright.31

Package Sidebar

Install

npm i @ns3/nx-jest-playwright

Weekly Downloads

894

Version

5.6.0

License

MIT

Unpacked Size

31.9 kB

Total Files

37

Last publish

Collaborators

  • bielik20