🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@ns3/nx-jest-playwright

Package Overview
Dependencies
Maintainers
0
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ns3/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`.

5.6.0
latest
Source
npm
Version published
Maintainers
0
Created
Source

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

FAQs

Package last updated on 23 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts