Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/esnanta/sqa-cypress-saucedemo

Automated testing for Swag Labs web using cypress
https://github.com/esnanta/sqa-cypress-saucedemo

cypress cypress-example cypress-tests soucedemo sqa

Last synced: about 1 month ago
JSON representation

Automated testing for Swag Labs web using cypress

Awesome Lists containing this project

README

        

# SauceDemo Test

This project contains an automated test scenario for the SauceDemo website using Cypress.

## Prerequisites

- Node.js
- Cypress
- Browser (Chrome, or Firefox, or Electron)

## Setup

Please read official instruction.

## Test Scenario

The test scenario performs the following steps:

1. Create a browser instance and set up the test environment. ✅
2. Open the login page and verify the Swag Labs logo. ✅
3. Login with valid credentials. ✅
4. Open the menu to access the Logout button and verify its presence. ✅
5. Verify that the inventory page is displayed. ✅
6. Navigate to the product detail page and verify the product name.
7. Add the item to the cart and verify the "Remove" button.
8. Navigate to the shopping cart page and verify the item in the cart.
9. Continue with the checkout process and verify the checkout page.
10. Enter required shipping and payment information.
11. Proceed to the confirmation page and verify the item in the overview.
12. Logout from the website.
13. Tear down the test environment.