Skip to content

ankur-lt/cypress-example-kitchensink

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kitchen Sink renovate-app badge semantic-release

kitchensink LambdaTest Logo

This is an example app used to showcase Cypress.io testing. The application uses every API command in Cypress for demonstration purposes. Additionally this example app is configured to run tests in various CI platforms. 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.

Help + Testing

If you get stuck, here is more help:

1. 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 && npm install -g lambdatest-cypress-cli

## generate LambdaTest Config
lambdatest-cypress init

LambdaTest Authentication Credentials: Make sure you have your LambdaTest credentials with you to run test automation scripts with Jest on LambdaTest Selenium Grid. You can obtain these credentials from the LambdaTest Automation Dashboard or through LambdaTest Profile.

Set LambdaTest Username and Access Key in environment variables.

  • For Linux/macOS:

    export LT_USERNAME="YOUR_USERNAME"

    export LT_ACCESS_KEY="YOUR ACCESS KEY"

  • For Windows:

    set LT_USERNAME="YOUR_USERNAME"

    set LT_ACCESS_KEY="YOUR ACCESS KEY"

Edit lambdatest-config.json for desired os/browser combination and Specs location. please refer for LambdaTest Capability Generator for list of available combination.

## launch the lambdatest-cypress test runner
lambdatest-cypress run

You'll get a link to LambdaTest Dashboard like https://automation.lambdatest.com/logs/?build=xxxxx You should see the Kitchen Sink App up and running at lambdatest grid.

2. Install & write tests in Cypress

Follow these instructions to install and write tests in Cypress.

Contributing

Check out the Contributing Guideline.

Changelog

About

This is an example app used to showcase Cypress.io testing.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 70.5%
  • JavaScript 27.1%
  • CSS 1.7%
  • Other 0.7%