You are a senior SDET. Given the following user story, generate a comprehensive set of test cases covering happy path,…
Convert the following acceptance criteria into BDD Gherkin scenarios (Given/When/Then). Include at least one happy…
Apply equivalence partitioning and boundary value analysis to the following input field. List valid partitions, invalid…
Write end-to-end test scenarios for an e-commerce checkout flow. Cover: guest vs logged-in user, valid/invalid payment,…
Generate test cases for the following REST API endpoint. Include: success responses, authentication scenarios, invalid…
Given the following list of features, apply risk-based testing to prioritise which areas need the most coverage. Score…
Generate negative test cases for a registration form with these fields: email, password, phone number, and date of…
Create a comprehensive test checklist for verifying mobile responsiveness of a web application. Cover: viewport…
Write test cases for CRUD (Create, Read, Update, Delete) database operations. Cover: successful operations, constraint…
Generate test cases to verify WCAG 2.1 AA compliance for the following web component. Cover: keyboard navigation,…
Write test cases for an OAuth 2.0 login flow supporting Google and GitHub. Cover: successful login, token expiry,…
Define a smoke test suite (max 15 tests) for a new microservice before it goes to staging. Focus on: service health…
Create a test plan for a database migration from PostgreSQL to a new schema version. Cover: row count validation, data…
Generate test cases for a WebSocket-based real-time feature (e.g., live chat or notifications). Cover: connection…
Given the following code change diff, identify which existing test cases should be run as part of regression. Explain…
Write a detailed, developer-ready bug report for the following issue. Include: Summary (one line), Environment, Steps…
Analyse the following crash log / stack trace and provide: 1) Most likely root cause, 2) Affected code area, 3) Steps…
A developer wrote: '[PASTE VAGUE COMMENT]'. Convert this into a formal bug report with clear reproduction steps,…
For each of the following bugs, classify them with Severity (Critical/High/Medium/Low) and Priority (P0/P1/P2/P3).…
A bug happened once and I cannot reproduce it. Write a bug report that still provides maximum value to the developer.…
Write a bug report for a performance regression. Include: baseline metric, current metric, % degradation, affected…
Write a responsible disclosure report for a security vulnerability found during testing. Follow OWASP reporting…
Given the following list of open bugs, write triage notes for the sprint planning meeting. For each bug, suggest: fix…
Review the following two bug reports and determine if they are duplicates. If yes, identify which one is more detailed…
Write a blameless post-mortem for a production incident. Include: incident timeline, root cause, contributing factors,…
Generate a contract test suite for the following API endpoint using consumer-driven contract testing principles.…
Convert the following OpenAPI 3.0 spec into a Postman collection. Include: pre-request scripts for auth token setup,…
Design a testing strategy for a GraphQL API. Cover: query depth limits, circular query prevention, field-level…
Create a testing checklist for API authentication and authorisation. Cover: JWT validation, token expiry handling,…
Given the following HAR/network trace, write a Playwright API test that replays the API calls, validates the response…
For the following REST API endpoint, generate negative test cases covering: malformed JSON body, wrong content-type…
Create a test plan for migrating from API v1 to v2. Cover: backward compatibility checks, deprecated endpoint…
Design a testing strategy for webhook integrations. Include: payload delivery verification, retry logic testing,…
Write test cases for paginated API endpoints. Cover: first page, last page, middle page, page size variations, invalid…
Describe a testing approach for a gRPC service. Cover: proto contract validation, unary vs streaming RPC testing, error…
Set up a mock server for the following API using WireMock or Mockoon. Include: response templating for dynamic data,…
Create a test data factory for API tests. The factory should generate: valid payloads for happy paths, invalid payloads…
Convert the following manual test steps into a Playwright TypeScript test. Use Page Object Model pattern, add…
Refactor the following Selenium test to: eliminate explicit waits in favour of WebDriverWait with ExpectedConditions,…
Set up a data-driven test framework in [LANGUAGE/FRAMEWORK]. Use a CSV/Excel/JSON file as the data source. Include:…
The following Playwright test is flaky and fails intermittently. Identify the likely causes of flakiness and rewrite it…
Write a Cypress component test for the following React component. Test: initial render, user interactions (click, type,…
Write a reusable test helper function for [LANGUAGE] that: [DESCRIBE WHAT IT SHOULD DO — e.g. 'waits for a toast…
Write a Playwright visual regression test using @playwright/test's toHaveScreenshot. Cover: full page snapshot,…
Write a Playwright test that combines UI and API assertions. Use the request fixture to make API calls directly, seed…
Implement a robust retry mechanism for API test calls in [LANGUAGE]. Include: configurable max retries, exponential…
Write a Playwright fixture for the following scenario. The fixture should: create test data before the test,…
Create a Page Object Model class for the following web page. Include: locator definitions as properties, action methods…
Write a Playwright test for a checkout flow that intercepts and validates network requests. Use route.intercept to:…
Write an Appium test script for the following mobile app scenario. Use: desired capabilities for Android/iOS, explicit…
Configure parallel test execution for a [FRAMEWORK] test suite. Define: shard configuration, worker count based on CPU…
Given the following UI component design spec, generate a Playwright test that verifies: visual appearance (layout,…
Write a test strategy document for [PROJECT/FEATURE]. Include: test objectives, scope (in/out), testing types…
Create a shift-left testing plan for a team transitioning from QA-at-the-end to testing from day one. Include:…
Estimate the testing effort for the following sprint items using three-point estimation (optimistic, most likely,…
Write a test environment requirements document for [APPLICATION]. Include: required services and versions, data…
Create a release readiness checklist for a production deployment. Cover: all critical test suites green, performance…
Define quarterly OKRs (Objectives and Key Results) for a QA team of [SIZE] aiming to improve quality. Include:…
Write an exploratory testing charter for [FEATURE/AREA]. Define: mission, areas to explore, areas to ignore (out of…
Create a 4-week onboarding plan for a new SDET joining the team. Week 1: codebase familiarisation + shadow sessions.…
Specify a QA metrics dashboard for an engineering team. Include: key metrics (defect escape rate, automation coverage,…
Create a sprint testing plan for the following sprint backlog. For each story, define: test approach…
Review the following test code. Check for: proper assertions (not just 'does not throw'), test independence (no shared…
Analyse the following test suite for common anti-patterns: Arrange-Act-Assert violations, logic in tests, over-mocking,…
Review the following production code from a testability perspective. Identify: tightly coupled dependencies that should…
Write constructive code review comments for the following test pull request. Be specific, actionable, and educational.…
Review the following test automation framework architecture. Assess: separation of concerns, scalability for 1000+…
Review the following test infrastructure configuration for security issues. Check for: hardcoded credentials, overly…
Given the following code coverage report and the list of user-facing features, identify: which critical paths are…
Analyse the impact of upgrading [DEPENDENCY] from v[OLD] to v[NEW] on the existing test suite. Identify: breaking API…
Write a GitHub Actions workflow that: runs unit tests on every PR, runs E2E tests on merge to main, caches…
Our CI pipeline takes [X] minutes. Analyse the following pipeline configuration and suggest optimisations: test…
Write a Docker Compose file that spins up a test environment with: the application under test, a PostgreSQL database…
Configure Playwright to run reliably in a headless CI environment (GitHub Actions / GitLab CI). Include: browser…
Integrate Allure reporting into a [FRAMEWORK] test suite running in CI. Include: Allure annotation usage for test…
Design a CI strategy for testing features behind feature flags. Include: test configuration for flag on/off states,…
Define quality gate configurations for a CI pipeline. Specify thresholds for: unit test pass rate, integration test…
Add a container image security scanning step to the CI pipeline using Trivy or Snyk. Fail the build on CRITICAL…
Write a k6 load test script for the following scenario. Include: gradual ramp-up (VUs 0→100 over 2 min), steady state…
Create a performance test plan for [APPLICATION]. Define: performance test types to run (load, stress, soak, spike),…
The following API endpoint takes [X]ms on average. Analyse the request/response data, database query plan, and code to…
Configure Lighthouse CI for a Next.js application. Set budgets for: LCP < 2.5s, FID < 100ms, CLS < 0.1, TTI < 3.8s,…
Design a test to identify slow database queries under load. Include: generating realistic data volume (e.g., 10M rows),…
Write a test to detect memory leaks in a Node.js service. Include: running the service under load for 30 minutes,…
Design a chaos engineering experiment for [SERVICE]. Define: hypothesis (e.g., 'service degrades gracefully when…
Create a testing checklist for OWASP Top 10 2021 vulnerabilities for [APPLICATION TYPE]. For each category, list: the…
Generate SQL injection test payloads for the following input fields. Cover: classic injection, blind injection…
Test the following JWT implementation for vulnerabilities. Check for: 'none' algorithm bypass, weak secret brute force,…
Write security test cases for Cross-Site Request Forgery (CSRF) and Cross-Site Scripting (XSS) vulnerabilities. For…
Test rate limiting and DDoS protection for the following API. Verify: per-user rate limits, IP-based rate limits,…
Run a dependency vulnerability scan on the following project's package.json / pom.xml. For each CVE found: summarise…
Test the authentication system's brute force protections. Verify: account lockout after N failed attempts, lockout…
Create a preparation guide for a Senior SDET interview at a product company. Cover: technical topics to revise…
Review the following QA/SDET resume. Assess: impact statements (are achievements quantified?), technical skills…
Write strong STAR-format answers (Situation, Task, Action, Result) for the following SDET behavioural questions. Make…
I'm preparing for an SDET live coding interview. Give me a realistic take-home coding challenge for a [LEVEL] SDET role…
I'm interviewing candidates for a QA Team Lead role. Generate 15 interview questions covering: technical depth…
Help me negotiate a salary offer for a [TITLE] position at a [COMPANY]. Current offer: [AMOUNT]. Market rate data:…
Write a self-assessment for my annual performance review as a [TITLE]. Highlight: testing achievements (quantified),…
Create a 6-month learning plan to transition from manual QA to SDET. Week-by-week curriculum covering: programming…