Skip to content

Commit

Permalink
Adapted Page to view mode as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon committed Jan 4, 2024
1 parent 931e1e3 commit f3f5d92
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/Behat/Page/UserSettingsPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public function __construct(Session $session, Router $router, ContentActionsMenu

public function verifyIsLoaded(): void
{
$this->contentActionsMenu->verifyIsLoaded();
$this->getHTMLPage()->find($this->getLocator('title'))->assert()->textEquals('User settings');
}

Expand All @@ -55,7 +54,7 @@ protected function specifyLocators(): array
{
return [
new VisibleCSSLocator('button', '.ibexa-btn'),
new VisibleCSSLocator('title', '.ibexa-edit-header__title'),
new VisibleCSSLocator('title', '.ibexa-edit-header__title,.ibexa-page-title__content'),
new VisibleCSSLocator('autosaveDraftValueDropdown', '#user_setting_update_autosave div.ibexa-dropdown__wrapper > ul'),
new VisibleCSSLocator('autosaveIntervalEdit', '#user_setting_update_autosave_interval_value'),
];
Expand Down

0 comments on commit f3f5d92

Please sign in to comment.