Skip to content

Commit 2ace325

Browse files
committed
Fix waiting for option list
1 parent 02ba14f commit 2ace325

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/Behat/Page/UserSettingsPage.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,15 @@ public function disableHelpCenter(): void
110110
{
111111
$this->contentActionsMenu->verifyIsLoaded();
112112
$this->getHTMLPage()->find($this->getLocator('helpCenterValueDropdown'))->click();
113+
$this->ibexaDropdown->verifyIsLoaded();
113114
$this->ibexaDropdown->selectOption('Disabled');
114115
}
115116

116117
public function enableHelpCenter(): void
117118
{
118119
$this->contentActionsMenu->verifyIsLoaded();
119120
$this->getHTMLPage()->find($this->getLocator('helpCenterValueDropdown'))->click();
121+
$this->ibexaDropdown->verifyIsLoaded();
120122
$this->ibexaDropdown->selectOption('Enabled');
121123
}
122124
}

0 commit comments

Comments
 (0)