IKivan-kozenko -aqa
Try yourself as a QA tester
Back to topic

Quiz

Emulation

Check yourself

  1. 1.You want to run the same test on iPhone 13 and Desktop Chrome. What's the right approach?
  2. 2.Your app asks for notification permission on page load. The test fails because Playwright can't interact with the browser permission dialog. How do you fix it?
  3. 3.What does a device profile (e.g., devices['iPhone 13']) set when used in a project?
  4. 4.You want to test date formatting for a German user (dates like 14.05.2026). Where should you set locale: 'de-DE'?
  5. 5.How do you simulate a dropped network connection mid-test to verify an error banner appears?
  6. 6.You want to override the viewport to 768×1024 for a single describe block without affecting the rest of the file. What's the right approach?
  7. 7.How do you test how your app looks and behaves in dark mode using prefers-color-scheme?
  8. 8.How do you fake the user's GPS position to test location-based features like a store finder?