Skip to content

Test the package

thednp edited this page Nov 22, 2024 · 3 revisions

Run the tests suite (new)

  • Download the package from Github;
  • unpack/unzip and open the folder with your editor;
  • alternatively you can also run git clone https://github.com/thednp/navbar.git to your designated folder
  • open your terminal and navigate to the root of the unpacked folder;
  • run pnpm install or pnpm up;
  • run pnpm exec playwright install to install the playwright driver (ignore installation errors)
  • run pnpm test-ui to open the tests in browser mode OR pnpm test to run the tests in headless mode.
Clone this wiki locally