"reorderRecords" action not found when testing a reorderable table
Filament v4 (Beta 15)
My CategoriesResource table has reordering enabled:
In my test I try to assert the reorder action exists / trigger it:
but I get:
What’s the correct way to test (or at least assert the presence of) the reorder action produced by reorderable()?
Solution:Jump to solution
```php
livewire(ListCategories::class)
->tap(function (Testable $testable): void {
/** @var ListCategories $livewire */
$livewire = $testable->instance();...
2 Replies
GitHub
filament/packages/tables/src/Table/Concerns/CanReorderRecords.php a...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
Solution
works for me