In short
- A drift test compares two things that are supposed to agree and fails when they stop agreeing: the pricing page and the billing catalogue, a feature card and its route, a sitemap date and the content behind it, a sentence on a public page and the feature it describes.
- Dokimore ships only through a script that refuses to build on a shared working tree with unfinished edits, runs the typecheck and the tests for the modules that changed, pins a rollback image, prerenders every public page and validates its structured data; our own interface tests replay on the recorder, where every rescued locator is shown, never applied silently.
- Those gates have corrected our own pages four times since October; each correction is dated in place rather than deleted, because a reader who finds the old claim quoted elsewhere deserves to know when it stopped being true.
About this article
- Format
- Case study: what happened when we did it ourselves, with dates.
- Written for
- QA leads and test managers · Engineering managers · SDETs and automation engineers
- Where it applies
- Every market. The rules that differ by country are on the country pages.
Most testing companies will tell you that testing matters. This article is the less comfortable version: what actually runs before a Dokimore release, what it has caught in our own work, and the dates. Dokimore is a small company, so the gates below are also how it ships a large codebase without a second pair of eyes on every change. If a check depends on someone remembering to run it, it is not in this list.
What a drift test is
A drift test does not ask whether a feature works. It asks whether two things that are supposed to agree still do. The pricing page and the billing catalogue are written by different code; a feature card and the route it links are maintained by different people on different days; a sitemap date is typed by hand while the content it dates is edited by someone else. Each pair drifts apart quietly, and nothing in a normal end-to-end suite notices, because every half still works on its own.
The fix is cheap: load both halves in a test and assert that they match. The suite stays green until the day someone changes one without the other, which is the day the test earns its keep.
The drift tests we run
- Route reachability. Every feature card, search-index entry and internal link on the public pages must point at a route that is mounted, and every feature marked "coming soon" must have no route at all. A link to a comparison or documentation page passes only if the slug exists in the data file and is not marked planned.
- Plan catalogue. The TypeScript plan catalogue, the database seed and the price assertions in the subscription tests must agree on every tier’s price, seats and features, so the pricing page cannot say one number while checkout charges another.
- Content ledger. A sitemap date may move only when the content it dates has changed, and content may not change without moving the date. The test hashes each data-driven page and compares it with the recorded date. Google says it uses a lastmod only when it is consistently accurate, and an outside review on 25 October 2026 found 78 of our 132 URLs sharing one hand-set date; the ledger replaced the habit.
- Primary phrase. Every public URL declares one phrase it exists to answer, and the phrase must appear in its title and its H1. Titles are held to 60 characters before the site suffix and 70 with it, because a title truncated in a search result is a title nobody chose.
- Legal claims. A certification name may appear on a public page only beside a disclaimer in the same sentence. The phrases that assert we hold a report fail unconditionally, with no hedge able to rescue them.
- Unshipped claims. A sentence describing an importer, an export or a pipeline gate that the product does not have fails the build unless the same clause negates it or the line is a dated correction. This test exists because we wrote such sentences.
- Robots, URL policy and the sitemap. The only disallowed paths are the API and Cloudflare’s own, every redirect key is absent from the sitemap and from internal links, and every article in the data has a sitemap entry.
What runs before an image ships
Several work sessions, people and AI coding agents among them, share one working tree, which is its own hazard: an image built at the wrong minute ships someone’s half-finished edit. So the deploy script checks the edit ledger first and refuses to build when another session touched a build input within the last hour. After that it runs in a fixed order.
- A lockfile guard, so a dependency fix that lives only on one machine cannot ship.
- A typecheck ratchet: the TypeScript error count may fall but never rise.
- The test suites of every module that changed in the last twenty-four hours.
- A rollback point: the outgoing image is tagged before the new one starts, and the tag is checked after the deploy, because once it pointed two deploys back and nobody noticed for a day.
- Prerendering of every sitemap route in headless Chromium, inside the image build, with four checks that fail the build: a minimum of visible text, not the sign-in page, a meta description, and a JSON-LD block wherever the route declares structured data. On 27 October 2026 that was 129 pages and 126 routes of structured data with none failing.
- The edge cache purged, the changed URLs sent to IndexNow, and the next morning a sweep that fetches every URL a crawler can discover from the site, as Googlebot, and fails on anything that is not a 200. The sweep found the one broken link Search Console had reported: Cloudflare was rewriting our email addresses into a path that answers 404 to a crawler.
In the product
Dogfooding the recorder
Our own interface tests are recorded with the recorder and replayed on Playwright (1.64.1 at the time of writing), the same engine every customer uses. When a selector breaks, the other locators captured at record time try to rescue the step, and the run detail shows the locator that failed, the one that matched and the strategy that found it.
That visibility is the part dogfooding taught us. An early version applied rescues without showing them. The first time it matched the wrong element and the run stayed green, we stopped trusting every green run after it. Showing every rescue is the feature; a review queue in which a person approves a rescue before it applies is still not available to customers, and the product pages say so.
What the gates caught, with dates
- 20 October 2026, a correction: the recorder page described an importer for Selenium, Cypress and Playwright files. No importer exists. The unshipped-claims test was written that evening and the sentences were corrected, not deleted.
- 21 October 2026: a review queue that approves every rescued locator before it lands, cited on three pages and in two articles, turned out to be an operator-only screen. The articles now say what ships.
- 25 October 2026: the content ledger replaced hand-set sitemap dates, and five merged comparison pages became redirects with their sitemap entries removed.
- 27 October 2026: the link sweep explained the "Not found (404)" row in Search Console in one run. The fix was a robots rule and an opt-out comment in the page shell; nothing in the application had been wrong.
What you can copy this week
- Write one drift test that compares what you advertise with what is mounted. Ours took an afternoon and failed the first time we ran it.
- Pin prices and entitlements in a test, so the billing code and the pricing page cannot disagree.
- Hash the content behind every sitemap date and refuse a date that moved for nothing.
- Put a loud check behind every build step that could silently produce an empty page.
- Date your corrections in place. A changelog that only adds features is a marketing page with a different name.
Questions people ask
What is a drift test?
A test that loads two things that are supposed to agree, such as a pricing page and the billing catalogue behind it, and fails when they stop agreeing. It does not test whether either half works; it tests that they still match. Drift tests are cheap to write and tend to fail on exactly the day a person changed one half and forgot the other.
Is testing your own product with your own product enough?
No. Dogfooding finds the defects a small team meets in its own flows; it says nothing about a customer’s application, browser mix or data. It is one layer: the gates above, the module test suites, the prerender checks and the daily sweep are the others, and the comparison pages state the capabilities we do not have rather than letting dogfooding imply them.
Why publish corrections instead of quietly fixing the page?
Because the old sentence may already be quoted somewhere, and a reader who finds it deserves to know when it stopped being true. Google’s people-first content guidance asks who wrote a page and how it was produced; a dated correction is the plainest evidence of a method. It also keeps us honest: a correction you have to date is one you think twice about needing.
Do these gates run for every customer deployment?
They run for Dokimore’s own releases. The drift tests and build checks described here guard our public pages and our pipeline; they are not a feature customers run on their applications. The product features in this article are the recorder, its visible rescues and the run evidence.
How we measured this
- The page and route counts are read from the 27 October 2026 frontend build log; the URL count from the daily link sweep that ran after the email-obfuscation opt-out shipped (420 discovered, 0 failures). They change with every release, and the current numbers are whatever the build and the sweep print today.
- The drift tests and gates are the files named in the text, in our repository; the assertions are the tests themselves. The corrections are the entries recorded in our decision log on the dates given.
- Corrected 2026-10-21: an earlier version said every rescued locator lands in a review queue where a person approves it, and cited fifteen-plus locator strategies. Rescues apply during the replay and are shown in the run detail; the strategies count as thirteen named families in the code.
Sources
- Google Search Central, "Creating helpful, reliable, people-first content" (updated 5 October 2026): the who, how and why questions read
- Google Search Central, "Build and submit a sitemap": lastmod is used when it is consistently accurate read
- Playwright release notes: the engine the recorder replays on (v1.64.1, 14 October 2026) read
- Cloudflare, Email Address Obfuscation: the rewrite behind the 404 the sweep found, and its opt-out read