filamentphp-testing

Test FilamentPHP 4.x admin resources using Pest and Livewire in Laravel projects.

Updated Jul 18, 2025
One-click install
npx skills add https://github.com/habibGamal/ai_rewrite_turbo_restaurant --skill filamentphp-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: filamentphp-testing
Source: https://github.com/habibGamal/ai_rewrite_turbo_restaurant/tree/main/.github/skills/filamentphp-testing
Command: npx skills add https://github.com/habibGamal/ai_rewrite_turbo_restaurant --skill filamentphp-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers validate FilamentPHP admin interfaces by providing Pest and Livewire testing patterns for resources, tables, schemas, actions, and notifications.

Core Features & Use Cases

  • Comprehensive guidance for writing and debugging tests for FilamentPHP 4.x resources, tables, schemas, and notifications.
  • Real-world examples for common admin panel workflows (list, create, edit, view, bulk actions) and relation managers.
  • Practical patterns to ensure test coverage, debug failures, and verify permissions and notifications.

Quick Start

Use this skill to scaffold and run FilamentPHP tests in your Laravel project, starting with a simple ListUsers test.

Frequently Asked Questions about filamentphp-testing

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

FAQPage Schema
How do I test FilamentPHP admin resources using Pest?

You can test FilamentPHP admin resources using Pest by utilizing Livewire testing utilities to simulate admin panel workflows like list, create, edit, and view operations within your Laravel project. This skill provides patterns to validate resources, tables, and actions.

What is the best way to test FilamentPHP table actions and notifications?

The best way to test FilamentPHP table actions and notifications is by applying targeted Pest and Livewire testing patterns to assert behavior and verify permissions. This skill offers real-world examples for testing bulk actions and notification outputs.

Does FilamentPHP testing with Pest require a specific framework version?

FilamentPHP testing with Pest requires a Laravel project configured with FilamentPHP 4.x. You also need both Pest and Livewire testing utilities installed in your environment to execute the resource and schema tests.

How do I debug failing FilamentPHP tests for relation managers?

To debug failing FilamentPHP tests for relation managers, use practical testing patterns to ensure adequate test coverage and isolate failures. This skill provides specific guidance for verifying relation manager workflows and resolving test assertion errors.

Can I use Livewire testing utilities to verify FilamentPHP schemas?

Yes, you can use Livewire testing utilities to verify FilamentPHP schemas. This skill enables developers to test schemas, resources, and tables by providing specific Pest patterns to validate form configurations and admin panel interactions.