Gate Queue to doctors and land specialty modules on list indexes.
Deploy Ladill Care / deploy (push) Successful in 34s
Deploy Ladill Care / deploy (push) Successful in 34s
Hide the patient-flow Queue board from nurses, reception, and other non-doctors; specialty home routes now render the queue board list instead of auto-opening the first open visit. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -96,11 +96,14 @@ class CareSpecialtyShellTest extends TestCase
|
||||
|
||||
$this->actingAs($this->owner)
|
||||
->get(route('care.specialty.show', 'emergency'))
|
||||
->assertRedirect(route('care.specialty.workspace', 'emergency'));
|
||||
->assertOk()
|
||||
->assertSee('Patient flow')
|
||||
->assertSee('Waiting');
|
||||
|
||||
$this->actingAs($this->owner)
|
||||
->get(route('care.specialty.visits', 'emergency'))
|
||||
->assertRedirect(route('care.specialty.workspace', 'emergency'));
|
||||
->assertOk()
|
||||
->assertSee('Patient flow');
|
||||
|
||||
$this->actingAs($this->owner)
|
||||
->get(route('care.specialty.history', 'emergency'))
|
||||
@@ -115,9 +118,7 @@ class CareSpecialtyShellTest extends TestCase
|
||||
|
||||
$this->actingAs($this->owner)
|
||||
->get(route('care.specialty.workspace', 'emergency'))
|
||||
->assertOk()
|
||||
->assertSee('No open visit selected')
|
||||
->assertDontSee('Back to queue');
|
||||
->assertRedirect(route('care.specialty.show', 'emergency'));
|
||||
}
|
||||
|
||||
public function test_dentistry_shell_has_chair_stage_and_catalog(): void
|
||||
|
||||
Reference in New Issue
Block a user