Coder Social home page Coder Social logo

mayank2193 / cypress-example-kitchensink Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 4dvanceboy/cypress-example-kitchensink

0.0 0.0 0.0 11.08 MB

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

Home Page: https://example.cypress.io/

License: MIT License

CSS 1.72% HTML 70.46% JavaScript 27.08% Dockerfile 0.72% Shell 0.02%

cypress-example-kitchensink's Introduction

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

cypress-example-kitchensink's People

Contributors

4dvanceboy avatar adinaja avatar amirrustam avatar avanslaars avatar bahmutov avatar blumk avatar brian-mann avatar chrisbreiding avatar davertmik avatar flotwig avatar greenkeeper[bot] avatar ittus avatar jennifer-shehane avatar jgarplind avatar joelgrimberg avatar jthoenes avatar kevinold avatar kuceb avatar l3o-pold avatar nanoflat avatar noelarzola avatar patleeman avatar poziworld avatar renovate-bot avatar renovate[bot] avatar ryanpedersen42 avatar sj26 avatar thanarie avatar trima74 avatar yochannah 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.