Skip to content

A boilerplate for setting up Cypress test framework with Circle CI for CI/CD in a Typescript project.

Notifications You must be signed in to change notification settings

DesmondSanctity/cypress-test-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress Sample

Cypress automation framework skeleton with Typescript.

CYPRESS-SAMPLE
├───cypress
│   ├───downloads
│   ├───fixtures
│   ├───integration
│   ├───pages
│   ├───plugins
│   ├───screenshots
│   ├───support
│   └───videos
└───node_modules

Local Setup:

  1. Install Microsoft Visual Studio Code IDE. Ignore this if already installed.
  2. Install Nodejs on your system. Ignore this if already installed.
  3. Install Git on your system. Ignore this if already installed.
  4. git clone https://github.com/DesmondSanctity/cypress-test-framework.git or download master branch zip and extract code.
  5. Open project folder with VSCode.
  6. Run npm install command to restore all packages.
  7. Run npm run cypress:test command to run test.

New Setup:

  1. Install Microsoft Visual Studio Code IDE. Ignore this if already installed.
  2. Install Nodejs on your system. Ignore this if already installed.
  3. Install Git on your system. Ignore this if already installed.
  4. Open project folder with VSCode.
  5. Run npm init -y command to initilized project.
  6. Run npm install cypress --save-dev command to install cypress.
  7. Run npm install typescript --save-dev command to install typescript.
  8. Run npx tsc --init --types cypress --lib dom,es6 command to configure typescript.
  9. Run npx cypress open command to run test.

References:

About

A boilerplate for setting up Cypress test framework with Circle CI for CI/CD in a Typescript project.

Topics

Resources

Stars

Watchers

Forks