- About this Project
- Test coverage
- Prerequisites
- Setup of testing environment
- Running the tests
- References
This test suite performs end-to-end functional testing for https://www.babyshop.com/.
Functionality covered by this test suite:
- Website search;
- Menu navigation;
- Adding and manipulating items in cart;
- Changing region and language.
You should have the following installed:
Please refer to magento2.test project for instructions.
- To run the tests from the command line:
pytest test_babyshop.py
- To select a specific test method to run, indicate class name and then method name:
pytest test_babyshop.py::BabyshopTestClass::test_menu
-
For SeleniumBase CLI commands, log saving, configurations etc, please have a look at https://github.com/seleniumbase/SeleniumBase.
-
List of SeleniumBase methods:
https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/fixtures/base_case.py