Comparative analysis of Cypress and Playwright frameworks in end-to-end testing for applications based on Angular
Article Sidebar
Open full text
Issue Vol. 36 (2025)
-
Classification of cyber attacks in IoMT networks using deep learning: a comparative study
Asif Rahman Rumee232-242
-
Assessing the memorability and usability of the Gutenberg Editor Interface in the Drupal CMS
Paweł Iwon, Marek Miłosz243-250
-
Analysis of the directions of development of digital aesthetics on the example of Windows interfaces
Maksymilian Cegiełka, Marek Miłosz251-257
-
Analysis of the effectiveness of the portal integrating various tender platforms
Adrian Krzysztof Jedynak, Marek Miłosz258-261
-
Review and assessment of the quality of applications related to diet man-agement using the Mobile App Rating Scale (MARS)
Kamil Lewartowski, Marek Miłosz262-265
-
Comparison of the accessibility of websites of voivodeship cities in Poland
Dawid Drzewiecki, Marek Miłosz266-270
-
Study of factors affecting the performance of web applications on mobile devices
Jarosław Królikowski, Marek Miłosz271-277
-
The impact of changing graphic settings on performance in selected video games
Łukasz Stanik, Marek Miłosz278-283
-
Analysis of the use of Angular and Svelte products in mobile web applications
Michał Nurzyński, Marcin Badurowicz284-288
-
Comparative analysis of web and mobile interfaces of popular sales portals
Kacper Dudek, Marek Miłosz289-295
-
Comperative analasys of JavaScript runtime environments
Konrad Kalman, Marek Miłosz296-302
-
Image classification using PyTorch and Core ML
Jakub Ślusarski, Arkadiusz Szumny, Maria Skublewska-Paszkowska303-311
-
Analysis of ergonomics and security of email software
Marceli Szarapajew, Tomasz Szymczyk312-319
-
Comparative analysis of Cypress and Playwright frameworks in end-to-end testing for applications based on Angular
Przemysław Gosik, Marek Miłosz320-327
-
Password managers: a critical review of security, usability, and innovative designs
Hussein Abdulkhaleq Saleh328-335
-
Benchmarking the performance of Python web frameworks
Bartłomiej Bednarz, Marek Miłosz336-341
-
Comparison of chosen image classification methods on Android
Mariusz Zapalski, Patryk Żabczyński, Paweł Powroźnik342-349
-
Performance evaluation of REST and GraphQL API aproaches in data retrieval scenarios using NestJS
Kacper Stępień, Maria Skublewska-Paszkowska350-356
-
Comparative analysis of cross-platform application development tools in terms of operating system integration
Rafał Milichiewicz, Marcin Badurowicz357-364
-
Comparative analysis of selected mobile applications for language learning
Jakub Furtak, Emilia Drabik365-370
Main Article Content
DOI
Authors
przemyslaw.gosik@pollub.edu.pl
Abstract
The aim of this article is to present the results of a comparative analysis of the Cypress and Playwright frameworks, focusing on their efficiency in the end-to-end testing of Angular-based web applications. At the outset, a hypothesis was formulated that Playwright surpasses Cypress in testing Angular-based applications due to lower memory consumption, faster execution of end-to-end tests, and better support for tests across multiple browsers. Subsequently, a study was conducted, which involved implementing defined test scenarios in both tools. The time and memory consumption of each automated test were measured. Additionally, the ease of use of the tools was evaluated by analysing the length of the code required for each test and the resulting file size. The experiment fully confirmed the formulated hypothesis.
Keywords:
References
[1] W. T. Tsai, X. Bai, R. Paul, W. Shao, V. Agarwal, End-to-end integration testing design, In 25th Annual International Computer Software and Applications Conference (COMPSAC) (2001) 166–171, https://doi.org/10.1109/CMPSAC.2001.960613. DOI: https://doi.org/10.1109/CMPSAC.2001.960613
[2] BrowserStack - practical guide to E2E testing. End to End testing: Tools, Types and Best Practices, https://www.browserstack.com/guide/end-to-end-testing, [24.11.2024].
[3] R. Soundarya, B. K. Srinivas, Automation of End-to-End Testing and Their Importance, Int. J. Res. Appl. Sci. Eng. Technol. 10(7) (2022) 4280–4283, https://doi.org/10.22214/ijraset.2022.45940. DOI: https://doi.org/10.22214/ijraset.2022.45940
[4] B. García, J. M. del Alamo, M. Leotta, F. Ricca, Exploring Browser Automation: a Comparative Study of Selenium, Cypress, Puppeteer, and Playwright, Proceedings of Quality of Information and Communications Technology (QUATIC 2024), Communications in Computer and Information Science 2178 (2024) 142–149, https://doi.org/10.1007/978-3-031-70245-7_10. DOI: https://doi.org/10.1007/978-3-031-70245-7_10
[5] F. Wąsik, M. Pojęta, M. Plechawska-Wójcik, Comparative analysis of selected tools for automation testing of web applications, J. Comput. Sci. Inst. 28 (2023) 229–235, https://doi.org/10.35784/jcsi.3689. DOI: https://doi.org/10.35784/jcsi.3689
[6] P. Pasławski, M. Pańczyk, Comparison of selected tools for automation testing of web applications, J. Comput. Sci. Inst. 31 (2024) 145–150, https://doi.org/10.35784/jcsi.6238. DOI: https://doi.org/10.35784/jcsi.6238
[7] M. Kuutila, M. Mäntylä, P. Raulamo-Jurvanen, Benchmarking web-testing: Selenium versus Watir and the choice of programming language and browser, arXiv Preprint (2016) arXiv:1611.00578, https://doi.org/10.48550/arXiv.1611.00578.
[8] Angular documentation. Home – Angular, https://angular.dev, [24.11.2024].
[9] A. K. Sahani, P. Singh, Web development using Angular: a case study, J. Inf. Electr. Electron. Eng. 1(2) (2020) 1–7, http://doi.org/10.54060/JIEEE/001.02.005. DOI: https://doi.org/10.54060/JIEEE/001.02.005
[10] A. Dwivedi, Angular adventures: crafting smart user interfaces, In CodeMosaic, Apress Berkeley CA (2024) 147-174, https://doi.org/10.1007/979-8-8688-0276-8_5. DOI: https://doi.org/10.1007/979-8-8688-0276-8_5
[11] S. Balsam, D. Mishra, Web application testing—challenges and opportunities, J. Syst. Softw. 219 (2025) 112186, https://doi.org/10.1016/j.jss.2024.112186. DOI: https://doi.org/10.1016/j.jss.2024.112186
[12] S. Doğan, A. Betin-Can, V. Garousi, Web application testing: a systematic literature review, J. Syst. Softw. 91 (2014) 174–201, https://doi.org/10.1016/j.jss.2014.01.010. DOI: https://doi.org/10.1016/j.jss.2014.01.010
[13] W. Mwaura, End-to-End Web Testing with Cypress: explore techniques for automated frontend web testing with Cypress and JavaScript, Packt Publishing, Birmingham, 2021.
[14] K. Pathak, Web automation testing using Playwright, BPB Publications, New Delhi, 2025.
[15] C. Augusto, Toward an efficient end-to-end test suite execution, In 2023 IEEE 34th International Symposium on Software Reliability Engineering Workshops (2023) 26–29, https://doi.org/10.1109/ISSREW60843.2023.00038. DOI: https://doi.org/10.1109/ISSREW60843.2023.00038
[16] A. R. Fasolino, P. Tramontana, Towards the generation of robust E2E test cases in template-based web applications, In 2022 48th Euromicro Conference on Software Engineering and Advanced Applications (2022) 104–111, https://doi.org/10.1109/SEAA56994.2022.00024. DOI: https://doi.org/10.1109/SEAA56994.2022.00024
[17] Cypress documentation. Why Cypress?, https://docs.cypress.io/guides/overview/why-cypress, [19.10.2024].
[18] Playwright documentation. Fast and reliable end-to-end testing for modern web apps, https://playwright.dev, [19.10.2024].
[19] WebKit project site. The WebKit open source project, https://webkit.org, [19.10.2024].
[20] P. Gosik, D. Grzejszczyk, Web application for learning fast reading, writing and memorizing, Bachelor thesis, Lublin University of Technology, Lublin, 2023.
[21] Schultz Table game example. Schultz Table, https://schultetable.web.app, [30.12.2024].
[22] Flyway documentation. Redgate Flyway documentation, https://documentation.red-gate.com/fd/redgate-flyway-documentation-138346877.html, [30.12.2024].
[23] Python package documentation. psutil, https://pypi.org/project/psutil/, [30.12.2024].
Article Details
Abstract views: 207

