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:
@@ -182,7 +182,11 @@ class CareEmergencySuiteTest extends TestCase
|
||||
->post(route('care.specialty.emergency.stage', $this->visit), [
|
||||
'stage' => 'treatment',
|
||||
])
|
||||
->assertRedirect();
|
||||
->assertRedirect(route('care.specialty.workspace', [
|
||||
'module' => 'emergency',
|
||||
'visit' => $this->visit,
|
||||
'tab' => 'clinical_notes',
|
||||
]));
|
||||
|
||||
$this->assertSame('treatment', $this->visit->fresh()->specialty_stage);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user