What problem does it solve?
Ensures your Umbraco backoffice extension works correctly across complete user journeys by running tests against a real, running Umbraco instance instead of relying on brittle UI assumptions or mocked behavior.
Core Features & Use Cases
- Real E2E validation with Playwright: Runs end-to-end tests that cover authentication, navigation, and persistence.
- Core-vs-extension testing approach: Uses @umbraco/playwright-testhelpers for core Umbraco operations (auth, navigation, core CRUD) and raw umbracoUi.page interactions for extension-specific UI elements.
- Deterministic test data & teardown: Supports fast setup/cleanup using umbracoApi helpers and complex entity creation using @umbraco/json-models-builders.
- Persistent data handling: Provides patterns for resetting Umbraco App_Data via globalSetup and a seed JSON file when your extension depends on stored state.
Quick Start
Run your Playwright E2E suite against a running Umbraco instance using environment variables for URL, login, and password, and ensure testhelpers are configured with data-mark selectors and STORAGE_STAGE_PATH for auth reuse.