Hello! In this repository, you'll find my portfolio. It contains a small online store written in JavaScript, as well as tests for it using Playwright. You can find the structure of each part of the application inside each repository. To run this project, you can use Docker.
Good luck!
- Clone this repository to your local machine.
git clone [email protected]:Caplia199/shop.git
- Navigate to the project's root directory using the terminal or command prompt.
- Install the project dependencies by running the following command:
npm install
- Install browsers by running the following command:
npx playwright install
To execute the test cases against the Sauce Labs website, simply run the following command:
check tests on correct web-site :
npm run test:success
check tests on broken web-site :
npm run test:fail
To generate Allure report run:
npm run allure-report
- Clone this repository to your local machine.
git clone [email protected]:egorsoroka8/saucelabs.git
- Create image.
make build
- Run tests.
make run
- Generate report.
make report
In case you want to see logs, use :
make logs
By default report will be hosted on port 3030, but you can change it in Makefile (run command) and package.json (allure:report, allure:open) files.
Feel free to contribute to this portfolio by opening pull requests or reporting issues. Your contributions and feedback are highly appreciated!