Skip to content

andresgranizo/CypressE2E

Repository files navigation

E2E Tests

CI

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

Prerequisites

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

Setup

  1. Clone the repository:
    git clone https://github.com/andresgranizo/CypressE2E.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.
    • Verify that the confirmation message is displayed.
    • Verify products in cart.
  2. Navigate to the cart page.

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

    • Fill in the order form.
    • Submit the 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