Skip to content

andresgranizo/SaucedemoTest

Repository files navigation

E2E Tests

CI

This repository contains E2E tests using Cypress for the web application SauceDemo.

Prerequisites

  1. Install Node.js and npm (Node Package Manager).

Setup

  1. Clone the repository:
    git clone https://github.com/andresgranizo/SaucedemoTest.git
  2. Install Dependencies
    • npm install
    • npm install cypress --save-dev

Runing Tests

Local Execution

  1. npx cypress open
  2. Start E2E testing in Chrome
  3. Run tests (spec.cy.js)

Test Description

E2E Test: Add Products to Cart and Place Order

  1. Add products to cart:

    • Navigate to the product page.
    • Add the product to the cart.
  2. Navigate to the cart page.

    • Verify that the added products are present.
  3. Place order:

    • Verify the order confirmation message.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published