0.5.11 • Published 9 months ago

playwright-test-skeleton v0.5.11

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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

10 months ago

0.5.11

9 months ago

0.5.8

11 months ago

0.5.9

10 months ago

0.5.7

11 months ago

0.5.4

1 year ago

0.5.3

1 year ago

0.5.6

11 months ago

0.5.5

12 months ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

1 year ago

0.3.2

1 year ago

0.4.0

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.2

1 year ago

0.1.10

1 year ago

0.2.0

1 year ago

0.1.9

1 year ago

0.1.8-0

1 year ago

0.1.7-0

1 year ago

0.1.6-0

1 year ago

0.1.8

1 year ago

0.1.4

1 year ago

0.1.5

1 year ago

0.1.2

1 year ago

0.1.2-0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago