docs(integrations): rename section to Integrations and add Email and API emulators (ENG-1300)
Merged
SA
9h ago+233+233+012345678901234567890123456789-135-135-012345678901234567890123456789
What
Renames the "Hosted browsers and devices" docs section to "Integrations", moves the AgentMail and Resend guides into a new "Email" group, and adds an "API emulators" group with a new emulate page.
Why
The section now holds more than hosted browsers and devices. Email testing services and API emulators are integrations too, and the email guides sat in Guides where readers looking for integrations would not find them. ENG-1300 tracks integrating stateful mocks like emulate.dev with e2e.
How it works
- Retitle
docs/integrations/index.mdxto "Integrations", remove the old providers intro paragraph, and split the overview into three logo-card sections: "Browsers and devices" (the existing 12 cards), "Email" (AgentMail, Resend), and "API emulators" (emulate). The new cards lead with the vendor's npm package (agentmail,resend,emulate), as the other cards lead with their@e2e-dev/*package. Move "Use a service with no integration" to the end and note that any other dependency can be a service. Removeog:imageandtwitter:imagebecause they pointed to a social card with the old title. - Move
docs/test-emails.mdxtodocs/integrations/agentmail.mdxanddocs/test-emails-resend.mdxtodocs/integrations/resend.mdx, add asidebarTitleto each, and move their Portuguese (docs/pt/) and Indonesian (docs/id/) translations with them. Content is otherwise unchanged. - Add
docs/integrations/emulate.mdxfrom the "Run a local API emulator" section ofdocs/services.mdx, using the same example files indocs/examples/services/emulate/. Replace that section indocs/services.mdxwith two lines that link to the new page. - Add logos to
docs/images/integrations/:resend.svg(Resend's official black icon from their brand assets, cropped to the mark),agentmail.svg(the hat mark from the SVG in AgentMail's site header, since they publish no logo files), andemulate.svg(the Vercel mark emulate.dev uses as its favicon, since emulate is a Vercel Labs project). All three are near-black, so a companion PR ine2e-inc/e2e-site(https://github.com/e2e-inc/e2e-monorepo/pull/383) adds them to the list of marks inverted on the dark theme. - Update
docs/docs.jsonfor the sidebar changes and point the existing/guides/agentmailredirect to/integrations/agentmailbecause/test-emailsno longer exists. Leave out redirects for/test-emailsand/test-emails-resendon purpose. - Update all 10
docs/<language>/navigation.jsonfiles to rename "Hosted browsers and devices" to "Integrations" and add labels for "Email" and "API emulators". - Update example-to-page paths in
scripts/check-docs-examples.ts, update the Guides walkthrough example in.dev/skills/authoring-docs/SKILL.mdto namedocs/page-object-model.mdx, and update the link text indocs/ci.mdxto "Integrations".
Verified
Ran it locally: yes
- The docs site at
localhost:3000serving this branch, with the companion site PR applied. pnpm docs:checkpassed (examples, package managers, anchors, logos, MDX, translations).- A fresh-context review found no critical or important issues.
Before is the live e2e.com page. After is this branch.
| before | after |
|---|---|
Summary by CodeRabbit
- Documentation
- Reorganized integration guides under a unified Integrations section, with separate navigation categories for email services and API emulators across supported languages.
- Added a guide to using a local API emulator with Resend, including setup and testing examples.
- Moved the AgentMail and Resend guides into the Integrations section and updated related navigation links and redirects.
- The Services guide now links to the emulator walkthrough rather than including its detailed setup and testing example.