Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/esnanta/sqa-cypress-saucedemo
- Owner: esnanta
- Created: 2024-02-24T17:27:29.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-02-25T16:50:31.000Z (10 months ago)
- Last Synced: 2024-02-25T18:42:32.412Z (10 months ago)
- Topics: cypress, cypress-example, cypress-tests, soucedemo, sqa
- Language: JavaScript
- Homepage:
- Size: 5.11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.