Extend Cypress testing for FAQs on mobile-sized browser
See original GitHub issueFeature description
Add testing to the Cypress suite in https://github.com/corona-warn-app/cwa-website/tree/master/cypress/integration to cover the correct display of FAQ articles in a browser window using a size which is typical of one on a conventional mobile device smartphone in portrait orientation.
Problem and motivation
Problem
- PR https://github.com/corona-warn-app/cwa-website/pull/2434 has implemented a redesign of the CWA FAQs on https://www.coronawarn.app/en/faq/ and https://www.coronawarn.app/de/faq/.
- The redesign has caused access from embedded links in the CWA on mobile devices to fail to display the requested FAQ article. Either the article is not displayed at all or it is not displayed expanded. See issue https://github.com/corona-warn-app/cwa-website/issues/2577.
- The Cypress test suite, run using
npm test
, did not identify these issues prior to Move-To-Production.
Motivation
Running the Cypress test suite should give a high level of confidence that the website performs as needed and should provide good information to avoid publishing content which breaks the interface between CWA on the mobile device and FAQ content on https://www.coronawarn.app.
Is this something you’re interested in working on
I don’t have the skills to write Cypress tests. I’m happy to review any PR which adds this functionality though.
Internal Tracking ID: EXPOSUREAPP-13405
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Cross Browser Testing - Cypress Documentation
Cypress has the capability to run tests across multiple browsers. ... This guide we present several strategies to consider when crafting the strategy...
Read more >Launching Browsers | Cypress Documentation
When you run tests in Cypress, we launch a browser for you. This enables us to: Create a clean, pristine testing environment. Access...
Read more >General Questions | Cypress Documentation
How is this different from 'X' testing tool? Do you support X language or X framework? Can I run Cypress on another browser...
Read more >Configuration - Cypress Documentation
This guide is for Cypress 10 and the new JavaScript configuration file format. If you are on an older version of Cypress that...
Read more >Viewport and Browser Testing Tips - Learn Cypress
How to run your Cypress tests in different browsers and various viewports. ... Run the test if Cypress is run via Firefox it('Download...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@chrisenitan
Thank you for responding to this issue!
@MikeMcC399 Thank you for reporting the issue and @chrisenitan thank you for your pull request! We have created an internal ticket for it. Internal Tracking ID: EXPOSUREAPP-13405