Mostrar registro simples

dc.creatorSantos, Fabiana Campos Serra dos
dc.date.accessioned2026-02-20T13:18:29Z
dc.date.available2026-02-20T13:18:29Z
dc.date.issued2026-01-27
dc.identifier.citationSANTOS, Fabiana Campos Serra dos.Implementação de testes automatizados de interface do usuário em sistema web frontend em angular usando cypress.Orientador: Marcelo Romulo Fernandes. 2026. 39 f. Trabalho de Conclusão de Curso (Graduação emTecnologia em Análise e Desenvolvimento de Sistemas) – Instituto Federal de Educação, Ciência e Tecnologia do Rio Grande do Norte, Natal, 2026.pt_BR
dc.identifier.urihttp://memoria.ifrn.edu.br/handle/1044/3130
dc.description.abstractSoftware testing is a fundamental practice to ensure efficiency in test execution and re- execution, especially in frontend systems, which require validation of both internal logic and direct user interaction. This work presents the implementation of automated user interface tests using the Cypress framework in an educational web system developed with Angular, used in the Rich Interface Applications course. Initially, a theoretical review was conducted on the main concepts related to software quality, black-box testing, automated testing, and tools used in frontend development. Subsequently, the Account application is presented, describing its component structure, technologies, and employed tools. Afterwards, the implementation of automated tests is detailed, including the specification of test cases, the application of best practices, the use of custom commands, environment variables, and stable selectors, as well as the implementation of data mocks. The results obtained demonstrate that Cypress presents an accessible learning curve and ease of adoption, enabling the efficient creation and maintenance of automated tests. In addition, the use of the tool contributed to the adoption of development best practices, especially with regard to the standardization and organization of components and selectors aimed at improving application testability. Finally, the tests were integrated into a continuous integration pipeline, enabling automated execution during the development process and contributing to continuous system verification.pt_BR
dc.languageporpt_BR
dc.publisherInstituto Federal de Educação, Ciência e Tecnologia do Rio Grande do Nortept_BR
dc.rightsAcesso Abertopt_BR
dc.subjectInterface de usuáriopt_BR
dc.subjectTestes e2ept_BR
dc.subjectSistema web frontendpt_BR
dc.subjectCypresspt_BR
dc.subjectUser interfacept_BR
dc.titleImplementação de testes automatizados de interface de usuário em sistema web frontend em angular usando CYPRESSpt_BR
dc.title.alternativeImplementation of Automated User Interface Testing in a Frontend Web System in Angular using Cypresspt_BR
dc.typeTrabalho de Conclusão de Cursopt_BR
dc.creator.ID10543625486pt_BR
dc.creator.Latteshttps://lattes.cnpq.br/5549850116922784pt_BR
dc.contributor.advisor1Fernandes, Marcelo Romulo
dc.contributor.advisor1Latteshttp://lattes.cnpq.br/4255401883770350pt_BR
dc.contributor.referee1Fernandes, Marcelo Romulo
dc.contributor.referee1ID02589405499pt_BR
dc.contributor.referee1Latteshttp://lattes.cnpq.br/4255401883770350pt_BR
dc.contributor.referee2Freire, Marilia Aranha
dc.contributor.referee2Latteshttp://lattes.cnpq.br/8869115413376282pt_BR
dc.contributor.referee3Filho Lima, Francisco Sales de
dc.contributor.referee3Latteshttp://lattes.cnpq.br/7869868337758001pt_BR
dc.publisher.countryBrasilpt_BR
dc.publisher.departmentNatal-Centralpt_BR
dc.publisher.initialsIFRNpt_BR
dc.subject.cnpqCNPQ::CIÊNCIAS EXATAS E DA TERRApt_BR
dc.description.resumoO teste de software é uma prática fundamental para garantir a eficiência na execução e reaplicação dos testes, especialmente em sistemas frontend, que exigem validação tanto da lógica interna quanto da interação direta do usuário. Este trabalho apresenta a implementação de testes automatizados de interface de usuário utilizando o framework Cypress em um sistema web educacional desenvolvido em Angular, utilizado na disciplina de Aplicação com Interfaces Ricas. Inicialmente, foi realizado um levantamento teórico sobre os principais conceitos relacionados à qualidade de software, testes de caixa-preta, testes automatizados e ferramentas utilizadas no desenvolvimento frontend. Em seguida, é apresentada a aplicação Account, descrevendo sua estrutura de componentes, tecnologias e ferramentas empregadas. Posteriormente, é detalhada a implementação dos testes automatizados, incluindo a especificação dos casos de teste, a aplicação de boas práticas, o uso de comandos customizados, variáveis de ambiente e seletores estáveis, bem como a implementação de mocks de dados. Os resultados obtidos demonstram que o Cypress apresenta uma curva de aprendizado acessível e facilidade de adoção, possibilitando a criação e manutenção de testes automatizados de forma eficiente. Além disso, o uso da ferramenta contribuiu para a adoção de boas práticas de desenvolvimento, especialmente no que se refere à padronização e organização de componentes e seletores voltados à testabilidade da aplicação. Por fim, os testes foram integrados a um pipeline de integração contínua, possibilitando a execução automatizada durante o processo de desenvolvimento e contribuindo para a verificação contínua do sistema.pt_BR
dc.relation.referencesAL-AJILY, Mohamed. Automated testing for react web application with cypress. 2022. Cypress Documentation. Network Requests: Guide for Intercepting and Stubbing. 2025. Acesso em: 19 jan. 2026. Disponível em: <https://docs.cypress.io/app- /guides/network-requests>. DOBBALA, Manoj Kumar. Validate faster, develop smarter: A review of frontend testing best practices and frameworks. Journal of Mathematical & Computer Applications, v. 1, p. SRC/JMCA–185, 2022. Disponível em: <https://doi.org/10- .47363/JMCA/2022(1)151>. GAROUSI, Vahid; KÜÇÜK, Barış. Smells in software test code: A survey of knowledge in industry and academia. Journal of systems and software, Elsevier, v. 138, p. 52–81, 2018. GOSIK, Przemysław; MIŁOSZ, Marek. Comparative analysis of cypress and playwright frameworks in end-to-end testing for applications based on angular. Journal of Computer Sciences Institute, v. 36, p. 320–327, 2025. GUO, Xiujing; OKAMURA, Hiroyuki; DOHI, Tadashi. Optimal test case generation for boundary value analysis. Software Quality Journal, Springer, v. 32, n. 2, p. 543–566, 2024. IRUDAYARAJ, Prathap; SARAVANAN, P. Evolution of the single page application in the modern web application development. Innovative Food Science & Emerging Technologies, v. 6, p. 141–145, 2019. JYOLSNA, Jyolsna; ANUAR, Syahid. Modern web automation with cypress. io. Open International Journal of Informatics, v. 10, n. 2, p. 182–196, 2022. LI, J Jenny; ULRICH, Andreas; BAI, Xiaoying; BERTOLINO, Antonia. Advances in test automation for software with special focus on artificial intelligence and machine learning. Software Quality Journal, Springer, v. 28, n. 1, p. 245–248, 2020. MIGUEL, José P; MAURICIO, David; RODRÍGUEZ, Glen. A review of software quality models for the evaluation of software products. arXiv preprint arXiv:1412.2977, 2014. MOBARAYA, Fatini; ALI, Shahid et al. Technical analysis of selenium and cypress as functional automation framework for modern web application testing. In: SN. 9th international conference on computer science. [S.l.], 2019. MURAZVU, George; PARKINSON, Simon; KHAN, Saad; LIU, Na; ALLEN, Gary. A survey on factors preventing the adoption of automated software testing: A principal component analysis approach. Software, MDPI, v. 3, n. 1, p. 1–27, 2024. NETTUR, Suresh Babu; KARPURAPU, Shanthi; NETTUR, Unnati; GAJJA, Likhit Sagar. Cypress copilot: Development of an ai assistant for boosting productivity and transforming web application testing. IEEE Access, IEEE, 2024. NGUYEN, Dale. Next-Level UI Development with PrimeNG: Master the versatile Angular component library to build stunning Angular applications. [S.l.]: Packt Publishing Ltd, 2024. NIDHRA, Srinivas; DONDETI, Jagruthi. Black box and white box testing techniques-a literature review. International Journal of Embedded Systems and Applications (IJESA), v. 2, n. 2, p. 29–50, 2012. OSTERWEIL, Leon. Strategic directions in software quality. ACM Computing Surveys (CSUR), ACM New York, NY, USA, v. 28, n. 4, p. 738–750, 1996. SAHANI, Amarpreet Kaur; SINGH, Pawan; JEYAMANI, VijiPriya. Web development using angular: A case study. J. Infor. Electr. Electron. Eng, v. 1, n. 2, p. 1–7, 2020. SOMI, Marzieh. User Interface Development of a Modern Web Application. Tese (Doutorado) — Politecnico di Torino, 2023. TAKY, Malika Tasnim. Automated testing with cypress. 2021. TIWARI, Deepika; MONPERRUS, Martin; BAUDRY, Benoit. Mimicking production behavior with generated mocks. IEEE Transactions on Software Engineering, IEEE, 2024. VYAS, Rishi. Comparative analysis on front-end frameworks for web applications. International Journal for Research in Applied Science and Engineering Technology, v. 10, n. 7, p. 298–307, 2022. WU, Hao. An effective equivalence partitioning method to design the test case of the web application. In: IEEE. 2012 International Conference on Systems and Informatics (ICSAI2012). [S.l.], 2012. p. 2524–2527.pt_BR


Arquivos deste item

Thumbnail

Este item aparece na(s) seguinte(s) coleção(s)

Mostrar registro simples