En jämförande utvärdering av end-to-end-testningsramverk för webbaserade applikationer med stöd för flera webbläsare : Cypress vs Playwright

In modern web applications, testing plays a vital role in ensuring that all componentsfunction as intended. Web application testing comprises various layers, and this studyspecifically focuses on front-end testing, commonly referred to as End-to-End (E2E) testing.E2E testing evaluates the complete functionality of a website from the perspective of userinteraction, ensuring that visual and functional consistency is maintained across differentweb browsers. This work presents a comparative evaluation of two widely used front-endtesting frameworks: Playwright and Cypress. The study assesses their performance usingkey quantitative metrics, including average execution time, standard deviation, coefficientof variation, and the 95 percentile. The tests were conducted across multiple browsersand screen resolutions, utilizing a real-world web applications and executed on two sepa-rate machines to ensure variability in test environments. The results show that Playwrightexhibits superior performance when leveraging multiple CPU cores, highlighting its scala-bility. Conversely, Cypress demonstrated better performance in single-core configurations,making it a strong candidate in environments with limited computing resources.

Publication Details

Journal
KTH Publication Database DiVA (KTH Royal Institute of Technology)
Published
2025-01-01
Primary Topic
Magnetic confinement fusion research
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

En jämförande utvärdering av end-to-end-testningsramverk för webbaserade applikationer med stöd för flera webbläsare : Cypress vs Playwright

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Magnetic confinement fusion research
article

En jämförande utvärdering av end-to-end-testningsramverk för webbaserade applikationer med stöd för flera webbläsare : Cypress vs Playwright

article en

Abstract

In modern web applications, testing plays a vital role in ensuring that all componentsfunction as intended. Web application testing comprises various layers, and this studyspecifically focuses on front-end testing, commonly referred to as End-to-End (E2E) testing.E2E testing evaluates the complete functionality of a website from the perspective of userinteraction, ensuring that visual and functional consistency is maintained across differentweb browsers. This work presents a comparative evaluation of two widely used front-endtesting frameworks: Playwright and Cypress. The study assesses their performance usingkey quantitative metrics, including average execution time, standard deviation, coefficientof variation, and the 95 percentile. The tests were conducted across multiple browsersand screen resolutions, utilizing a real-world web applications and executed on two sepa-rate machines to ensure variability in test environments. The results show that Playwrightexhibits superior performance when leveraging multiple CPU cores, highlighting its scala-bility. Conversely, Cypress demonstrated better performance in single-core configurations,making it a strong candidate in environments with limited computing resources.

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Linköpings Universitet
Openalex Percentile: Top 34%
Magnetic confinement fusion research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.