Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Browser/Meet/RoomSetupTest.php
Show First 20 Lines • Show All 301 Lines • ▼ Show 20 Lines | public function testSubscribers(): void | ||||
->assertElementsCount('@session .meet-subscriber', 1) | ->assertElementsCount('@session .meet-subscriber', 1) | ||||
->assertToolbar([ | ->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_DISABLED, | 'screen' => RoomPage::BUTTON_INACTIVE | RoomPage::BUTTON_DISABLED, | ||||
'hand' => RoomPage::BUTTON_INACTIVE | RoomPage::BUTTON_ENABLED, | 'hand' => RoomPage::BUTTON_INACTIVE | RoomPage::BUTTON_ENABLED, | ||||
'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, | ||||
'security' => RoomPage::BUTTON_ACTIVE | RoomPage::BUTTON_ENABLED, | 'options' => RoomPage::BUTTON_ACTIVE | RoomPage::BUTTON_ENABLED, | ||||
'logout' => RoomPage::BUTTON_ACTIVE | RoomPage::BUTTON_ENABLED, | 'logout' => RoomPage::BUTTON_ACTIVE | RoomPage::BUTTON_ENABLED, | ||||
]); | ]); | ||||
// After the owner "opened the room" guest should be able to join | // After the owner "opened the room" guest should be able to join | ||||
// In one browser window act as a guest | // In one browser window act as a guest | ||||
$guest->visit(new RoomPage('john')) | $guest->visit(new RoomPage('john')) | ||||
->waitUntilMissing('@setup-status-message', 10) | ->waitUntilMissing('@setup-status-message', 10) | ||||
->assertSeeIn('@setup-button', "JOIN") | ->assertSeeIn('@setup-button', "JOIN") | ||||
▲ Show 20 Lines • Show All 251 Lines • Show Last 20 Lines |