Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Browser/Meet/RoomControlsTest.php
Show All 27 Lines | class RoomControlsTest extends TestCaseDusk | ||||
* Test fullscreen buttons | * Test fullscreen buttons | ||||
* | * | ||||
* @group openvidu | * @group openvidu | ||||
*/ | */ | ||||
public function testFullscreen(): void | public function testFullscreen(): void | ||||
{ | { | ||||
// TODO: This test does not work in headless mode | // TODO: This test does not work in headless mode | ||||
$this->markTestIncomplete(); | $this->markTestIncomplete(); | ||||
/* | |||||
// Make sure there's no session yet | // Make sure there's no session yet | ||||
$room = Room::where('name', 'john')->first(); | $room = Room::where('name', 'john')->first(); | ||||
if ($room->session_id) { | if ($room->session_id) { | ||||
$room->session_id = null; | $room->session_id = null; | ||||
$room->save(); | $room->save(); | ||||
} | } | ||||
$this->assignBetaEntitlement('john@kolab.org', 'meet'); | $this->assignBetaEntitlement('john@kolab.org', 'meet'); | ||||
Show All 29 Lines | /* | ||||
->assertVisible('@session') | ->assertVisible('@session') | ||||
->assertMissing('@toolbar') | ->assertMissing('@toolbar') | ||||
->assertMissing('nav') | ->assertMissing('nav') | ||||
->assertMissing('@session button.link-fullscreen.closed') | ->assertMissing('@session button.link-fullscreen.closed') | ||||
->click('@session button.link-fullscreen.open') | ->click('@session button.link-fullscreen.open') | ||||
->assertVisible('nav') | ->assertVisible('nav') | ||||
->assertVisible('@toolbar'); | ->assertVisible('@toolbar'); | ||||
}); | }); | ||||
*/ | |||||
} | } | ||||
/** | /** | ||||
* Test nickname and muting audio/video | * Test nickname and muting audio/video | ||||
* | * | ||||
* @group openvidu | * @group openvidu | ||||
*/ | */ | ||||
public function testNicknameAndMuting(): void | public function testNicknameAndMuting(): void | ||||
▲ Show 20 Lines • Show All 248 Lines • Show Last 20 Lines |