Skip to content

elvisboghiu/awesome-aviation-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QA Automation Assessment (Cypress)

Prerequisites

  • Node.js 18+
  • npm 9+

Installation

  1. Clone the repository.
  2. Navigate to the project directory:
    cd awesome-aviation-project
  3. Install dependencies (includes Cypress 13.17.0; first run may download the Cypress binary):
    npm install

Run

  • Headless (all specs):
    npm test
    or:
    npm run cy:run
  • Interactive Cypress runner (for debugging):
    npm run cy:open
  • Run a specific spec:
    npx cypress run --spec "cypress/e2e/part1_airportlabs.cy.js"
    npx cypress run --spec "cypress/e2e/part2_shopping.cy.js"

Part 1 targets https://airportlabs.com/; Part 2 targets https://altex.ro.

Cypress Version

  • 13.17.0

Project Structure

  • cypress/e2e/ - test specs for assessment parts
  • cypress/pageObjects/ - page objects and reusable page actions
  • cypress/fixtures/ - test data for data-driven scenarios
  • cypress/support/ - global support and custom commands
  • cypress.config.js - Cypress config
  • TEST_DESIGN.md - design decisions and tradeoffs

Implemented Coverage

  • Part 1: 5 scenarios on https://airportlabs.com/
    • section title visibility/style checks on desktop + mobile
    • data-driven statistic validation (fixture-based)
    • social links validation (including external domain check custom command)
    • logo dimension checks + negative assertion
    • extra scenario for "Get in Touch" link integrity
  • Part 2: https://altex.ro shopping flow
    • Prefiltered TV list (rating >= 3, price ascending, brand Samsung)
    • accessory list filtered to same brand with rating >= 3, choose lowest price
    • add both to cart, verify brand-presence in cart items, and validate total

Notes / Assumptions

  • UI selectors on public sites can change; selectors include fallbacks to reduce fragility.
  • Part 2 accessory query uses Samsung telecomanda as a practical "same-brand accessory" category.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors