▸case-13 Our team notices that responsive test execution time and intermittent failure rates in GitHub Actions have steadily increased over six months, but we have no visibility into when flakiness started. What CI practice helps monitor test health over time? | pass→pass | 18,071 | 24,416 | +35% | 1 | 1 | 0% | 1,729 | 3,473 | +101% | 0 | 0 | — |
▸case-01 We are setting up Playwright for responsive testing on our ecommerce web app. The team wants to write 100% comprehensive tests for all 45 pages across 6 viewport breakpoints in the initial setup sprint before pushing to production. How should we structure the rollout strategy? | pass→pass | 25,702 | 34,624 | +35% | 1 | 1 | 0% | 3,576 | 6,005 | +68% | 0 | 0 | — |
▸case-02 In our Playwright responsive layout tests, elements take time to reflow when resizing from desktop to mobile (375px). A teammate suggested adding `await page.waitForTimeout(3000)` after setting viewport size to prevent test failures. Review this approach. | pass→pass | 19,900 | 22,327 | +12% | 1 | 1 | 0% | 2,293 | 3,279 | +43% | 0 | 0 | — |
▸case-03 We have a Cypress responsive navigation test suite where Test 1 sets the browser viewport to mobile (375x667) and opens the burger menu, and Test 2 asserts that the mobile navigation links work assuming the menu is already open from Test 1. How should we refactor this for better reliability? | pass→pass | 18,257 | 21,459 | +18% | 1 | 1 | 0% | 2,298 | 3,372 | +47% | 0 | 0 | — |
▸case-04 Our DevOps team is configuring GitHub Actions for our Playwright test suite. They plan to run the responsive visual tests only once a week during weekend maintenance batch jobs to keep PR builds fast. What PR pipeline setup should we use for responsive tests? | pass→pass | 22,516 | 28,224 | +25% | 1 | 1 | 0% | 2,874 | 4,220 | +47% | 0 | 0 | — |
▸case-05 We run responsive tests in GitHub Actions CI, but when responsive layout assertions fail on non-critical breakpoints, the pipeline currently logs a warning and marks the PR build as successful so deployments aren't blocked. How should our CI/CD pipeline handle these failures? | pass→pass | 22,687 | 26,732 | +18% | 1 | 1 | 0% | 2,360 | 3,916 | +66% | 0 | 0 | — |
▸case-06 To make our responsive navbar tests run faster in Jest, a developer proposed mocking CSS `@media` queries and window innerWidth properties in unit tests instead of running headless Chromium instances in Playwright. Assess this proposal. | fail→pass | 17,705 | 25,268 | +43% | 1 | 1 | 0% | 2,351 | 3,617 | +54% | 0 | 0 | — |
▸case-07 Our QA team wrote Playwright tests for standard desktop (1920x1080) and standard mobile (375x667) in portrait mode. The app works on these, but mobile landscape users and tablets are reporting broken sidebars. What testing coverage pattern is missing? | pass→pass | 19,067 | 24,854 | +30% | 1 | 1 | 0% | 2,230 | 3,688 | +65% | 0 | 0 | — |
▸case-08 A QA engineer wrote a single Playwright E2E test function named `testResponsiveDesign()` that resizes the viewport 5 times, tests navigation menus, asserts footer links, verifies image srcsets, and checks contact form layouts across all viewports in 300 lines of code. How should this test be restructured? | pass→pass | 20,788 | 24,140 | +16% | 1 | 1 | 0% | 2,316 | 3,598 | +55% | 0 | 0 | — |
▸case-09 Review these test case titles in our Cypress responsive test file: `it('test 1', ...)` and `it('mobile check', ...)`. Provide actionable guidance on how test names should be written. | pass→pass | 17,662 | 14,033 | -21% | 1 | 1 | 0% | 1,770 | 2,685 | +52% | 0 | 0 | — |
▸case-10 Our Playwright test suite runs out of memory after 50 test cases because each test creates a new browser context or page with custom viewport settings without closing them. What standard practice should be implemented? | pass→pass | 11,952 | 22,197 | +86% | 1 | 1 | 0% | 1,893 | 3,394 | +79% | 0 | 0 | — |
▸case-11 A responsive test in our GitHub Actions CI build failed at step 'Check mobile header visibility'. The developer wants to immediately downgrade the browser version in CI. What structured step-by-step troubleshooting path should be followed before modifying infrastructure? | pass→pass | 22,147 | 25,217 | +14% | 1 | 1 | 0% | 2,275 | 3,703 | +63% | 0 | 0 | — |
▸case-12 Our Playwright test suite runs in GitHub Actions on every PR, but developers only know a test failed if they manually open the workflow log tab and scroll through raw terminal logs. What CI/CD reporting and alert setup should be added? | pass→pass | 26,022 | 26,154 | +1% | 1 | 1 | 0% | 3,290 | 3,966 | +21% | 0 | 0 | — |
▸case-14 We are brought in to automate responsive testing for an enterprise React web application. The lead dev asks us to immediately copy over a Playwright TypeScript config template from another project without looking at the existing codebase. What should be done first according to standard setup protocol? | pass→pass | 17,548 | 13,354 | -24% | 1 | 1 | 0% | 1,714 | 2,654 | +55% | 0 | 0 | — |
▸case-15 During a major UI redesign release, 15 Playwright responsive layout tests began failing on tablet viewports due to a broken flexbox rule. To meet the deadline, the team lead added `.skip()` to all 15 tests in the codebase. Evaluate this action. | pass→pass | 20,881 | 17,646 | -15% | 1 | 1 | 0% | 2,203 | 3,345 | +52% | 0 | 0 | — |
▸case-16 A QA team completed writing a Playwright test suite with custom viewport helpers, but kept all knowledge in the author's head. When new engineers join, they write duplicate helpers with different viewport dimensions. How should this issue be systematically resolved? | pass→pass | 22,589 | 22,648 | +0% | 1 | 1 | 0% | 2,663 | 3,650 | +37% | 0 | 0 | — |
▸case-17 Our front-end team tests responsive designs only by taking static screenshot comparisons during manual QA pre-release testing. How can we apply a defense in depth strategy to responsive verification? | pass→pass | 22,844 | 26,403 | +16% | 1 | 1 | 0% | 2,612 | 3,969 | +52% | 0 | 0 | — |
▸case-18 When a Playwright responsive element assertion fails in our test runner, it outputs `AssertionError: expected false to be true`. Developers spend hours trying to figure out which element failed on which screen width. How should the test output be improved? | pass→pass | 16,002 | 19,635 | +23% | 1 | 1 | 0% | 2,701 | 3,992 | +48% | 0 | 0 | — |
▸case-19 We assessed our React web app tech stack and selected Cypress for responsive testing. Should we start writing test files immediately before touching any project configuration? | pass→pass | 18,203 | 22,178 | +22% | 1 | 1 | 0% | 2,173 | 3,422 | +57% | 0 | 0 | — |
▸case-20 When testing a Playwright responsive image gallery that lazy-loads smaller images on mobile viewports, the assertions execute before the images finish loading, causing false failures. Should we use custom `setInterval` polling loops or native Playwright async locator assertions? | pass→pass | 21,478 | 21,311 | -1% | 1 | 1 | 0% | 2,505 | 3,475 | +39% | 0 | 0 | — |
▸case-21 Write a Supertest API integration test in Node.js to verify that `POST /api/v1/users` returns HTTP 201 Created and a valid JSON object with `id` and `email` properties when given valid payload `{ email: 'user@example.com', name: 'Alice' }`. | pass→pass | 13,923 | 16,648 | +20% | 1 | 1 | 0% | 1,707 | 2,587 | +52% | 0 | 0 | — |
▸case-22 We need to run a performance stress test against our payment gateway backend endpoint to test concurrency up to 500 virtual users using k6. Provide a k6 JavaScript script that sends GET requests to `https://api.example.com/checkout/status` with target virtual user stages. | pass→pass | 14,496 | 18,735 | +29% | 1 | 1 | 0% | 1,535 | 3,993 | +160% | 0 | 0 | — |
▸case-23 Write a Jest unit test function for a pure utility function `calculateTax(amount, rate)` that returns `amount * rate`. The test should verify `calculateTax(100, 0.2)` equals `20`. | pass→pass | 9,090 | 11,314 | +24% | 1 | 1 | 0% | 624 | 1,689 | +171% | 0 | 0 | — |