mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
Add a test that wont work due to auth issues currently
This commit is contained in:
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 New Issue
Block a user