GithubHelp home page GithubHelp logo

mahnoorfatiima / cypress-automation Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 24 KB

Basic Template for Cypress Automation Tests in Javascript

JavaScript 100.00%
bestfit-e2e-testing cypress-io cypress-vs-playwright-battle javascript

cypress-automation's Introduction

Cypress-Automation

Basic Template for Cypress Automation Tests in Javascript

This open-source project was created during discovery of best-fit tool for Icon web application


Key Findings

  • Speed Comparison: Cypress took ~58s, ~54s, ~54s to run all 3 tests and averaged ~55 seconds (slower than Playwright)

  • Test Framework: Cypress is considered more of a “package offering” when compared to Playwright, as it generates a folder system with example files which can assist testing teams, though testers must work within the confines of the existing test runner framework.

  • Additional Downloads: In cypress you have to download a plugin for different components. To support iframes you have to download following npm install -D cypress-iframe

  • Test Recording: Similarly to record and play you have to enable an additional cypress component. Cypress Studio does not support writing tests that use domains of multiple origins

  • Navigating to new Domain: Cypress provides recipes to open pages from external domain however you need to set chromeWebSecurity to false in order to run them. But there is no alternative for firefox, cross-domain tests would fail in Firefox

cypress-automation's People

Contributors

mahnoorfatiima avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.