Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Browser/Pages/DomainInfo.php
Show All 19 Lines | class DomainInfo extends Page | ||||
* Assert that the browser is on the page. | * Assert that the browser is on the page. | ||||
* | * | ||||
* @param \Laravel\Dusk\Browser $browser The browser object | * @param \Laravel\Dusk\Browser $browser The browser object | ||||
* | * | ||||
* @return void | * @return void | ||||
*/ | */ | ||||
public function assert($browser) | public function assert($browser) | ||||
{ | { | ||||
$browser->waitUntilMissing('@app .app-loader') | $browser->waitUntilMissing('@app .app-loader'); | ||||
->assertPresent('@config,@verify'); | |||||
} | } | ||||
/** | /** | ||||
* Get the element shortcuts for the page. | * Get the element shortcuts for the page. | ||||
* | * | ||||
* @return array | * @return array | ||||
*/ | */ | ||||
public function elements(): array | public function elements(): array | ||||
Show All 9 Lines |