Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2485159
Signup.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
Signup.php
View Options
<?php
namespace
Tests\Browser\Pages
;
use
Laravel\Dusk\Page
;
class
Signup
extends
Page
{
/**
* Get the URL for the page.
*
* @return string
*/
public
function
url
():
string
{
return
'/signup'
;
}
/**
* Assert that the browser is on the page.
*
* @param \Laravel\Dusk\Browser $browser The browser object
*
* @return void
*/
public
function
assert
(
$browser
)
{
$browser
->
assertPathIs
(
'/signup'
)
->
waitUntilMissing
(
'.app-loader'
)
->
assertPresent
(
'@step0'
)
->
assertPresent
(
'@step1'
)
->
assertPresent
(
'@step2'
)
->
assertPresent
(
'@step3'
);
}
/**
* Get the element shortcuts for the page.
*
* @return array
*/
public
function
elements
():
array
{
return
[
'@app'
=>
'#app'
,
'@step0'
=>
'#step0'
,
'@step1'
=>
'#step1'
,
'@step2'
=>
'#step2'
,
'@step3'
=>
'#step3'
,
'@step4'
=>
'#step4'
,
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 21, 5:18 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
387378
Default Alt Text
Signup.php (1 KB)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment