Coder Social home page Coder Social logo

applitools / example-cypress-javascript Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 13.0 536 KB

Applitools Example: Cypress in JavaScript

Home Page: https://applitools.com/tutorials/quickstart/web/cypress

License: Apache License 2.0

JavaScript 100.00%
applitools applitools-example applitools-eyes applitools-tutorial cypress javascript test-automation tutorial ultrafast-grid visual-testing

example-cypress-javascript's Introduction

Applitools Example: Cypress in JavaScript

This is the example project for the Cypress JavaScript tutorial. It shows how to start automating visual tests with Applitools Eyes and Cypress in JavaScript.

It uses:

To run this example project, you'll need:

  1. An Applitools account, which you can register for free
  2. Node.js version 16 or higher
  3. A good JavaScript editor like Visual Studio Code
  4. Up-to-date versions of the following browsers:

To install project dependencies and set up Applitools Eyes, run:

npm install
npx eyes-setup

The Applitools config file is applitools.config.js. The main test spec is acme-bank.spec.js.

To execute tests, set the APPLITOOLS_API_KEY environment variable to your account's API key.

Then, to open the Cypress window for launching tests, run:

npx cypress open

If you want to run tests directly from the command line, run this instead:

npx cypress run

For full instructions on running this project, take our Cypress JavaScript tutorial!

example-cypress-javascript's People

Contributors

automationpanda avatar mattyj10 avatar mjapplitools avatar sophiedepaula avatar

Stargazers

 avatar  avatar

Watchers

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