docs(integrations): rename section to Integrations and add Email and API emulators (ENG-1300)

Merged
SA
9h ago
+233-135

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

  1. Retitle docs/integrations/index.mdx to "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. Remove og:image and twitter:image because they pointed to a social card with the old title.
  2. Move docs/test-emails.mdx to docs/integrations/agentmail.mdx and docs/test-emails-resend.mdx to docs/integrations/resend.mdx, add a sidebarTitle to each, and move their Portuguese (docs/pt/) and Indonesian (docs/id/) translations with them. Content is otherwise unchanged.
  3. Add docs/integrations/emulate.mdx from the "Run a local API emulator" section of docs/services.mdx, using the same example files in docs/examples/services/emulate/. Replace that section in docs/services.mdx with two lines that link to the new page.
  4. 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), and emulate.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 in e2e-inc/e2e-site (https://github.com/e2e-inc/e2e-monorepo/pull/383) adds them to the list of marks inverted on the dark theme.
  5. Update docs/docs.json for the sidebar changes and point the existing /guides/agentmail redirect to /integrations/agentmail because /test-emails no longer exists. Leave out redirects for /test-emails and /test-emails-resend on purpose.
  6. Update all 10 docs/<language>/navigation.json files to rename "Hosted browsers and devices" to "Integrations" and add labels for "Email" and "API emulators".
  7. Update example-to-page paths in scripts/check-docs-examples.ts, update the Guides walkthrough example in .dev/skills/authoring-docs/SKILL.md to name docs/page-object-model.mdx, and update the link text in docs/ci.mdx to "Integrations".

Verified

Ran it locally: yes

  • The docs site at localhost:3000 serving this branch, with the companion site PR applied.
  • pnpm docs:check passed (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.

beforeafter
Integrations page before in light modeIntegrations page after in light mode

Integrations page after in dark mode

New emulate page in light mode

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.