This repo contains UI Testing using Cypress in Javascript.
Author: Tam Pham (Kyle)
Instruction:
- Clone this Repo and open using Visual Studio Code
- Open Terminal inside Visual Studio Code and run [ npm install ] to install required packages (Make sure your machine got node.js + npm, more information: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
- Open Terminal inside Visual Studio Code, Run command [ npx cypress run --reporter mochawesome ] to start Cypress in Headless mode, let it run and finish by itself, you can also find a report inside the reports folder name as: mochawesome.html (open it using any prefer browser)
Note:
- This project is based on ZujuGP/qa-cypress-eval (URL: https://github.com/ZUJUGP/qa-cypress-eval)
Video Demo: [Please access this link: https://youtu.be/hNuFbbYEcEc]
mochawesome report plugin (Can generate a report html file and video)
Spec file
Functions
Folder Structure