Skip to content

Shukla0312/assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

24-Hour QA Take-Home — Cypress Testing

A Cypress testing project for web UI and API testing. No secrets, API keys, or credentials required — all tests use publicly available test services.

Quick Start

One command to install and run:

npm install && npm test

That's it! Tests run against public test services:

  • Web UI: saucedemo.com (no account needed)
  • API: reqres.in (public test API, no auth required)

Requirements

  • Node.js 18+
  • Java (optional, only needed for Allure reports)

Commands

Setup & Run Tests

npm install          # Install dependencies (one-time setup)
npm test            # Run all tests headless

Interactive Testing

npm run cypress:open  # Open Cypress Test Runner (GUI)

Test Reporting

npm run test:allure        # Run tests with Allure reporting
npm run allure:generate   # Generate Allure report
npm run allure:serve      # View report in browser

What's Tested

  • Web UI (SauceDemo):

    • Login flows (positive, negative, edge cases)
    • Shopping cart operations
    • Checkout process
    • Form validation
    • Accessibility (WCAG compliance)
  • API (reqres.in):

    • GET, POST, PATCH, DELETE operations
    • Response validation and contract testing
    • Headers and pagination

Project Structure

assignment/
├── cypress/
│   ├── e2e/           # Test files
│   └── support/       # Custom commands & config
├── agent-evals/       # Agent evaluation prompts
├── reports/           # Bug reports
└── package.json

Resources


No secrets required — all test services are public and freely accessible.

About

24 Hours Challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors