Compact recordings list rows to title plus one transcript preview line.
This commit is contained in:
@@ -63,7 +63,7 @@ class IndexTest extends TestCase
|
||||
'file_path' => 'recordings/office.mp3',
|
||||
'file_size_bytes' => 100,
|
||||
'transcription_status' => 'done',
|
||||
'transcript' => 'talking about the pocket recorder today',
|
||||
'transcript' => "talking about the pocket recorder today\nsecond line stays hidden",
|
||||
]);
|
||||
|
||||
Recording::query()->create([
|
||||
@@ -79,6 +79,8 @@ class IndexTest extends TestCase
|
||||
Livewire::test(Index::class)
|
||||
->set('search', 'pocket recorder')
|
||||
->assertSee('Office chat')
|
||||
->assertSee('talking about the pocket recorder today')
|
||||
->assertDontSee('second line stays hidden')
|
||||
->assertDontSee('Unrelated');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user