Skip to content

End-to-end functional test suite for babyshop.com, using Python, pytest and SeleniumBase testing framework.

Notifications You must be signed in to change notification settings

kate-tel/babyshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babyshop.com End-to-end-testing

Table of Contents

About this Project

This test suite performs end-to-end functional testing for https://www.babyshop.com/.

Test coverage

Functionality covered by this test suite:

  • Website search;
  • Menu navigation;
  • Adding and manipulating items in cart;
  • Changing region and language.

Prerequisites

You should have the following installed:

Setup of testing environment

Please refer to magento2.test project for instructions.

Running the tests

  1. To run the tests from the command line:
pytest test_babyshop.py
  1. To select a specific test method to run, indicate class name and then method name:
pytest test_babyshop.py::BabyshopTestClass::test_menu

References

  1. For SeleniumBase CLI commands, log saving, configurations etc, please have a look at https://github.com/seleniumbase/SeleniumBase.

  2. List of SeleniumBase methods:

https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/fixtures/base_case.py

About

End-to-end functional test suite for babyshop.com, using Python, pytest and SeleniumBase testing framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages