You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

cypress-example-kitchensink

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-example-kitchensink

This is an example app used to showcase Cypress.io testing. For a full reference of our documentation, go to docs.cypress.io


Version published
Weekly downloads
386
decreased by-57.16%
Maintainers
2
Install size
3.74 MB
Created
Weekly downloads
 

Readme

Source

Kitchen Sink Circle CI Travis CI Codeship Status for cypress-io/cypress-example-kitchensink

kitchensink

This is an example app used to showcase Cypress.io testing. The application utilizes every command available in Cypress for demonstration purposes. Additionally this example app is configured to run tests in Travis CI and CircleCI. The tests are also heavily commented. For a full reference of our documentation, go to docs.cypress.io.

To see the kitchen sink application, visit example.cypress.io.

Features:

  • Querying
  • Traversal
  • Actions
  • Viewport
  • Navigation
  • Aliasing
  • Waiting
  • Network Requests
  • Fixtures
  • Local Storage
  • Cookies

Help + Testing

The steps below will take you all the way through Cypress. It is assumed you have nothing installed except for node + git.

If you get stuck, here is more help:

1. Install Cypress

Follow these instructions to install Cypress.

2. Fork this repo

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

After forking this project in Github, run these commands:

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

## cd into the cloned repo
cd cypress-example-kitchensink

## install the node_modules
npm install

## start the local webserver
npm start

The npm start script will spawn a webserver on port 8080 which hosts the Kitchen Sink App.

You can verify this by opening your browser and navigating to: http://localhost:8080

You should see the Kitchen Sink App up and running. We are now ready to run Cypress tests.

3. Add the project to Cypress

Follow these instructions to add the project to Cypress.

4. Run in Continuous Integration

Follow these instructions to run the tests in CI.

Changelog

0.2.1
  • removed selenium references
0.2.0
  • added examples of new cypress cookie commands
0.1.5
  • removed relative cy.visit which causes errors on new projects
0.1.4
  • updated node version to 5.10.0
0.1.3
  • renamed visitTimeout option to pageLoadTimeout
0.1.2
  • updated links to be https
0.1.1
  • added cy.reload(true) example
0.1.0
  • initial release

FAQs

Package last updated on 17 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc