Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Browser/Meet/RoomSetupTest.php
Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Lines | public function testTwoUsersInARoom(): void | ||||
->assertMissing('@session') | ->assertMissing('@session') | ||||
->assertMissing('@chat') | ->assertMissing('@chat') | ||||
->assertMissing('@setup-form') | ->assertMissing('@setup-form') | ||||
->assertVisible('@login-form') | ->assertVisible('@login-form') | ||||
->submitLogon('john@kolab.org', 'simple123') | ->submitLogon('john@kolab.org', 'simple123') | ||||
->waitFor('@setup-form') | ->waitFor('@setup-form') | ||||
->assertMissing('@login-form') | ->assertMissing('@login-form') | ||||
->waitUntilMissing('@setup-status-message.loading') | ->waitUntilMissing('@setup-status-message.loading') | ||||
->waitFor('@setup-status-message') | |||||
->assertSeeIn('@setup-status-message', "The room is closed. It will be open for others after you join.") | ->assertSeeIn('@setup-status-message', "The room is closed. It will be open for others after you join.") | ||||
->assertSeeIn('@setup-button', "JOIN") | ->assertSeeIn('@setup-button', "JOIN") | ||||
->type('@setup-nickname-input', 'john') | ->type('@setup-nickname-input', 'john') | ||||
// Join the room | // Join the room | ||||
->click('@setup-button') | ->click('@setup-button') | ||||
->waitFor('@session') | ->waitFor('@session') | ||||
->assertMissing('@setup-form') | ->assertMissing('@setup-form') | ||||
->whenAvailable('div.meet-video.publisher', function (Browser $browser) { | ->whenAvailable('div.meet-video.publisher', function (Browser $browser) { | ||||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |