This is a portable, one-click Playwright test bundle for deployment to Wiwndows users who may not have Node.js, Git, or Playwright installed.
- For first time use - add your test login details
- Double click on the "open-bash.bat" file
- Run one or more tests in the bash command window than appears
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.jsonThe completed "local.config.json" file should look like this (but with your username and password):
{
"login": {
"username": "xxxx",
"password": "yyyy"
}
}TODO
TODO
TODO
cd tests/cmic_test/
DEBUG=true npx playwright test 01-load.spec.ts --headedcd tests npx playwright test cmic_test/01-load.spec.ts