LiveLoveApp logo

Cypress In One Day Workshop

Learn the basics of end-to-end and integration testing using Cypress in one day.

Schedule Cypress In One Day Workshop

Cypress is an open source JavaScript test runner that executes tests in the browser that is controlled by a Node.js runtime. Cypress provides a simple API for writing tests in JavaScript. Debugging tests using Cypress is easy since the process is familiar to web developers. All of this enables JavaScript developers to write, debug, and execute end-to-end tests easier and faster using Cypress compared to traditional tools.


  1. Getting Started with Cypress
    1. Installing Cypress
    2. Launching the test runner
    3. Using cy.visit()
    4. Writing your first test
  2. Finding Elements
    1. It's just jQuery (but better)
    2. Use get() to find elements
    3. Use contains() to find by text
    4. Chaining commands
    5. Best practices
  3. Interactions
    1. Use type() to type into an input
    2. Use click() to click an element
    3. Use clear() to clear an input
    4. Using check() and uncheck() with checkboxes
    5. Use select() to select an option
  4. Assertions 6. Default assertions 7. Chai-based assertions using should() 8. Chaining implicit assertions using and() 9. Explicit assertions
  5. Subjects and Promises
    1. Commands yield a subject
    2. Use of .then() for asynchronous code
  6. Timeouts
    1. Timeouts for default assertions
    2. Modifying timeouts
    3. Using cy.wait()
  7. Variables and Aliases
    1. Asserting mutable values
    2. Create alias using as() command
    3. Access alias via this scope
    4. Access alias via get(@)
  8. Fixtures
    1. Creating a fixture with cy.fixture()
    2. Using fixtures to bootstrap data
  9. Capstone Test


The goals of the Cypress in One Day course are:

  1. Learn how to install and write a basic integration test using Cypress
  2. Query for elements in the DOM and the best practices for finding elements
  3. Interact with elements as a user would
  4. Understand the default assertions provided by Cypress
  5. Creating explicit assertions using Cypress
  6. Understand how commands in Cypress yield a subject and the asynchronous nature of Cypress
  7. How Cypress reduces flake using timeouts
  8. Creating variables and aliases
  9. Defining fixtures and bootrapping data
  10. Writing clean and effective integration tests using Cypress


Students should be familiar with the following technologies:

  • JavaScript

Can’t find the topic you are looking for? Contact Us  to learn about our custom training solutions.

Get Expert Led Training For Your Team
Schedule Cypress In One Day Workshop