Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Browser/Pages/Reseller/Invitations.php
Show All 21 Lines | class Invitations extends 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->assertPathIs($this->url()) | $browser->assertPathIs($this->url()) | ||||
->waitUntilMissing('@app .app-loader') | ->waitUntilMissing('@app .app-loader') | ||||
->assertSeeIn('#invitations .card-title', 'Signup Invitations'); | ->assertSeeIn('#invitations .card-title', 'Signup invitations'); | ||||
} | } | ||||
/** | /** | ||||
* 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 11 Lines |