Skip to content

A portable, one-click Playwright test bundle for deployment to users who may not have Node.js, Git, or Playwright installed.

Notifications You must be signed in to change notification settings

Unisolve/playwright_one_click

Repository files navigation

How to use this playwright test environment

This is a portable, one-click Playwright test bundle for deployment to Wiwndows users who may not have Node.js, Git, or Playwright installed.

Overview

  1. For first time use - add your test login details
  2. Double click on the "open-bash.bat" file
  3. Run one or more tests in the bash command window than appears

First time use - add your login details

You'll need to create a "local.config.json" file in the cmic_test directory

$ cd tests/cmic_test/

User@DESKTOP-K78MEFU MINGW64 ~/Unisolve/trum/playwright_one_click/tests/cmic_test
$ cp local.config.template.json local.config.json

User@DESKTOP-K78MEFU MINGW64 ~/Unisolve/trum/playwright_one_click/tests/cmic_test
$ vi local.config.json

The completed "local.config.json" file should look like this (but with your username and password):

{
  "login": {
    "username": "xxxx",
    "password": "yyyy"
  }
}

Double click on the "open-bash.bat" file

TODO

Run one or more tests in the bash command window than appears

TODO

Run the login/logout test

TODO

cd tests/cmic_test/

DEBUG=true npx playwright test 01-load.spec.ts --headed

cd tests npx playwright test cmic_test/01-load.spec.ts

About

A portable, one-click Playwright test bundle for deployment to users who may not have Node.js, Git, or Playwright installed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published