Umto's end-to-end tests, mapped as a product
Before the Playwright suite had a test in it, it was an idea. Mapping it in Umto turned that idea into four promises, the rules that keep them, and what the suite covers today.


The Jira epic for Umto's end-to-end tests said one thing: “E2E foundation for the solution.” That is a direction, not a product. What made it something I could build was mapping it in Umto, the same way I would map any product: what it promises the people who rely on it, what keeps each promise, and what it covers.
That process is the reason to do it in a model. A vision in my head stays vague; a vision on a canvas has to name its parts, and every part gets a document where the detail has to hold up. Here the product happened to be a test suite for Umto itself.
The picture at the top is that map, drawn again from today's code: four promises on the left, the rules that keep them in the middle, and the tests per area on the right, drawn as bars. A second model in the same project draws the suite's architecture: what runs where, and what passes between the parts.


Four promises
- A green run means Umto works. Every test drives the real stack, browser to API to database, with nothing mocked. A small smoke run checks the basics first.
- Any test runs alone and in parallel. Each test gets fresh accounts of its own, sets up its data through the public API, and names everything uniquely, so nothing is shared and nothing needs cleaning up.
- Tests read like someone using Umto. They talk to the UI through composed page objects that find things by role and label, the way a person or a screen reader does.
- A flaky test fails loudly. No sleeps, no retries. A test that only passes on its second try counts as failing.
Each promise points at the rules that keep it, and each rule's document has the paths, the reasoning and an example. The rules came from the promises, not the other way round.


What it covers
68 tests in seven areas when this was written: presentations, models and the canvas, projects and folders, collaboration between two live browsers, teams, sign-in and accounts, and share links. Four of them are smoke tests. Each bar's document lists its tests by name, which says more than the file tree does.
Keeping it current
The rules themselves live in the repository, next to the tests. The model is the picture of them, and of why they exist. When the suite changes, an agent re-reads e2e/ and updates the counts and documents in place; the promises at the left rarely move.