Git Product home page Git Product logo

cypress-stub-api's Introduction

Quick Start

This application uses yarn you are welcome to use npm if you wish. Install modules needed: yarn Start application: yarn start Open Cypress: yarn cypress-open Run all Cypress Tests: yarn cypress-run

Getting Started

First fork this repository into your own GitHub account by clicking the ‘Fork’ button in the top right: https://github.com/GraceATree/playground-cypress-dashboard

Once GitHub has finished copying you should now see this repository under your GitHub username with below the original repository that you Forked from.
‘<Your_UserName>/playground-cypress-dashboard’

Now click on the big green ‘Code’ button copy the Https link of GitHub repository.

Now go to the terminal and run the following command to clone this repository to your local machine.

git clone <link to your GitHub repo>

Now open your repository that you just cloned down by typing code . to open in visual studio code. Here lets take a look at the package.json file. In this file is all the dependencies that will be needed to run the application along with developer dependencies such as our Cypress engine. If we take a look at the scripts object we can see commands that we can use to get started. However these commands run through our project dependencies that need to be downloaded and installed. We will do this by opening up a terminal inside visual studio code (the IDE) through ‘Terminal-> New Terminal’ and typing yarn

Now the dependencies (including cypress) are installed we can run npx cypress open which will open up the Cypress UI. Now let’s test we have managed to integrate. We will do this by opening another terminal inside of visual studio code to run the application with yarn start. Once the application is running you should see this message ‘Compiled successfully’ in the terminal.

Please feel free to send me a linkedIn connection request: https://www.linkedin.com/in/treeofgrace/

cypress-stub-api's People

Contributors

thetreeofgrace avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.