Automated front-end website testing with Cypress
Monje Morales, Alejandro Alfredo (2023)
Monje Morales, Alejandro Alfredo
2023
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-2023092026089
https://urn.fi/URN:NBN:fi:amk-2023092026089
Tiivistelmä
This thesis explores Cypress as a modern JavaScript-based testing framework for website testing. It aims to examine Cypress's features, pros, and cons compared to other tools, offering practical guid-ance on test creation, execution, reporting, and its potential for security testing. The thesis starts by highlighting the importance of software testing and website testing in the soft-ware-driven world. It discusses Cypress's architecture, native access features, and its unique testing approach. It also identifies scenarios where Cypress excels in web application testing.
The practical aspects of Cypress are extensively covered, including test syntax, DOM terminology, locator usage, and essential commands and assertions. The thesis discusses test execution, reporting, integration with CI/CD pipelines, and explores Cypress's potential for performance and load testing. Lastly, it delves into security testing using Cypress, identifying techniques for evaluating web application security.
The practical aspects of Cypress are extensively covered, including test syntax, DOM terminology, locator usage, and essential commands and assertions. The thesis discusses test execution, reporting, integration with CI/CD pipelines, and explores Cypress's potential for performance and load testing. Lastly, it delves into security testing using Cypress, identifying techniques for evaluating web application security.