docs: split Writing tests into Goals, Assertions, and Locators pages
Merged
KA
2mo ago+199+199+012345678901234567890123456789-117-117-012345678901234567890123456789
The "Writing tests" page mixed three topics. Each now has its own page in "Get started", after Quickstart:
docs/goals.mdx:agent.act, plus the general sections (tests without a screen, structure, fixtures, run one test).docs/assertions.mdx:agent.assert,waitFor,extract, judging pixels, and a short locator-assertion section that points to Locators.docs/locators.mdx:screenandexpect. Opens with a full test so the page reads on its own.docs/docs.jsonredirects/writing-teststo/goals. Old anchors land at the top of Goals, since Mintlify redirects drop the fragment; nothing in the repo links to them anymore.- Links updated: the anchors in
index.mdx; the cards inindex.mdx,quickstart.mdx, and the Playwright, Cypress, Selenium, and Maestro migration guides now point to/goals; themobile.mdxcard points to/locators. - The
writing-testsskill guide topic (e2e guide writing-tests) is a separate thing and keeps its name.
Verified
Ran it locally: yes
- docs site,
mint dev: the three pages render under "Get started", with the sidebar and the "On this page" sections as expected. pnpm docs:check:mint validateandmint broken-linkspass.
| Goals | Assertions | Locators |
|---|---|---|