question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Define Cypress testing policy

See original GitHub issue

This follows from https://github.com/corona-warn-app/cwa-website/issues/2476#issuecomment-1049661047.

The Cypress suite tests the web contents of https://www.coronawarn.app/ for errors as documented in the Testing section of the README document. The tests are not run regularly so issues may go undetected.

Tests can be run against Chrome (npm run test:chrome) or Firefox (npm run test:firefox) browsers. Chrome is the default browser selected by npm test.

The policy for testing should be defined.

  • Should PR submitters check against Cypress before submitting changes?
  • Should Cypress tests be run manually or automatically at regular intervals to catch errors?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
MikeMcC399commented, Mar 29, 2022

Considering the issues which surfaced after releasing the FAQ updates last week, the Open Source Team might like to review their policy on testing with Cypress.

  • The Cypress test suite did not cover and test the changes made to the web site (see #2612, #2613 & #2585)
  • A significant number of links were broken by the web site update and these issues were not detected by Cypress (see for instance #2611 and several other issues opened since last Friday)
  • The Cypress test suite failed on the update branch before the merge and then on the master branch after the merge

It would make sense to decide to rely more on Cypress testing to avoid unplanned temporary loss of functionality and unscheduled urgent work to fix issues not caught by formal testing.

0reactions
MikeMcC399commented, May 13, 2022
  • PR #2891 resolves this issue by adding the sentence:

    To minimize the occurrence of errors we would ask you to perform all tests when contributing to our repository.

    to README.md.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Best Practices - Cypress Documentation
One of the best parts of Cypress is its emphasis on debuggability. Unlike other testing tools - when your tests end - you...
Read more >
What is Cypress Testing? What It Is and How to Get Started
Cypress is a JavaScript-based end-to-end testing tool designed for modern web test automation. This developer-friendly tool operates directly in ...
Read more >
What is Cypress Testing Library and its Usage - BrowserStack
Browser Automation using frameworks like Cypress is widely used for testing web elements. To query web elements, Cypress provides commands like ...
Read more >
Cypress - CMS quality reporting programs ... - HealthIT.gov
What is Cypress? ... Cypress is the rigorous and repeatable testing tool of Electronic Health Records (EHR) and EHR modules in calculating CMS...
Read more >
Cypress Testing: A Guide to Running Web Application Tests
What is Cypress ? ... Cypress is a modern, open-source test suite for web applications. It's built on top of Electron, which is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found