Skip to content

Commit c03cf3b

Browse files
committed
Fix locators
1 parent a4da14b commit c03cf3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/Behat/Page/UserSettingsPage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct(Session $session, Router $router, ContentActionsMenu
3737
public function verifyIsLoaded(): void
3838
{
3939
$pageHeaderText = $this->getHTMLPage()->find($this->getLocator('title'))->getText();
40-
Assert::AssertContains($pageHeaderText, ['User settings', 'Content authoring']);
40+
Assert::AssertContains($pageHeaderText, ['User settings', 'Content authoring', 'Browsing']);
4141
}
4242

4343
public function switchTab(string $tabName): void
@@ -109,7 +109,7 @@ public function openBrowsingEditionPage(): void
109109
public function disableHelpCenter(): void
110110
{
111111
$this->contentActionsMenu->verifyIsLoaded();
112-
$this->getHTMLPage()->find($this->getLocator('autosaveDraftValueDropdown'))->click();
112+
$this->getHTMLPage()->find($this->getLocator('helpCenterValueDropdown'))->click();
113113
$this->ibexaDropdown->selectOption('Disabled');
114114
}
115115
}

0 commit comments

Comments
 (0)