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:
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user