Recall & Review
beginner
What is responsive testing?
Responsive testing checks if a website or app works well on different screen sizes and devices, like phones, tablets, and desktops.
Click to reveal answer
beginner
Why is responsive testing important for cross-device quality?
Because users use many devices, responsive testing ensures the app looks good and works correctly everywhere, giving a consistent experience.
Click to reveal answer
intermediate
How does Cypress help with responsive testing?
Cypress lets you set different screen sizes in tests to check how your app behaves on phones, tablets, and desktops automatically.
Click to reveal answer
beginner
What can happen if you skip responsive testing?
Users might see broken layouts, hard-to-use buttons, or missing content on some devices, leading to frustration and lost users.
Click to reveal answer
intermediate
Give an example of a Cypress command to test a mobile screen size.
You can use cy.viewport(375, 667) to simulate an iPhone 6/7/8 screen size in your test.
Click to reveal answer
What does responsive testing mainly check?
✗ Incorrect
Responsive testing ensures the app adapts and works well on various screen sizes and devices.
Which Cypress command sets the screen size for responsive testing?
✗ Incorrect
The cy.viewport() command sets the screen size in Cypress tests.
Why is cross-device quality important?
✗ Incorrect
Users expect apps to work well on all their devices, so cross-device quality is key.
What might happen if responsive testing is ignored?
✗ Incorrect
Ignoring responsive testing can cause layout and usability problems on some devices.
Which device screen size does cy.viewport(375, 667) simulate?
✗ Incorrect
The size 375x667 pixels matches the iPhone 6/7/8 screen.
Explain why responsive testing is essential for ensuring cross-device quality.
Think about how people use phones, tablets, and computers differently.
You got /4 concepts.
Describe how you would use Cypress to perform responsive testing on a web app.
Focus on commands and test steps in Cypress.
You got /4 concepts.