Cypress ainda é um favorito entre nossos times nos quais as pessoas desenvolvedoras gerenciam os testes de ponta-a-ponta, como parte de uma pirâmide de testes saudável, é claro. Decidimos destacar novamente neste Radar porque as versões recentes do Cypress adicionaram suporte ao Firefox, e sugerimos fortemente testar em múltiplos navegadores. O domínio dos navegadores Chrome e baseados no Chromium levou os times a uma tendência preocupante de aparentemente testar apenas no Chrome, o que pode levar a surpresas desagradáveis.
Continuamos recebendo feedback positivo sobre as ferramentas de testes de UI para web “pós-Selenium”, como Cypress, TestCafe e Puppeteer. Executar testes de ponta a ponta pode apresentar desafios, como a longa duração do processo de execução, a instabilidade de alguns testes e a correção de falhas ao executar testes no modo headless. Nossos times tiveram experiências muito boas com Cypress resolvendo problemas comuns, como falta de desempenho e longo tempo de espera para carregar respostas e recursos. Cypress se tornou a ferramenta escolhida para testes E2E em nossos times.
Running end-to-end tests can present challenges, such as the long duration of the running process, the flakiness of some tests and the challenges of fixing failures in CI when running tests in headless mode. Our teams have had very good experiences with Cypress by solving common issues such as lack of performance and long wait time for responses and resources to load. Cypress is a useful tool that helps developers build end-to-end tests and records all test steps as a video in an MP4 file to make it easier to identify errors.
Fixing end-to-end test failures in CI can be a painful experience, especially in headless mode. Cypress is a useful tool that helps developers build end-to-end tests easily and records all test steps as a video in an MP4 file. Instead of reproducing the issue in headless mode, developers can watch the testing video in order to fix it. Cypress is a powerful platform, not only a testing framework. Currently, we've integrated its CLI with headless CI in our projects.
Fixing end-to-end test failures in CI can be a painful experience, especially in headless mode. Cypress is a useful tool that helps developers build end-to-end tests easily and records all test steps as a video in an MP4 file. Instead of reproducing the issue in headless mode, developers can watch the testing video in order to fix it. Cypress is a powerful platform, not only a testing framework. Currently, we've integrated its CLI with headless CI in our projects.