...

/

Getting Started with Cypress

Getting Started with Cypress

Learn how to efficiently run Cypress tests using both the Cypress GUI and the IDE command line.

We can use both the Cypress GUI and the IDE to run the Cypress tests. Launching the Cypress GUI is done by running the following command:

npx cypress open

The Cypress GUI

After launching the Cypress GUI, we will be presented with three windows:

  • Specs: This gives an overview of scripts and execution. In this window, we can launch a single JavaScript or TypeScript test against any of the local browsers.

  • Runs: In this window, we can log in to the dashboard and run tests in parallel, identify test flakiness and debug failures, manage multiple users and organizations, integrate easily with the Jira defect management tool as well as CI tools, and get more scaled analytics on the overall test suites.

  • Settings: In this window, we can review our Cypress workspace configuration, the Node.js version used, the proxy settings configuration, the file opener preference, and so on: ...