* @Given I open the settings
*/
public function iOpenTheSettings() {
- $this->actor->find(self::appSettingsOpenButton())->click();
+ $this->actor->find(self::appSettingsOpenButton(), 10)->click();
}
/**
$locator = self::CheckboxInTheSettings($id);
// If locator is not visible, fallback to label
- if (!$this->actor->find(self::CheckboxInTheSettings($id))->isVisible()) {
+ if (!$this->actor->find(self::CheckboxInTheSettings($id), 10)->isVisible()) {
$locator = self::checkboxLabelInTheSettings($id);
}
- $this->actor->find($locator)->click();
+ $this->actor->find($locator, 10)->click();
}
/**
* @Given /^I see that the "([^"]*)" is disabled$/
*/
public function iSeeThatTheIsDisabled($bundle) {
- PHPUnit\Framework\Assert::assertEquals('Enable all', $this->actor->find(self::bundleButton($bundle))->getValue());
+ PHPUnit\Framework\Assert::assertEquals('Enable all', $this->actor->find(self::bundleButton($bundle), 2)->getValue());
}
/**
* @When I click the New user button
*/
public function iClickTheNewUserButton() {
- $this->actor->find(self::newUserButton())->click();
+ $this->actor->find(self::newUserButton(), 10)->click();
}
/**
* @When I click the :action action in the :user actions menu
*/
public function iClickTheAction($action, $user) {
- $this->actor->find(self::theAction($action, $user))->click();
+ $this->actor->find(self::theAction($action, $user), 10)->click();
}
/**
* @When I open the actions menu for the user :user
*/
public function iOpenTheActionsMenuOf($user) {
- $this->actor->find(self::actionsMenuOf($user))->click();
+ $this->actor->find(self::actionsMenuOf($user), 10)->click();
}
/**