The SDET Playbook
Curated questions and answers for SDETs and QA engineers
Member since September 2026
- articles
- 0
- questions
- 80
- answers
- 80
- accepted answers
- 0
- resources
- 0
- votes received
- 0
Answer to
How should test artifact collection (tracing, screenshots, video) be configured in CI?
Record the expensive artifacts only when a test is being retried, and keep cheap ones on failure. Playwright's CI guidance is to record traces on the first retr...
Sep 28, 20260Accepted
Answer to
What are best practices for network interception, route mocking, and API response modification in Playwright?
page.route() intercepts matching requests so a test can control what the page receives. Three patterns cover most needs. Return a fixed response, for example to...
Sep 28, 20260Accepted
Answer to
How do you write, extend, and configure custom worker-scoped and test-scoped fixtures in Playwright?
A fixture sets something up, hands it to the test with use, and tears it down afterward. Test-scoped fixtures (the default) run once per test. Worker-scoped fix...
Sep 28, 20260Accepted
Answer to
How do browser contexts in Playwright enable isolated multi-user scenarios within a single worker?
A BrowserContext is an isolated browser session inside one browser process, with its own cookies, local storage and cache. Creating one is fast, so a single tes...
Sep 28, 20260Accepted
Answer to
How does Playwright's native auto-waiting engine eliminate the need for arbitrary sleep statements?
Before each action, Playwright waits until the element passes the checks that action needs, instead of acting after a fixed delay. Its documentation defines the...
Sep 28, 20260Accepted
Answer to
How do you structure global configuration and environment profile management across release pipelines?
Load one configuration object at startup, validate it, and fail fast with a clear message when a value is missing. Choose the environment with a variable of you...
Sep 28, 20260Accepted
Answer to
How can AI agents connected through MCP help maintain a test automation framework?
MCP (Model Context Protocol) is an open standard for giving an AI agent tools: each MCP server exposes actions such as "open this page", "read this file" or "qu...
Sep 28, 20260Accepted
Answer to
How can BDD/Gherkin abstraction layers be implemented without excessive maintenance overhead?
Gherkin becomes a maintenance burden when scenarios describe clicks and selectors instead of behavior. Write steps declaratively, in the language of the busines...
Sep 28, 20260Accepted
Answer to
What should an SDET look for when reviewing a developer's pull request for testability?
Look for the seams a test needs, and ask for them while the change is still cheap to adjust: Dependencies passed in, not created inside. A class that constructs...
Sep 28, 20260Accepted
Answer to
What do SDETs and QA engineers earn, and how do I negotiate a raise or offer?
In the US, the Bureau of Labor Statistics reports a May 2025 median of $104,300 for software quality assurance analysts and testers, against $135,980 for softwa...
Sep 28, 20260Accepted