envelope-editor-v2-e2e

Create Playwright end-to-end tests for Envelope Editor V2 across four editor surfaces.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/steviecs/documenso --skill envelope-editor-v2-e2e-steviecs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: envelope-editor-v2-e2e
Source: https://github.com/steviecs/documenso/tree/main/.agents/skills/envelope-editor-v2-e2e
Command: npx skills add https://github.com/steviecs/documenso --skill envelope-editor-v2-e2e-steviecs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The envelope editor V2 requires comprehensive end‑to‑end testing across multiple surfaces (document, template, embedded create, embedded edit). Writing and maintaining these Playwright tests manually is error‑prone and time‑consuming.

Core Features & Use Cases

  • Unified test architecture that runs the same flow on four editor surfaces.
  • Helper fixtures (openDocumentEnvelopeEditor, openTemplateEnvelopeEditor, openEmbeddedEnvelopeEditor) to seed users, create tokens, and manage envelopes.
  • Database validation using Prisma to ensure UI actions persist correctly.
  • Reusable flow functions handling surface differences (e.g., “Add Myself” button, toast expectations, persistence steps).

Quick Start

Ask the assistant to generate a new Playwright test for the envelope editor that verifies adding a recipient on both document and embedded create surfaces.

Frequently Asked Questions about envelope-editor-v2-e2e

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Playwright E2E tests for multiple editor surfaces?

Automating Playwright E2E tests for multiple editor surfaces involves using a unified test architecture with helper fixtures to seed users and manage envelopes across document, template, and embedded workflows. This ensures consistent test execution across different UI states.

How do I verify UI actions persist correctly during Playwright end-to-end testing?

To verify UI actions persist correctly during Playwright end-to-end testing, you can use Prisma for database validation. This connects your test assertions directly to the database state to confirm that actions like updating settings are successfully saved.

Can I use fixtures to handle surface differences like embedded persistence in Playwright?

Yes, you can use fixtures like openEmbeddedEnvelopeEditor to handle surface differences in Playwright. These fixtures manage tokens and embedded persistence helpers to reconcile differences such as the Add Myself button and toast expectations across workflows.

What is the best way to test envelope editor workflows across document and embedded create surfaces?

The best way to test envelope editor workflows across document and embedded create surfaces is by applying reusable flow functions within a unified Playwright test architecture. This approach handles surface differences while validating recipient additions and envelope persistence.

Do I need Prisma to run E2E tests for envelope editor workflows?

You need Prisma to run E2E tests for envelope editor workflows if you require database validation to ensure UI actions persist correctly. It is utilized specifically within the test architecture to verify that data mutations match the expected state.