Write E2E Tests

🏢Official
by tldraw · vlatest · Repository

Automatically generate end-to-end tests from tldraw diagrams to validate user flows and application behavior.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add write-e2e-tests npx -- -y @trustedskills/write-e2e-tests
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "write-e2e-tests": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/write-e2e-tests"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enables AI agents to generate end-to-end (E2E) tests specifically tailored for the tldraw application. It automates the creation of test scripts that verify complex user interactions and rendering behaviors within the collaborative whiteboard environment.

When to use it

  • Validating new drawing features or shape manipulation logic before merging code.
  • Ensuring cross-browser compatibility for specific interactive elements in the editor.
  • Automating regression testing after updates to the core tldraw engine.
  • Creating automated acceptance criteria for user stories involving collaborative editing.

Key capabilities

  • Generates comprehensive E2E test suites for tldraw-specific components.
  • Focuses on verifying complex rendering and interaction flows.
  • Produces scripts ready for integration into existing CI/CD pipelines.

Example prompts

  • "Write an end-to-end test to verify that a user can successfully create a rectangle, resize it, and share the board link."
  • "Generate E2E tests to ensure collaborative cursors update correctly when multiple users edit the same whiteboard simultaneously."
  • "Create a test script that validates error handling when a user attempts to paste unsupported content into tldraw."

Tips & gotchas

Ensure your testing environment has the necessary browser automation drivers configured before running generated scripts. This skill is specialized for the tldraw ecosystem; do not use it to generate tests for unrelated web applications without modifying the context.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
tldraw
Installs
138

🏢 Official

Published by the company or team that built the technology.