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:
@@ -212,6 +212,19 @@ it('keeps the task list of a card open when the board is opened again', function
|
||||
->assertNoAccessibilityIssues(level: 2);
|
||||
});
|
||||
|
||||
it('changes the order of a column and the urgent threshold from the column menus', function () {
|
||||
visit(route('jobs.board'))
|
||||
->on()->desktop()
|
||||
->click('[aria-controls="sort-menu-order"]')
|
||||
->click('#sort-menu-order [aria-checked="false"]')
|
||||
->assertSee('Listan Jonossa järjestys: Eräpäivän mukaan.')
|
||||
->click('[aria-controls="threshold-menu"]')
|
||||
->click('#threshold-menu button:first-of-type')
|
||||
->assertSee('Kiire-listaan nousevat nyt: Vain Heti.')
|
||||
->assertNoJavaScriptErrors()
|
||||
->assertNoAccessibilityIssues(level: 2);
|
||||
});
|
||||
|
||||
it('marks a task done from the task panel of a card', function () {
|
||||
$this->job->update(['status' => 'in_production']);
|
||||
$task = TaskModel::factory()->create(['customer_job_id' => $this->job->id, 'title' => 'Leikkaus', 'status' => 'in_progress']);
|
||||
|
||||
Reference in New Issue
Block a user