Prompt Library
All Prompts
107 battle-tested AI prompts for QA engineers and SDETs. Every prompt is crafted for production-grade output.
Using QA prompts to prepare for a role?
Pair your practice outputs with a CV review focused on the QA roles you want next.
Showing 107 of 107 prompts
Featured
Write a Structured, Actionable Bug Report
Generate a professional bug report with severity justification, numbered reproduction steps, impact analysis, and a one-line regression test case — in the format developers actually want to read.
Build a Playwright Page Object Model Architecture
Generate a full POM structure with a base page class, individual page classes, typed Playwright fixtures, and an example test — all in TypeScript.
Deployment Smoke Test Suite
Generate a lean, fast smoke test suite in Playwright that verifies your critical path is alive after every deployment — covering app load, auth, nav, API health, and one full happy-path flow.
Generate E2E Login Flow Tests
Comprehensive end-to-end tests for a login flow including valid credentials, invalid credentials, empty fields, MFA, and session persistence.
Parallel Playwright CI Pipeline with Sharding
GitHub Actions workflow for parallel Playwright test execution with sharding, retries, and artifact upload.
OWASP API Security Top 10 Test Suite
Generate security tests covering OWASP API Security Top 10: broken auth, excessive data exposure, injection, and more.
GitHub Actions Monorepo Quality Gates
Build selective test execution and quality gates for monorepo pull requests.
Postman Consumer-Driven Contract Pack
Create consumer-facing contract verification scenarios and changelog checks.
Postman Environment Governance Tests
Govern environment variables and secrets across dev, staging, and prod-like collections.
Pytest Backend Fixture Architecture
Design layered fixtures for API, DB, and auth in large Python services.
Vitest Composable Hook Test Patterns
Test React/Vue composables and hooks with deterministic async control.
Jest Domain Service Contract Tests
Protect service-layer contracts with schema and behavior assertions.
Selenium Legacy UI Smoke Hardening
Harden smoke tests for legacy enterprise UI with robust waits and stale element handling.
Cypress Cart State Resilience Tests
Verify cart persistence across refresh, tab restore, and user re-login.
Cypress Cross-Browser Critical Path Suite
Run critical journeys across Chromium and Firefox with browser-specific assertions.
Playwright Role-Based Permission Test Suite
Validate RBAC boundaries across admin, manager, and viewer personas.
Dockerized Test Environment Blueprint
Build repeatable Docker-based test environments for local and CI execution.
Selenium Grid Distributed Execution Blueprint
Set up Selenium Grid for distributed cross-browser execution with parallel workers and observability.
Selenium WebDriver Regression Suite
Create a maintainable Selenium WebDriver regression suite using modern wait, locator, and page-object patterns.
Bitbucket Pipelines QA Workflow
Generate a production-ready Bitbucket pipeline for test automation, pull request gates, and deployment verification.
Jenkins Quality Gate Pipeline for QA
Design a Jenkinsfile that enforces automated quality gates for test, security, and release readiness.
Playwright Checkout Regression Matrix
Build a full regression matrix for cart, coupon, payment, and order confirmation states.
All Prompts
Playwright Dashboard Analytics Validation
Verify analytics dashboards display accurate aggregates and drill-down metrics.
k6 WebSocket Stability Load Tests
Stress test real-time channels for connection churn and message reliability.
Postman Auth Rotation and Expiry Tests
Verify token lifecycle behavior including rotation, expiry, and revocation.
Pytest API Pagination Consistency Tests
Validate offset/cursor pagination correctness and stability under mutations.
Vitest Edge-Case Generator Prompt
Generate high-impact edge-case unit tests for critical logic modules.
QA On-Call Runbook Prompt
Generate QA on-call procedures for incident detection and response.
Test Maintenance Backlog Prioritization
Prioritize flaky, slow, and obsolete tests for maximum quality ROI.
GitHub Actions Dependency Scanning Gate
Block releases with unresolved high/critical dependency vulnerabilities.
Playwright Locale and i18n Regression
Verify translations, formatting, and locale-specific UX behavior.
k6 Checkout Throughput Capacity Tests
Measure checkout system throughput and saturation breakpoints.
Postman Versioned API Backward Compatibility
Validate old clients remain supported during API version evolution.
Pytest Permission Boundary Tests
Verify backend permission checks for resource ownership and scope.
Jest Input Sanitization Security Tests
Test payload sanitization and validation for injection-resistant services.
Cypress Notification Center Regression
Protect notification feed UX across read/unread, grouping, and filtering states.
Playwright Multi-Step Onboarding E2E
Validate account onboarding funnels with drop-off and resume behavior.
Incident Reproduction Template
Generate a reproducible incident validation plan for production defects.
Non-Functional Test Strategy Prompt
Design NFR testing for reliability, security, scalability, and operability.
AI-Assisted Test Case Review Prompt
Critique and improve test cases for clarity, risk coverage, and maintainability.
Pytest Transactional Boundary Tests
Verify transactional consistency across multi-step backend operations.
Vitest State Management Store Tests
Verify state store actions, selectors, and side effects in isolation.
Playwright Customer Support Workflow Tests
Validate end-to-end support operations from ticket creation to resolution.
GitHub Actions Nightly Full Regression Workflow
Run comprehensive nightly quality suites with trend tracking and ownership.
Postman Schema Drift Alerting Pack
Detect unannounced API schema drift before consumers break.
Pytest Idempotent Job Processing Tests
Validate idempotency and replay safety for background job systems.
Jest Timezone and Locale Resilience Tests
Protect date/time and locale-sensitive logic with deterministic tests.
Cypress Form Validation Boundary Suite
Generate exhaustive boundary and negative tests for form-heavy products.
Playwright Critical User Journey Pack
Validate end-to-end conversion and retention journeys with business KPIs.
Stakeholder Quality Reporting Pack
Produce executive-friendly QA reporting with trends, risks, and release confidence.
Exploratory Testing Charter Template
Structure focused exploratory sessions with clear mission and outcomes.
Release Readiness Checklist Prompt
Generate comprehensive release readiness checks across engineering, QA, and operations.
Pytest Synthetic Data Privacy Tests
Ensure test datasets remain non-identifiable and policy-compliant.
Postman Multi-Tenant Isolation Suite
Verify strict tenant isolation and cross-tenant access prevention.
GitHub Actions Database-Seeded E2E Pipeline
Provision seeded DB snapshots for deterministic E2E validation in CI.
k6 Chaos Latency Injection Tests
Inject network turbulence and evaluate graceful degradation under load.
Playwright Lighthouse CI Budget Guard
Run Lighthouse audits in CI and enforce page-level budget thresholds.
Vitest Component Visual Snapshot Discipline
Establish stable visual snapshot practices for component libraries.
Jest + Nock Third-Party Failure Simulations
Model unstable vendor APIs and validate fallback behavior.
Pytest Message Queue Contract Tests
Validate producer-consumer contracts and dead-letter behaviors.
Playwright Session Timeout and Refresh Tests
Test idle timeout, refresh token behavior, and forced re-auth flows.
Cypress A/B Experiment Validation
Ensure experiment assignment, metric events, and user experiences are correct.
Playwright Feature Flag Matrix Tests
Validate behavior across enabled/disabled combinations of critical feature flags.
Defect Leakage Retrospective Prompt
Analyze escaped defects and define prevention actions for future releases.
Test Coverage Gap Analysis Framework
Identify untested risk areas across requirements, code paths, and user journeys.
Quality Gate Scorecard Template
Create a release scorecard combining test, defect, and risk metrics.
Risk-Based Regression Selection
Select high-value regression tests under tight release windows.
GitHub Actions Test Quarantine Workflow
Route known flaky tests to quarantine while preserving release confidence.
Playwright Flaky Test Detection Playbook
Detect, classify, and reduce flaky E2E tests with telemetry-driven signals.
Postman Idempotency and Retry Tests
Verify retry safety and duplicate request handling for write APIs.
Generate a Full QA Test Plan Document
Produce a professional test plan covering scope, strategy, environments, entry/exit criteria, schedule, risk register, defect management, and metrics — ready to share with stakeholders.
Jest Test Data Factory Patterns
Standardize fixture generation with factories and scenario presets.
Pytest Database Migration Safety Tests
Validate schema migrations, rollback safety, and data integrity boundaries.
Jest ARIA Semantic Unit Tests
Assert semantic accessibility rules at component level using RTL queries.
Cypress Color Contrast Regression Tests
Prevent contrast regressions with automated WCAG thresholds across themes.
Playwright Keyboard Navigation Accessibility Suite
Test full keyboard-only interaction and focus order across critical journeys.
Appium Push Notification Flow Tests
Ensure push notifications route users to correct app state and screen.
Appium Biometric Authentication Tests
Validate Face ID/Touch ID/Android biometric auth flows and fallback UX.
Appium Deep Link Navigation Suite
Automate deep-link entry and guarded-route behavior across iOS and Android.
Appium Offline Mode Recovery Tests
Verify offline UX, data queueing, and sync conflict resolution on mobile.
REST API Tests with Supertest & Jest
Generate a production-grade API test suite using Supertest and Jest covering happy paths, validation errors, auth, RBAC, and DB isolation — with Zod response shape validation.
GDPR Right-to-Erasure E2E Tests
Validate user deletion workflows across application and downstream systems.
HIPAA Data Protection Test Strategy
Design PHI-focused security and privacy validation workflows.
Playwright Multi-Role Auth State Management
Eliminate redundant login steps across your test suite. Generates global-setup.ts, per-role storageState files, and playwright.config.ts project config for admin, editor, and viewer roles.
SOC 2 Control Validation Test Plan
Produce audit-ready tests mapped to SOC 2 control families.
Security Code Review Checklist Prompt
Generate structured security review findings for pull requests.
Secret Scanning CI Quality Gate
Add automated secret detection and enforcement before merge.
OWASP Web Top 10 Playwright Security Suite
Exercise web-focused OWASP risks beyond API-only security checks.
Pytest API Rate-Limit Verification
Test quota policies and burst behavior for public APIs.
Vitest Contract Validation with Zod
Validate service responses and DTO evolution with Zod schemas.
Jest + MSW API Mocking Patterns
Model resilient API mocking for frontend and service tests using MSW.
Risk-Based Test Prioritisation Matrix
Generate a QA risk register and P1/P2/P3 test priority matrix for any feature or release, with likelihood/impact scoring and concrete testing recommendations.
Postman Async Event Contract Tests
Validate eventual consistency and async callback contracts for event-driven APIs.
React Component Unit Tests with Jest & RTL
Generate comprehensive unit tests for React components using Jest and React Testing Library with proper mocking patterns.
Jest DB Query Performance Regression Guard
Prevent query regressions with baseline timing and plan-diff assertions.
Playwright Web Vitals Audit Suite
Measure user-centric frontend performance during E2E execution.
Cypress Component Test Suite
Generate isolated Cypress component tests covering rendering, interactions, loading/error states, keyboard accessibility, and ARIA semantics — with the full cypress.config.ts setup.
k6 Frontend Web Vitals Thresholds
Track and enforce LCP, CLS, and INP budgets in performance tests.
k6 API Soak Test Blueprint
Run long-duration API soak tests for memory, latency drift, and error trends.
Generate API Contract Tests from OpenAPI Spec
Create a production-grade API contract test suite that validates response schemas, status codes, headers, and error payloads against an OpenAPI 3.0 spec.
GitHub Actions Release Verification Gate
Implement deployment verification jobs with rollback triggers and incident output.
GraphQL API Test Suite
Generate typed GraphQL tests covering queries, mutations, pagination, error handling, auth, depth limits, and N+1 detection — using graphql-request with Jest and codegen types.
Visual Regression Testing Setup
Set up screenshot-based visual regression tests with Playwright including baseline management and CI integration.
k6 Load Test Script with Staged Ramp-Up
Generate a k6 load test script with staged ramp-up, custom metrics, thresholds, and CI integration.
Appium 2.x Mobile Test Suite
Generate a WebdriverIO + Appium 2 mobile test suite for iOS and Android with cross-platform Page Objects, gesture helpers, permission handling, and CI config for BrowserStack or Sauce Labs.
Accessibility Testing with axe-core & Playwright
Automated accessibility tests using axe-core integration with Playwright, covering WCAG 2.1 AA compliance.
Generate Test Cases and Testing Documentation
Create complete, traceable test cases and supporting QA documents including RTM, execution checklist, and test summary report templates.