Automated Testing for React Web Application with Cypress
Al-Ajily, Mohamed (2022)
Al-Ajily, Mohamed
2022
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2022120526431
https://urn.fi/URN:NBN:fi:amk-2022120526431
Tiivistelmä
This paper is about implementing visual testing and improving test automation at Gemilo oy as a case study. Gemilo's development team was looking for automated visual tests for HTML embedded templates such as PDF and email templates and to improve the existing testing processes in their running CRM application. These visual tests verify that the UI user interface appears correct to the end user and that each element of the web application appears in the correct shape, size, and position.
With the help of Cypress documentation and the development team, it was easy to implement the visual test cases and improve some test cases for the CRM application. The Gemilo development team was pleased with the final implementation of the test work. It appeared promising to them.
Currently, the CRM application has a fully functional automated visual testing environment that reduces the team's effort in testing the PDF and email templates.
The work is mainly based on the author's personal experience as well as Internet sources such as Cypress' official website, e-books, and articles.
The result of the work is a step-by-step description of automated visual testing with Cypress. It can guide testers through the process of test automation. It can also help testers quickly understand the basic concept of the tool and the benefits of Cypress and test automation. It provides tips for creating more reliable test scripts.
With the help of Cypress documentation and the development team, it was easy to implement the visual test cases and improve some test cases for the CRM application. The Gemilo development team was pleased with the final implementation of the test work. It appeared promising to them.
Currently, the CRM application has a fully functional automated visual testing environment that reduces the team's effort in testing the PDF and email templates.
The work is mainly based on the author's personal experience as well as Internet sources such as Cypress' official website, e-books, and articles.
The result of the work is a step-by-step description of automated visual testing with Cypress. It can guide testers through the process of test automation. It can also help testers quickly understand the basic concept of the tool and the benefits of Cypress and test automation. It provides tips for creating more reliable test scripts.
