Pass the choice to the Kanban column menus (they called the action without it)
Collection::join() plucks from objects, so joining the Js arguments gave an empty string and the sort and urgent threshold menus called setColumnSort() / setUrgentThreshold() with no arguments (500). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -286,3 +286,9 @@ it('remembers for each user which cards have their tasks open', function () {
|
||||
$this->actingAs($colleague);
|
||||
Livewire::test('jobs::board')->assertDontSeeHtml('aria-expanded="true"');
|
||||
});
|
||||
|
||||
it('passes the column and choice to the order and urgent threshold menus', function () {
|
||||
Livewire::test('jobs::board')
|
||||
->assertSeeHtml('wire:click="setColumnSort('order', 'due_date')"')
|
||||
->assertSeeHtml('wire:click="setUrgentThreshold('immediate')"');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user