Skip to content

ellaellac/cypress-learning

Repository files navigation

Introduction to Cypress - Test Automation University

This repository contains learning material and examples from the "Introduction to Cypress" course on Test Automation University.

Author

This material and the original course were created by Filip Hric, a Cypress ambassador and educator.


What's in this Repo

This repository serves as a personal record of my learning journey through the "Introduction to Cypress" course from Test Automation University. It contains my solutions, notes, and code examples based on the course's content.

Lessons learnt:

  • Cypress commands and selectors : These are fundamental to writing tests in Cypress. Commands like cy.visit(), cy.get(), and cy.click() are used to interact with web pages.
  • Assertions and interactions with Cypress : This involves verifying the state of the application using assertions (.should(), .and()) and simulating user actions like .click() , .type()
  • Applitools : Basics of visual testing
  • Using fixtures as test data: Fixtures are used to store and manage test data in a separate file, making tests more maintainable and reusable.
  • Cypress with TypeScript : Cypress supports writing tests in TypeScript, which provides static typing and can help catch errors early.
  • Custom Commands : Create own reusable functions, reducing code duplication and improving readability.
  • API testing : Test APIs using the cy.request() command. This is useful for verifying back-end functionality.
  • Utility types: Utility types are used to create new types from existing ones (e.g., Partial<>, Omit<>).

Trello Clone App

The learning material in this repo utilizes a bundled Trello clone app as the application under test. This app, which mimics the popular Trello app, provides a practical environment for practicing core Cypress concepts. You can:

  • Create boards, lists, and cards.
  • Drag and drop cards between lists.
  • Upload pictures to card details.
  • Sign up and log in to create private boards.

About

Introduction to Cypress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors