Page MenuHomePhorge

Settings.php
No OneTemporary

Size
781 B
Referenced Files
None
Subscribers
None

Settings.php

<?php
namespace Tests\Browser\Pages;
use Laravel\Dusk\Page;
class Settings extends Page
{
/**
* Get the URL for the page.
*
* @return string
*/
public function url(): string
{
return '/settings';
}
/**
* Assert that the browser is on the page.
*
* @param \Laravel\Dusk\Browser $browser The browser object
*
* @return void
*/
public function assert($browser)
{
$browser->waitFor('@form')
->waitUntilMissing('.app-loader');
}
/**
* Get the element shortcuts for the page.
*
* @return array
*/
public function elements(): array
{
return [
'@app' => '#app',
'@form' => '#settings form',
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Jul 8, 11:55 PM (1 d, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1052152
Default Alt Text
Settings.php (781 B)

Event Timeline