Page MenuHomePhorge

DistlistList.php
No OneTemporary

Authored By
Unknown
Size
886 B
Referenced Files
None
Subscribers
None

DistlistList.php

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

File Metadata

Mime Type
text/x-php
Expires
Mon, Apr 6, 1:38 AM (2 d, 18 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5f/88/5c73aeaaa7dd0aefbc032ef7a798
Default Alt Text
DistlistList.php (886 B)

Event Timeline