Skip to content

Various Cypress framework features (POM, Hooks, Reporters, Custom Commands...) and Automation Scenarios covered

Notifications You must be signed in to change notification settings

AbdelQA/Cypress-JavaScript-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress Tests using Dummy APIs & Conduit Test Site

(NOTE: Work In Progress)

Automation Scenarios include:

  • UI testing
  • API testing
  • Assertions
  • Page Object Models (POMs)
  • Custom Commands
  • Before/BeforeEach, After/AfterEach Hooks
  • Setting up Fixtures
  • Running tests in headless mode
  • Reporters (Mochawesome Reports)
  • Custom Scripts
  • Cross-browser testing

Installing:

npm install

Running Tests (Headless Mode):

npx cypress run

Running Tests (Headed Mode, Cypress UI):

npx cypress open

API Tests:

apiTests.cy.js

Login Tests:

loginTests.cy.js

Error Validation Tests:

errorsTests.cy.js

Functionality Tests:

functionalityTests.cy.js

Results (15 Tests in ~23 Seconds)

image image image image

Results in Headless Mode (~21 Seconds)

image

Results in Mochawesome HTML Report

image