Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2397563
Wallet.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
Wallet.php
View Options
<?php
namespace
Tests\Browser\Pages
;
use
Laravel\Dusk\Page
;
class
Wallet
extends
Page
{
/**
* Get the URL for the page.
*
* @return string
*/
public
function
url
():
string
{
return
'/wallet'
;
}
/**
* Assert that the browser is on the page.
*
* @param \Laravel\Dusk\Browser $browser The browser object
*
* @return void
*/
public
function
assert
(
$browser
)
{
$browser
->
assertPathIs
(
$this
->
url
())
->
waitUntilMissing
(
'@app .app-loader'
)
->
assertSeeIn
(
'#wallet .card-title'
,
'Account balance'
);
}
/**
* Get the element shortcuts for the page.
*
* @return array
*/
public
function
elements
():
array
{
return
[
'@app'
=>
'#app'
,
'@main'
=>
'#wallet'
,
'@payment-dialog'
=>
'#payment-dialog'
,
'@nav'
=>
'ul.nav-tabs'
,
'@history-tab'
=>
'#wallet-history'
,
'@receipts-tab'
=>
'#wallet-receipts'
,
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 3, 2:11 PM (16 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
361040
Default Alt Text
Wallet.php (1 KB)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment