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.

Extend Cypress testing for FAQs on mobile-sized browser

See original GitHub issue

Feature 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

  1. 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/.
  2. 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.
  3. 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:closed
  • Created a year ago
  • Reactions:2
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
MikeMcC399commented, Jul 25, 2022

@chrisenitan

Thank you for responding to this issue!

2reactions
thorbenkurocommented, Jun 20, 2022

@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

Read more comments on GitHub >

github_iconTop 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 >

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