Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

playwright-test-skeleton

Package Overview
Dependencies
Maintainers
0
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

playwright-test-skeleton

Package for creating Playwright Test skeleton project. Includes default linter, formatter and precommit-hooks settings.

  • 0.5.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
52
decreased by-22.39%
Maintainers
0
Weekly downloads
 
Created
Source

Playwright Test skeleton project generator

This package will create a basic template of Playwright Test project with following properties:

  • language is Typescript or JavaScript
  • ESLint config file for linting is created
  • Prettier is installed
  • Eslint and Prettier git precommit hooks are created, if user wants to
  • basic example tests are created in /tests folder
  • basic example of Page Object Model page representation
  • default Playwright Test configuration file is created

Preconditions

  • Node.js LTS installed
    • versions 18.x and 20.x are supported and were tested
  • git installed
  • OS is supported by Playwright (Win10+, Ubuntu, Debian, MacOs). Details are HERE

Installation

  • open you shell and switch to the folder, where you want to have your test project files
  • run npx playwright-test-skeleton
  • go thru CLI prompts to choose from language and precommit hooks options
  • in case you are on Linux, you will have to provide your sudo password when installing Playwright linux dependencies

Verify

  • run npx playwright test - test should run, no errors in console.

Keywords

FAQs

Package last updated on 11 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

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