Page MenuHomePhorge

RoomList.php
No OneTemporary

Size
926 B
Referenced Files
None
Subscribers
None

RoomList.php

<?php
namespace Tests\Browser\Pages\Meet;
use Laravel\Dusk\Page;
class RoomList extends Page
{
/**
* Get the URL for the page.
*
* @return string
*/
public function url(): string
{
return '/rooms';
}
/**
* Assert that the browser is on the page.
*
* @param \Laravel\Dusk\Browser $browser The browser object
*
* @return void
*/
public function assert($browser)
{
$browser->waitForLocation($this->url())
->waitUntilMissing('@app .app-loader')
->assertSeeIn('@list .card-title', 'Voice & video conferencing rooms');
}
/**
* Get the element shortcuts for the page.
*
* @return array
*/
public function elements(): array
{
return [
'@app' => '#app',
'@list' => '#rooms-list',
'@table' => '#rooms-list table',
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Nov 21, 1:07 AM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
387350
Default Alt Text
RoomList.php (926 B)

Event Timeline