Show a task card's actions above tabs for notes, images and materials
The opened task card keeps its details and description at the top, then the status, book hours, edit and remove actions, and below them tabs: checklist and comments, images, and materials and machines. The tabs are a project component (x-tabs) after the WAI-ARIA pattern, because TallStackUI's tab ties its panels to missing ids and has no arrow keys. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -82,7 +82,8 @@ it('records material on a task card with the keyboard and without accessibility
|
||||
$visit = $device === 'mobile' ? $visit->on()->mobile() : $visit->on()->desktop();
|
||||
$visit = $colorScheme === 'dark' ? $visit->inDarkMode() : $visit->inLightMode();
|
||||
|
||||
$visit->assertSee(__('inventory.task.title'))
|
||||
$visit->click('#task-'.$task->id.'-tabs-tab-materials')
|
||||
->assertSee(__('inventory.task.title'))
|
||||
->fill('#task-'.$task->id.'-material-search', 'valoku')
|
||||
->assertSee('1 osuma')
|
||||
->click('[wire\:click="selectItem('.$this->item->id.')"]')
|
||||
|
||||
Reference in New Issue
Block a user