playwright-blazor

Test Blazor applications end-to-end with Playwright.

10|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/AGIBuild/Agibuild.Fulora --skill playwright-blazor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-blazor
Source: https://github.com/AGIBuild/Agibuild.Fulora/tree/main/.cursor/skills/playwright-blazor
Command: npx skills add https://github.com/AGIBuild/Agibuild.Fulora --skill playwright-blazor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides robust patterns and best practices for writing end-to-end tests for Blazor applications, ensuring their reliability and stability.

Core Features & Use Cases

  • Blazor Component Testing: Write tests that interact with individual Blazor components.
  • Page Navigation & Workflow Testing: Simulate user journeys through your Blazor application.
  • Real-time Update Testing: Verify SignalR-based features in Blazor Server applications.
  • Authentication & Authorization Flows: Test login, logout, and protected routes.
  • Visual Regression Testing: Capture screenshots for visual validation.

Quick Start

Use the playwright-blazor skill to write end-to-end tests for your Blazor application.

Frequently Asked Questions about playwright-blazor

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

FAQPage Schema
How do I write end-to-end tests for Blazor applications using Playwright?

To write end-to-end tests for Blazor applications using Playwright, use patterns for stable selectors, Blazor-specific wait strategies, and authentication flows to ensure component interactions, page navigation, and real-time updates are reliably validated.

What is the best way to test SignalR real-time updates in Blazor Server?

Testing SignalR real-time updates in Blazor Server involves simulating user journeys and verifying real-time features using Blazor-specific wait strategies within your Playwright end-to-end tests to ensure stable validation of dynamic updates.

Can I use Playwright to test authentication and protected routes in Blazor?

Yes, you can use Playwright to test authentication and protected routes in Blazor by simulating login, logout, and access validation workflows to ensure your authorization flows function correctly and reliably.

How do I handle dynamic content and stable selectors when testing Blazor components?

Handle dynamic content and ensure stable selector targeting in Blazor component testing by applying Blazor-specific wait strategies provided for Playwright, which ensure reliable interactions and validation of page navigation.

Does this approach support visual regression testing for WebAssembly apps?

Yes, this approach supports visual regression testing for WebAssembly apps by capturing screenshots for visual validation, allowing you to detect unintended UI changes during your end-to-end testing workflows.

How do I integrate Blazor e2e tests into a CI/CD pipeline?

Integrate Blazor e2e tests into a CI/CD pipeline by utilizing the provided CI/CD integration patterns, ensuring your Playwright tests for component interactions and workflows run automatically and reliably during builds.