As in every node project run npm install
or npm i
.
In repository we use .env files, ask other developers for correct data.
To run all spec files in terminal use npm run test
.
To run specific set of tests e.g smoke in title description add @myTag and then run npm run test -- --grep @myTag
.
To run specific file in terminal use npm run test tests/testingPage.spec.ts
.
After all runs in playwright-report
folder is created index.html with report. To show report in browser in terminal use npm run report
.
To format project use npm run format
. To run linter and verify code use npm run lint
.
If you would like to run test on different browsers in playwright.config.ts
find projects section, and add/enable other browsers.
performanceGlitchUser
has problems with 'to long to take' actions on page reported JIRA-01- Each user can go to checkout without any products in cart reported JIRA-02
- Incorrect rounding on /checkout-step-two.html, local storage cart-contents [4,1,5,2,0] or [4,1,5,3,0] added to cart JIRA-03
- Validation on /checkout-step-one.html is highlight for correct fields JIRA-04
problemUser
has the same images for all products JIRA-05problemUser
cannot remove product from main page JIRA-06problemUser
cannot provide last name on /checkout-step-one.html last name overrides first name field JIRA-07