Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F120833297
Distlist.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
Distlist.php
View Options
<?php
namespace
Tests\Browser\Pages\Admin
;
use
Laravel\Dusk\Page
;
class
Distlist
extends
Page
{
protected
$listid
;
/**
* Object constructor.
*
* @param int $listid Distribution list Id
*/
public
function
__construct
(
$listid
)
{
$this
->
listid
=
$listid
;
}
/**
* Get the URL for the page.
*
* @return string
*/
public
function
url
():
string
{
return
'/distlist/'
.
$this
->
listid
;
}
/**
* Assert that the browser is on the page.
*
* @param \Laravel\Dusk\Browser $browser The browser object
*
* @return void
*/
public
function
assert
(
$browser
):
void
{
$browser
->
waitForLocation
(
$this
->
url
())
->
waitFor
(
'@distlist-info'
);
}
/**
* Get the element shortcuts for the page.
*
* @return array
*/
public
function
elements
():
array
{
return
[
'@app'
=>
'#app'
,
'@distlist-info'
=>
'#distlist-info'
,
'@distlist-config'
=>
'#distlist-config'
,
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Apr 24, 12:46 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18786303
Default Alt Text
Distlist.php (1 KB)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline