Kanban / timesheet update
This commit is contained in:
@@ -33,7 +33,7 @@ it('approves the own week in the weekly view, which locks its cells', function (
|
||||
$this->actingAs($this->employee);
|
||||
|
||||
Livewire::test('time::week')
|
||||
->assertSee('Hyväksymättä 3 h.')
|
||||
->assertSee('Hyväksymättä:')->assertSee('3:00')
|
||||
->call('approveWeek')
|
||||
->assertSet('statusMessage', fn (string $message) => str_contains($message, 'hyväksytty. Hyväksytyt tunnit on lukittu.'))
|
||||
->assertDontSee('id="cell-'.$this->task->id.'-'.$this->monday.'"', false)
|
||||
|
||||
Reference in New Issue
Block a user