Fix guest join flow redirecting to Care marketing page.
Deploy Ladill Meet / deploy (push) Successful in 52s
Deploy Ladill Meet / deploy (push) Successful in 52s
Guests were sent through silent SSO after entering the meeting room because /room routes required auth; failed SSO fell back to leftover Care config. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -126,6 +126,32 @@ class MeetWebTest extends TestCase
|
||||
->assertSessionHasErrors('join');
|
||||
}
|
||||
|
||||
public function test_guest_can_join_live_meeting_and_enter_room(): void
|
||||
{
|
||||
$room = $this->createRoom([
|
||||
'settings' => array_merge(config('meet.default_settings'), [
|
||||
'join_before_host' => true,
|
||||
]),
|
||||
]);
|
||||
$session = Session::create([
|
||||
'owner_ref' => $this->user->public_id,
|
||||
'room_id' => $room->id,
|
||||
'media_room_name' => 'room-'.$room->uuid,
|
||||
'status' => 'live',
|
||||
'started_at' => now(),
|
||||
]);
|
||||
$room->update(['status' => 'live']);
|
||||
|
||||
$this->post('/r/'.$room->uuid.'/enter', [
|
||||
'display_name' => 'Guest User',
|
||||
])
|
||||
->assertRedirect(route('meet.room', $session));
|
||||
|
||||
$this->get('/room/'.$session->uuid)
|
||||
->assertOk()
|
||||
->assertSee('data-display-name="Guest User"', false);
|
||||
}
|
||||
|
||||
public function test_authenticated_user_can_join_live_meeting_without_display_name(): void
|
||||
{
|
||||
$room = $this->createRoom();
|
||||
|
||||
Reference in New Issue
Block a user