A repository of a Cypress testing demo

Overview

adeoweb-cypress-demo

This is a repository of a Cypress testing demo. Based on adeoweb.biz website case study.

What is this talk

We will 👀 live-code a demo following this plan:

  1. Cypress Setup
  2. ✍️ Writing your first test
  3. 🏃 Running tests and results inside Cypress Dashboard
  4. 📗 Organizing tests and custom functions
  5. 💡 Tips & Tricks

How do we prioritize?

  • Identify the company/website mission - to understand better where to start testing backlog
  • Writing User stories based tests

Tips and tricks

  1. Testing id's: data-test="element-id"
  2. Periodical uptime monitoring
  3. Automated lighthouse/pagespeed testing
  4. CI/CD Integration

Used Commands

  • npm install cypress / yarn add cypress
  • npx cypress open / yarn run cypress open

Cypress Lighthouse Testing

To Setup npm i -D cypress @cypress-audit/lighthouse

TODO:

Cypress Dashboard Integration - https://dashboard.cypress.io/ CI/CD Integration - https://docs.cypress.io/guides/guides/integration-and-e2e-testing.html

Usefull links

Cypress Dashboard

https://dashboard.cypress.io/projects/2xqgvz/runs/1/test-results/3a31a62d-a970-4820-9e81-d249295be59f

You might also like...

A cypress plugin for projects using @azure/msal-browser

A cypress plugin for projects using @azure/msal-browser

A cypress plugin for projects using @azure/msal-browser

Aug 11, 2022

Run cucumber/gherkin-syntaxed specs with Cypress

cypress-cucumber-preprocessor This preprocessor aims to provide a developer experience and behavior similar to that of Cucumber, to Cypress. Installat

Dec 7, 2022

Export Cypress Tests from Google Chrome DevTools' Recorder

@cypress/chrome-recorder This repo provides tools to export Cypress Tests from Google Chrome DevTools' Recordings Installation $ npm install -g @cypre

Dec 20, 2022

A simple application to estuding tests end-to-end in Angular with Cypress

Conhecimento sobre testes End to End (ponta a ponta) Sobre o Cypress: Testes feitos do sistema para ver como um usuário se comportaria, esses testes é

Jun 15, 2022

Enable hover capabilities for Cypress. 🛸

cypress-hover 🛸 Enable hover capabilities for Cypress 🛸 with zero dependencies! 💯 Installation npm install cypress-hover Usage In your cypress/sup

Sep 1, 2022

Easy conditional if-else logic for your Cypress testsDo not use

Easy conditional if-else logic for your Cypress testsDo not use

cypress-if Easy conditional if-else logic for your Cypress tests Tested with cy.get, cy.contains, cy.find, .then, .within commands in Cypress v9 and v

Dec 14, 2022

Cypress Boilerplate with Cucumber (BDD)

Cypress Boilerplate with POM and Cucumber Download & Configuration npm init -- package.json npm install cypress cypress-cucumber-preprocessor -- pac

Nov 4, 2022

A template for your Next.js projects including Typescript, Eslint, Prettier, Jest, Cypress and Docker.

A template for your Next.js projects including Typescript, Eslint, Prettier, Jest, Cypress and Docker.

Next.js Template Quickly start a new Next.js project A template for your Next.js projects including Typescript, Eslint, Prettier, Jest, Cypress and Do

Oct 7, 2022

A demo of LaunchDarkly, React, and Vite, using the Pokémon API!

A demo of LaunchDarkly, React, and Vite, using the Pokémon API!

Pokémon Feature Flags demo Here's a demo for integrating feature flags into a React project! Built with React, Vite, the PokeAPI, and LaunchDarkly! Wh

Jan 5, 2022
Owner
Eimantas
Web artisan from Lithuania. CEO @ EIM Solutions / Lecturer @ BIT / CTO @ B2BWood / Rockstar @ Life
Eimantas
Cypress commands are asynchronous. It's a common pattern to use a then callback to get the value of a cypress command

cypress-thenify Rationale Cypress commands are asynchronous. It's a common pattern to use a then callback to get the value of a cypress command. Howev

Mikhail Bolotov 15 Oct 2, 2022
A testing focused Remix Stack, that integrates E2E & Unit testing with Playwright, Vitest, MSW and Testing Library. Driven by Prisma ORM. Deploys to Fly.io

Live Demo · Twitter A testing focused Remix Stack, that integrates E2E & Unit testing with Playwright, Vitest, MSW and Testing Library. Driven by Pris

Remix Stacks 18 Oct 31, 2022
Nftix-demo-ui - Demo UI used in my NFT course on Egghead.io

NFTix Demo UI This repository contains the UI used for my Egghead course on building a NFT ticketing system ?? ?? If you're watching the videos, use t

Ryan Harris 10 Dec 17, 2022
Api for playing around with dummy data. Feel free to use it in your demo projects, tutorials, or testing tasks.

dummy-api Api similar to dummy-api Api for playing around with dummy data. Feel free to use it in your demo projects, tutorials, or testing tasks. All

Donald Wu 4 Jan 7, 2023
Javascript-testing-practical-approach-2021-course-v3 - Javascript Testing, a Practical Approach (v3)

Javascript Testing, a Practical Approach Description This is the reference repository with all the contents and the examples of the "Javascript Testin

Stefano Magni 2 Nov 14, 2022
AREX: It is a “Differential Testing” and “Record and Replay Testing” Tool.

AREX: It is a “Differential Testing” and “Record and Replay Testing” Tool. Test restful API by record, replay and stub request/response. Differential

ArexTest 15 Nov 1, 2022
A demo repository to play around with Vivid! Styled with Tailwind CSS

vivid-demo A demo repository to play around with Vivid! Mess around with a copy of our landing page to see how Vivid works! Learn more about Vivid at

Aryaman Khandelwal 5 Dec 15, 2022
🚀Starter project with Angular 13, Ngx-admin, NestJS, Nx Workspace, Jest, Cypress, ESLint & Prettier 🚀

Angular 13 + Ngx-admin + NestJs + NX Starter project with Angular 13, Ngx-admin, NestJs, Nx Workspace, Jest, Cypress, ESLint & Prettier Features ✅ Ang

Wilfried 49 Jan 4, 2023
Projeto de exemplo para realização de testes de integração (API) utilizando o Cypress

Projeto de exemplo para realização de testes de integração (API) utilizando o Cypress

Robson Agapito Correa 14 Nov 28, 2022
Access the internals of React components from Cypress end-to-end tests

cypress-react-app-actions Access the internals of React components from Cypress end-to-end tests Read Access React Components From Cypress E2E Tests a

Gleb Bahmutov 5 May 12, 2022