New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mands/nx-playwright

Package Overview
Dependencies
Maintainers
5
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mands/nx-playwright

[![MIT License](https://img.shields.io/github/license/marksandspencer/nx-plugins)](https://github.com/marksandspencer/nx-plugins/blob/main/LICENSE.md)

  • 0.0.17
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.6K
increased by20.78%
Maintainers
5
Weekly downloads
 
Created
Source

@mands/nx-playwright

MIT License

An Nx plugin to add support to an Nx monorepo for Playwright testing using a native runner.

Usage

Replacing the placeholders <PATH-TO-NX-WORKSPACE> and <APP-NAME>:

cd <PATH-TO-NX-WORKSPACE>
yarn add -D @mands/nx-playwright
yarn nx generate @mands/nx-playwright:project <APP-NAME>-e2e --project <APP-NAME>
yarn playwright install --with-deps
yarn nx e2e <APP-NAME>-e2e

Testing this plugin locally

Create a new Nx workspace containing one application. Then run, in the root of this repo:

./local-test.sh -w path/to/workspace -a app-name

⚠️ The flag -C can optionally be used to reverse any changes made to the workspace during the test run. However, this is a potentially destructive operation that performs a stash save before the run and a stash pop at the end of the run.

FAQs

Package last updated on 16 Jun 2022

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc