Add a test that wont work due to auth issues currently
This commit is contained in:
parent
a44b4c4426
commit
aba1b297c8
3 changed files with 77 additions and 1 deletions
28
tests/Browser/Pages/Dashboard/AccountPage.php
Normal file
28
tests/Browser/Pages/Dashboard/AccountPage.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
namespace Pterodactyl\Tests\Browser\Pages\Dashboard;
|
||||
|
||||
use Pterodactyl\Tests\Browser\Pages\BasePage;
|
||||
|
||||
class AccountPage extends BasePage
|
||||
{
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function url()
|
||||
{
|
||||
return '/account';
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function elements()
|
||||
{
|
||||
return array_merge(parent::elements(), [
|
||||
'@email' => '#update-email-container #grid-email',
|
||||
'@password' => '#update-email-container #grid-password',
|
||||
'@submit' => '#update-email-container button[type="submit"]',
|
||||
]);
|
||||
}
|
||||
}
|
Reference in a new issue