misc_pterodactyl-panel/tests/Browser/Pages/Dashboard/AccountPage.php

29 lines
598 B
PHP
Raw Normal View History

<?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"]',
]);
}
}