Give the editor's task checklist its own toggle, comments and images their tabs

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-30 11:05:44 +02:00
co-authored by Claude Opus 5.5
parent 1d9bcefb41
commit f3d2b3e39e
5 changed files with 44 additions and 22 deletions
+4 -1
View File
@@ -145,8 +145,11 @@ it('has comments and images for each task', function () {
Livewire::test('jobs::job-editor')
->dispatch('open-job-editor', jobId: $this->job->id)
->assertSee('Lisätiedot (kommentit 0, kuvat 0)')
->assertSee('Tarkistuslista')
->assertSee('Kommentit ja kuvat (kommentit 0, kuvat 0)')
->assertSeeLivewire('jobs::task-checklist')
->assertSeeLivewire('jobs::task-comments')
->assertSeeLivewire('jobs::task-images')
->assertSeeHtml('editor-task-'.$task->id.'-tabs-tab-comments')
->assertSeeHtml('editor-task-'.$task->id.'-tabs-tab-images');
});