Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to Cypress

Introduction to Cypress

Sibiu Web Meetup #26

Sibiu Web Meetup

December 15, 2022
Tweet

More Decks by Sibiu Web Meetup

Other Decks in Programming

Transcript

  1. Faceti testare Automata? Insert photo here • Ce fel de

    Testare faceti? • Ce tooluri • Ce frameworkuri • Ce librari
  2. • module.exports = defineConfig({ • e2e: { • experimentalStudio: true,

    • setupNodeEvents(on, config) { • • // implement node event listeners here • }, • }, • }); URL - https://automationintesting.online/ Experimental Studio
  3. • npm install playwright-webkit • const { defineConfig } =

    require("cypress"); • 
 module.exports = defineConfig({ • e2e: { • experimentalStudio: true, • experimentalWebKitSupport:true, • setupNodeEvents(on, config) { • • // implement node event listeners here • }, • }, • }); • 
 Testare “Safari”
  4. • Temporar
 Cypress is not a general purpose automation tool.

    • There will never be support for multiple browser tabs. • You cannot use Cypress to drive two browsers at the same time. • Each test is bound to a single superdomain • Permanent
 There is not any native or mobile events support. • iframe support is somewhat limited, but does work.. Trade Off