Socket
Socket
Sign inDemoInstall

@ns3/nx-jest-playwright

Package Overview
Dependencies
9
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
1.1K
decreased by-17.68%
Maintainers
1
Created
Weekly downloads
 

Readme

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

Last updated on 08 Feb 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc