Skip to content

Mkots/test-pw

Repository files navigation

Implementation of 4/5 test cases.

Playwright and Playwright-test were used for the implementation, the tests are run serially, since I had only one account, and the tests are related.

Run it on CI

Tests running is set up by GH Actions, the environment variables are set in Secrets

To run it local

  1. Clone repo and open containing folder:
git clone https://github.com/Mkots/test-pw.git
cd pw-test
  1. Install dependencies:
npm ci 
  1. Create localise account on staging server
  2. Create API token on staging server
  3. Edit "test" script to add env variables:
{
  "scripts": {
    "test": "USER_EMAIL=<[email protected]> USER_PASSWORD=<user password> API_TOKEN=<user API token> playwright test"
  }
}
  1. Run tests:
npm run test 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published