Skip to content

pulsarml/qa-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QA Challenge - Cypress Test Project

Tasks

  1. Run the tests in the 2 modes
  2. Figure out why one of the tests is failing
  3. Implement login flow (ask for a user/password if not provided)
  4. In the second test, test whether the machine list in the realtime page loads correctly
  5. Move the login flow to a Cypress command so that it can be reused in other tests
  6. (bonus) Do not hard-code user password

Project Structure

qa-challenge/
├── cypress/
│   ├── e2e/
│   │   └── main-test.cy.js    # Main test file
│   ├── support/
│   │   └── e2e.js             # Support file for global configurations
│   └── fixtures/              # Test data files (if needed)
├── cypress.config.js          # Cypress configuration
├── package.json               # Project dependencies and scripts
└── README.md                  # This file

Prerequisites

  • Node.js (version 20 or higher)
  • npm

Installation

  1. Install dependencies:
    npm install

Usage

Run tests in headless mode

npm test
# or
npm run cypress:run

Open Cypress Test Runner (GUI)

npm run test:open
# or
npm run cypress:open

About

Live QA automation test using Cypress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published