All jobs / Automation developer / CI/CD
Automation developer interview question · 5+ years
A thousand UI tests must finish in 15 minutes. What do you challenge first?
The strongest answer
Whether a thousand UI tests should exist — then isolation, shards, and a cheaper layer — I do not first buy a thousand browsers
Why it works
Exactly. Scale problems are usually shape problems. Hardware last, honesty first.
What a good answer covers
- Challenge the shape first.
- Then isolation and shards.
- Hardware last.
- Do not quietly move the SLO.
Answers that fall short
- Close, but not the strongest: A purchase order for a thousand browsers
Browsers fund a bad pyramid. - Weak: A rewrite in a “faster” language with the same cases
A new language with the same ice cream is the same wait. - Red flag: Moving the SLO to 3 hours
Moving the SLO hides the shape.
Who gets asked this
More CI/CD questions
- The nightly suite has been red for three weeks. What do you do?
- Audit asks for “proof of testing.” What do you hand them?
- When should the automated pack run?
- What belongs in the smoke the pipeline must pass to ship?
- A CI test fails and the log says “element not found.” What else should the job keep?
- Your CI job prints test output to the console and nothing else. Why do teams also emit a JUnit XML report?
- The PR job is 40 minutes of UI tests. What do you change first?
- You are adding an end-to-end job to a GitHub Actions workflow. What goes in it beyond running the tests?