Engineering  •  2 min read

Start Cypress E2E with Kitchen Sink

5th September 2019

2 mins.

Cypress Kitchen Sink contains a fully working web app in the app folder, but the folder you need to copy over is the  folder. It contains 4 subfolders:

“cy:run”: “cypress run”,
“cy:run:record”: “cypress run –record”,
“cy:open”: “cypress open”,

"cypress": "3.4.1",    
"eslint": "5.16.0",    
"eslint-plugin-cypress": "2.6.1",    
"eslint-plugin-cypress-dev": "2.1.0",    
"eslint-plugin-mocha": "5.3.0",
cypress/screenshots
cypress/videoscypress/logs
cypress/fixtures/profile.json
cypress/fixtures/users.json

Now you would have cypress integrated with lint and gitignore. Just run yarn && yarn cy:open to get started.

Continuing our journey

This is the first Cypress article from Metigy. It’s the start of the journey for us to embrace E2E in our development. Our future Cypress articles are coming soon and include:

  • Cypress Lambda
  • How to setup standardjs to lint Cypress
  • How to deal with iframes in Cypress

How have your experiences been using Cypress? Let us know in the comments below and if you have any tips!

Leave a reply?

Your email address will not be published. Required fields are marked *