Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Browser/Meet/RoomsTest.php
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | public function testRooms(): void | ||||
->refresh() | ->refresh() | ||||
->on(new Dashboard()) | ->on(new Dashboard()) | ||||
->assertSeeIn('@links a.link-chat', 'Video chat'); | ->assertSeeIn('@links a.link-chat', 'Video chat'); | ||||
// Test Video chat page | // Test Video chat page | ||||
$browser->click('@links a.link-chat') | $browser->click('@links a.link-chat') | ||||
->waitFor('#meet-rooms') | ->waitFor('#meet-rooms') | ||||
->waitFor('.card-text a') | ->waitFor('.card-text a') | ||||
->assertSeeIn('.card-title', 'Video chat') | ->assertSeeIn('.card-title', 'Voice & Video Conferencing') | ||||
->assertSeeIn('.card-text a', $href) | ->assertSeeIn('.card-text a', $href) | ||||
->assertAttribute('.card-text a', 'href', $href) | ->assertAttribute('.card-text a', 'href', $href) | ||||
->click('.card-text a') | ->click('.card-text a') | ||||
->on(new RoomPage('john')) | ->on(new RoomPage('john')) | ||||
// check that entering the room skips the logon form | // check that entering the room skips the logon form | ||||
->assertMissing('@toolbar') | ->assertMissing('@toolbar') | ||||
->assertMissing('@menu') | ->assertMissing('@menu') | ||||
->assertMissing('@session') | ->assertMissing('@session') | ||||
Show All 11 Lines |