corona-warn-app / cwa-website

Corona-Warn-App website. The CWA development ended on May 31, 2023. You still can warn other users until April 30, 2023. More information:
https://coronawarn.app/en/faq/#ramp_down
Apache License 2.0
523 stars 225 forks source link

Fix timeout on faq_link_attr.cy.js #3480

Closed MikeMcC399 closed 1 year ago

MikeMcC399 commented 1 year ago

This PR adds a workaround to cypress/e2e/faq_link_attr.cy.js to resolve https://github.com/corona-warn-app/cwa-website/issues/3479.

Before each sub-test, the root / of the website under test is visited. This seems to work around a timeout issue where web content was sometimes not displayed.

This is a problem with the website, not with the test, however it is now unlikely that there will be a fix for the website, so the workaround is added to the Cypress test.


Internal Tracking ID: EXPOSUREAPP-15135

dsarkar commented 1 year ago

@MikeMcC399 Thanks!