Open the matching workspace tab after specialty stage advance.
Deploy Ladill Care / deploy (push) Successful in 45s
Deploy Ladill Care / deploy (push) Successful in 45s
Stage Move CTAs and pills previously always redirected to overview; map each stage to its tab via shell config so examination lands on exam, etc. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -84,6 +84,12 @@ class CareSpecialtyShellTest extends TestCase
|
||||
$stages = $shell->stages('emergency');
|
||||
$this->assertSame('arrival', $stages[0]['code'] ?? null);
|
||||
$this->assertGreaterThanOrEqual(4, count($stages));
|
||||
$this->assertSame('triage', $shell->workspaceTabForStage('emergency', 'arrival'));
|
||||
$this->assertSame('exam', $shell->workspaceTabForStage('ophthalmology', 'exam'));
|
||||
$this->assertSame('investigations', $shell->workspaceTabForStage('ophthalmology', 'investigation'));
|
||||
$this->assertSame('treat', $shell->workspaceTabForStage('ophthalmology', 'treatment'));
|
||||
$this->assertSame('odontogram', $shell->workspaceTabForStage('dentistry', 'chair'));
|
||||
$this->assertSame('issue', $shell->workspaceTabForStage('blood_bank', 'issue'));
|
||||
}
|
||||
|
||||
public function test_specialty_shell_overview_and_sections_render(): void
|
||||
|
||||
Reference in New Issue
Block a user