Giter Club home page Giter Club logo

cypress-visual-tests's Introduction

Help + Running tests locally

The steps below will take you all the way through Cypress.

If you get stuck, here is more help:

1. Install Cypress

Follow these instructions to install Cypress.

2. Run tests locally using Cypress App

If you’re not using Node or npm in your project or you want to try Cypress out quickly, you can always download Cypress directly from CDN. Follow these instructions to install Cypress.

If you want to experiment with running this project locally, you'll need to fork it first.

After forking this project in Github, follow these commands to run tests locally:

## Clone the repo locally
git clone https://github.com/<your-username>/cypress-visual-tests.git

##Install image snapshot package using npm
npm install --save-dev cypress-image-snapshot

##  Launch cypress desktop app

## Open local repo manually from cypress app or drag-drop it in cypress app
Click "visual-test.spec.js"

3. Experiment with tests using npm and terminal

If you want to experiment with running this project locally with npm, you'll need to fork it first.

After forking this project in Github, follow these commands to run tests locally using npm:

## clone this repo to a local directory
git clone https://github.com/<your-username>/cypress-visual-tests.git

## cd into the cloned repo
cd cypress-visual-tests

## install the node_modules
npm install

## start the tests
cypress run

4. Add the project to Cypress

Follow these instructions to add the project to Cypress.

5. Run in Continuous Integration

Follow these instructions to run the tests in CI.

cypress-visual-tests's People

Contributors

imrohitsinghal 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.