Files
CRM/tests/Browser/Pages/Settings/SettingsPersonnalization.php
Kroonk a213a1dba0
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
refactor: replace custom CRM with Monica fork
2026-05-22 16:19:55 +02:00

46 lines
855 B
PHP

<?php
namespace Tests\Browser\Pages\Settings;
use Laravel\Dusk\Browser;
use Tests\Browser\Pages\Page;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class SettingsPersonnalization extends Page
{
use DatabaseTransactions;
/**
* Get the URL for the page.
*
* @return string
*/
public function url()
{
return '/settings/personalization';
}
/**
* Assert that the browser is on the page.
*
* @param Browser $browser
* @return void
*/
public function assert(Browser $browser)
{
$browser->assertPathIs($this->url());
}
/**
* Get the element shortcuts for the page.
*
* @return array
*/
public function elements()
{
return [
'@reminder-rule-label' => '.reminder-rule-7 > span',
];
}
}