Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Browser/Meet/RoomControlsTest.php
Show First 20 Lines • Show All 147 Lines • ▼ Show 20 Lines | public function testNicknameAndMuting(): void | ||||
->assertVisible('.status .status-video'); | ->assertVisible('.status .status-video'); | ||||
}) | }) | ||||
->assertElementsCount('@session div.meet-video', 2); | ->assertElementsCount('@session div.meet-video', 2); | ||||
// Assert current UI state | // Assert current UI state | ||||
$guest->assertToolbar([ | $guest->assertToolbar([ | ||||
'audio' => RoomPage::BUTTON_INACTIVE | RoomPage::BUTTON_DISABLED, | 'audio' => RoomPage::BUTTON_INACTIVE | RoomPage::BUTTON_DISABLED, | ||||
'video' => RoomPage::BUTTON_INACTIVE | RoomPage::BUTTON_DISABLED, | 'video' => RoomPage::BUTTON_INACTIVE | RoomPage::BUTTON_DISABLED, | ||||
'screen' => RoomPage::BUTTON_INACTIVE | RoomPage::BUTTON_ENABLED, | 'screen' => RoomPage::BUTTON_INACTIVE | RoomPage::BUTTON_DISABLED, | ||||
'chat' => RoomPage::BUTTON_INACTIVE | RoomPage::BUTTON_ENABLED, | 'chat' => RoomPage::BUTTON_INACTIVE | RoomPage::BUTTON_ENABLED, | ||||
'fullscreen' => RoomPage::BUTTON_ACTIVE | RoomPage::BUTTON_ENABLED, | 'fullscreen' => RoomPage::BUTTON_ACTIVE | RoomPage::BUTTON_ENABLED, | ||||
'logout' => RoomPage::BUTTON_ACTIVE | RoomPage::BUTTON_ENABLED, | 'logout' => RoomPage::BUTTON_ACTIVE | RoomPage::BUTTON_ENABLED, | ||||
]) | ]) | ||||
->whenAvailable('div.meet-video.publisher', function (Browser $browser) { | ->whenAvailable('div.meet-video.publisher', function (Browser $browser) { | ||||
$browser->assertVisible('video') | $browser->assertVisible('video') | ||||
//->assertAudioMuted('video', true) | //->assertAudioMuted('video', true) | ||||
->assertVisible('.controls button.link-fullscreen') | ->assertVisible('.controls button.link-fullscreen') | ||||
▲ Show 20 Lines • Show All 174 Lines • Show Last 20 Lines |