Coder Social home page Coder Social logo

desmondsanctity / cypress-test-framework Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 42 KB

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

TypeScript 100.00%
cicd circleci cypress test-automation typescript

cypress-test-framework's Introduction

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:

cypress-test-framework's People

Contributors

desmondsanctity avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.