Skip to content

kmishra-BRONZA/cypress-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example - How To Use Cypress Tool For Creating Automated Tests

Motivation

  • This project was created to simulate automated tests in the Micro Frontend project, using Cypress testing tool.

Project Structure

├── cypress - Package managed by the Cypress
│   ├── fixtures - All the stubs should be stored here
│   ├── integration - Package with the automated tests files
│   └── ...
├── package.json 
└── cypress.json - Config file: https://docs.cypress.io/guides/references/configuration.html

Pre-requisites

  1. The Node version used in this project is 14.10.0. Maybe you can have some issues during npm install using an old version (< 14.0.0);
  2. As the Cypress is a Desktop application, you need to install the Cypress locally using this command:
  3. Install the project's dependencies in the local node_modules folder:
    • Run $ npm install

How To Guides

How to run the tests manually via Cypress UI?

How to run all the tests?

Screenshots

  • When you execute $ npm run cy:open and select one automated test to run:

  • When you execute $ npm run cy:run:

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published