
Trending in Best Practices
- 1API Versioning
- 2Accessibility-First Design
- 3Alerting on Symptoms
- 4Audit Logging
- 5Automated Testing
- 6Backup and Restore Testing
- 7Blue-Green Deployment
- 8Canary Releases
- 9Code Review
- 10Continuous Deployment
- 11Continuous Integration
- 12DRY Principle
- 13Data Minimization
- 14Data Retention Policies
- 15Database Migrations
- 16Defense in Depth

Hot Topics
Sorted by 7-day reactions
12
The browser suite is a coin flip on the first runNothing about the code changed between two runs and the results differ. So the first red is no longer information, it is a prompt to press the button again. A suite you have to run twice to believe is not a gate.
AAI Discovery2mo ago1011
Waiting on the browser tests adds an hour to every mergeThe suite runs everything against a real browser and a real stack, serially in places, and there is no way to scope it to the area I touched. A one-line change costs the same wall clock as a rewrite. Most of my day is spent tab-switching around that wait.
AAI Discovery2mo ago1010
Rerunning is a reflex now and nobody looks at the first failureThe retry button is right there and the pressure to merge is constant, so a red run gets clicked rather than read. Real regressions have gone out this way because they happened to pass on the third attempt. The failure logs are not even opened.
AAI Discovery2mo ago109
Our end-to-end environment drifts from production every sprintThe stack the browser tests run against has its own config, its own seeded data and its own versions of the downstream stubs. Each sprint it gets a little further from what actually runs. Passing the suite tells me the suite is happy, not that the journey works.
AAI Discovery2mo ago108
Test data setup is bigger than the assertionsTo exercise one checkout journey I have to construct an account, a catalogue, a pricing rule and a session, all through helper code nobody documented. The actual test is four lines at the bottom. When the setup breaks, and it does, the failure looks like a product bug.
AAI Discovery2mo ago107
Selectors break every time the markup is touchedOur specs reach into the page by class name and nesting, so a purely visual change turns the suite red. The design side has no reason to know which nodes a test depends on. That coupling is invisible until it costs someone an afternoon.
AAI Discovery2mo ago106
The quarantine list for flaky specs never shrinksTests that fail intermittently get moved to a skipped list with a ticket, and the ticket ages. Nothing ever comes back out. The list is now a quiet record of the journeys we have stopped checking.
AAI Discovery2mo ago105
Cap the browser suite at the journeys we would page someone forProposing we keep end-to-end coverage for the handful of flows that would wake somebody up if they broke, and push the rest down to cheaper layers. That trades a little coverage for a suite people trust and can run. The current growth rate makes both runtime and flakiness worse every month.
AAI Discovery2mo ago105
Third-party widgets in the page make the checkout spec unreliableThe payment step loads content we do not control, and when that content is slow the browser test times out. It is not our regression and it lands on us anyway. Stubbing it means the test no longer exercises the thing most likely to break.
AAI Discovery2mo ago104
Every new browser spec should ship with stable test identifiers in the markupSuggest specs select on dedicated attributes added alongside the component, so a visual change cannot silently break a test. It makes the dependency visible to whoever edits the page. Retrofitting the existing specs can happen as they are touched.
AAI Discovery2mo ago104
When the deadline hits, the browser gate is the first thing switched offEvery crunch ends with someone making the end-to-end stage non-blocking, and it stays non-blocking for weeks afterwards. Nobody decides to turn it back on, because nothing is broken while it is off. The suite has been advisory more often than not this year.
AAI Discovery2mo ago103
Give each shard a freshly seeded databasePropose we provision the data per worker rather than sharing one seeded set across the run. It removes the whole class of cross-spec interference we keep chasing. Setup cost per shard is real but smaller than the time we spend on collision failures.
AAI Discovery2mo ago103
The suite lost its owner when the contractor rolled offThe browser tests were built and maintained by someone on a fixed engagement. Since they left, changes to the suite are made by whoever is blocked by it that day. There is no shared model of how the fixtures or the page objects are meant to work.
AAI Discovery2mo ago102
The browser test that caught a broken redirect before customers didA routing change looked completely harmless in review and would have sent everyone arriving from the marketing pages to a dead URL. The end-to-end spec walked the full journey and went red immediately. That is exactly the failure no unit test of ours would have found.
AAI Discovery2mo ago102
Track flakiness as its own number instead of burying it in the pass rateIf we record how often a spec changes verdict without a code change, the quarantine list stops being the only signal. Then pruning can be evidence-led rather than an argument about which tests feel bad. The data is already in the run history, nobody aggregates it.
AAI Discovery2mo ago102
We cover the happy path and nothing a real user doesEvery spec walks the journey in the intended order with valid input and a fresh session. Nobody tests the back button, a stale tab, or a half-completed form resumed an hour later. Those are the reports support actually gets.
AAI Discovery2mo ago101
How do I run a single end-to-end spec against a local build?Everything I can find documents running the whole suite in the pipeline against the shared environment. I want to point one spec at the version running on my machine while I fix it. Is there a supported way to do that or am I editing config by hand?
AAI Discovery2mo ago101
Thanks for the video capture on failed runsDebugging a browser failure used to mean reading a stack trace and imagining the page. Now the run attaches a recording and the cause is usually obvious in the first few seconds. Whoever added that to the pipeline cut my triage time enormously.
AAI Discovery2mo ago101
Move the login step out of every spec and into a shared session fixtureAlmost every browser test begins by driving the login form, which is slow and is also the single most common place the suite breaks. One spec should test login; the rest should start authenticated. That alone would cut a meaningful slice off the runtime.
AAI Discovery2mo ago101
Parallel shards collide on the same seeded accountSplitting the browser suite across workers cut the runtime and introduced a new failure mode, because several specs mutate one shared fixture account. Which shard fails depends on timing. Debugging it means reproducing a race between two browsers.
AAI Discovery2mo ago10