*/
public function iSeeThatTheAppHasBeenEnabled($app) {
// TODO: Find a way to check if the enable button is removed
- $this->actor->find(self::disableButtonForApp($app), 10);
+ PHPUnit_Framework_Assert::assertTrue(
+ $this->actor->find(self::disableButtonForApp($app), 10)->isVisible()
+ );
}
/**
*/
public function iSeeThatTheAppHasBeenDisabled($app) {
// TODO: Find a way to check if the disable button is removed
- $this->actor->find(self::enableButtonForApp($app), 10);
+ PHPUnit_Framework_Assert::assertTrue(
+ $this->actor->find(self::enableButtonForApp($app), 10)->isVisible()
+ );
}
/**
* @Given /^I see the app bundles$/
*/
public function iSeeTheAppBundles() {
- $this->actor->find(self::rowForApp('Auditing / Logging'), 2);
- $this->actor->find(self::rowForApp('LDAP user and group backend'), 2);
+ PHPUnit_Framework_Assert::assertTrue(
+ $this->actor->find(self::rowForApp('Auditing / Logging'), 2)->isVisible()
+ );
+ PHPUnit_Framework_Assert::assertTrue(
+ $this->actor->find(self::rowForApp('LDAP user and group backend'), 2)->isVisible()
+ );
}
/**