All jobs / Automation developer / Framework Design
Automation developer interview question · 0–1 years
Where do base URLs, users, and feature flags for tests live?
The strongest answer
In config or CI variables per environment — not hardcoded staging URLs in the spec, and not a laptop-only .env nobody else has
Why it works
Exactly. Config is how the same pack hits local, staging, and a preview app.
What a good answer covers
- Config per environment.
- No URLs baked into specs.
- Share the config shape, not a laptop file.
- CI is already a second env.
Answers that fall short
- Close, but not the strongest: In the test title so it is “documented”
Titles are not configuration. - Weak: In a Slack pin
Slack is not a secret store or a config repo. - Red flag: Hardcoded, because we only have one environment
You already have more than one environment the day CI exists.
Who gets asked this
More Framework Design questions
- A teammate wants the suite’s test data in a spreadsheet so “anyone can add a case”, starting with 400 rows…
- Three squads share checkout steps and each forked a page object. What do you introduce?
- Your framework offers per-test, per-file and per-run fixtures. Setting up a tenant takes thirty seconds…
- A feature flag is off in staging and on in the PR preview. How do tests cope?
- Six squads share your framework, and every triage starts with somebody rerunning the test locally with extra…
- What does a test-platform team ship?
- A vendor wants all oracles inside their cloud recorder. What do you keep local?
- What does a paved road for tests look like on day one of a new service?