/cypress-notes

Cypress notes for my students

Primary LanguageJavaScriptMIT LicenseMIT

cypress-notes

Cypress notes for my students

Table of Contents

  1. Introduction
    1. Introduction to Testing
    2. Types of Testing
    3. Introduction to Cypress
    4. Environment Setup
  2. Cypress Hello World
    1. Cypress Test Runner
    2. Types of testing in cypress
    3. An example of end-to-end testing
    4. variables and aliases
    5. Running Tests in Supported Browsers
    6. Cypress Command Line
  3. Cypress Selectors
    1. Introduction to CSS Selector
    2. Auto Generating CSS Selector
  4. Assertions
    1. Basic Assertions
    2. Negative Assertions
    3. Chai Assertion
      1. BDD Assertions
      2. TDD Assertions
    4. Should Callback
    5. Multiple Assertions
  5. Interacting with UI elements
    1. Handling Clicks (button, check box, radio button, etc.)
    2. Handling double clicks and right clicks
    3. Handling Type events (text box, calendar, etc.)
    4. Handling drop downs
    5. Handling table elements
    6. Handling Mouse Hover Popups
  6. Network Requests
    1. Cypress Requests
    2. Cypress Intercepts
    3. Stubbing Responses
    4. Routing
    5. Using Fixtures
    6. Waiting
  7. Data Driven Testing
    1. Using Fixtures
    2. Using Images as fixtures
    3. Parameterizing Test Data
  8. Working with environment variables
    1. Using Configuration files
    2. Using Cypress.env.json
    3. Using System Environment Variables
    4. Using --env arguments in command line
    5. Setting custom environment variables in test configuration
  9. Cypress Plugins
    1. Cypress Plugins List
    2. Installing Cypress Plugins
    3. Using Plugins

Resources and References