umbraco-testing

Route Umbraco backoffice extension tests to unit, mocked UI, or E2E levels.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/1k-off/umbraco-observability-playground --skill umbraco-testing-1k-off
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: umbraco-testing
Source: https://github.com/1k-off/umbraco-observability-playground/tree/main/.agents/skills/umbraco-testing
Command: npx skills add https://github.com/1k-off/umbraco-observability-playground --skill umbraco-testing-1k-off

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents wasted effort by helping you choose the most effective testing approach for Umbraco backoffice extensions based on what you’re trying to verify.

Core Features & Use Cases

  • Testing-level routing: Selects the right strategy from unit, MSW-mocked, mocked backoffice UI, or full E2E based on the scope and dependencies your test needs.
  • Practical decision guide: Maps common Umbraco extension testing goals (rendering, controller logic, API error handling, UI integration, permissions/workflows) to the appropriate approach.
  • Pyramid coverage planning: Helps you assemble a complete testing pyramid by pairing the right skill with supporting builders and helpers for repeatable test data and UI interactions.

Quick Start

Ask the skill which testing level to use for your specific Umbraco backoffice extension behavior and what outcome you need to validate.

Frequently Asked Questions about umbraco-testing

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

FAQPage Schema
How do I choose the right testing strategy for Umbraco backoffice extensions?

Choosing the right testing strategy requires mapping your verification target to the testing pyramid, routing Umbraco extension tests to unit logic validation, MSW-mocked APIs, mocked backoffice UI, or full end-to-end workflows based on required dependencies.

When should I use MSW versus Playwright for Umbraco backoffice testing?

Use MSW for mocked API error and loading state behavior, and use Playwright for full end-to-end workflows with real Umbraco. Select MSW to isolate controller logic and Playwright to validate complete UI integration workflows.

What is the best way to test API error handling in Umbraco extensions?

The best way to test API error handling is applying an MSW-mocked testing approach to intercept network requests and validate loading states and error behaviors without requiring a full Umbraco environment.

Does unit testing work for Umbraco backoffice UI integration workflows?

Unit testing does not cover UI integration workflows. For Umbraco backoffice extensions, route rendering and UI integration tests to mocked backoffice UI testing or full end-to-end Playwright workflows instead of isolated unit logic validation.

How do I build a complete testing pyramid for Umbraco extensions?

Build a complete testing pyramid by pairing the correct testing level with specialized skills and supporting builders, mapping scenarios from unit logic and MSW-mocked APIs up to full end-to-end workflows for repeatable test data and UI interactions.