summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/bootstrap/ContactsMenuContext.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/acceptance/features/bootstrap/ContactsMenuContext.php')
-rw-r--r--tests/acceptance/features/bootstrap/ContactsMenuContext.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/acceptance/features/bootstrap/ContactsMenuContext.php b/tests/acceptance/features/bootstrap/ContactsMenuContext.php
index b22f33a3c55..72c33410b28 100644
--- a/tests/acceptance/features/bootstrap/ContactsMenuContext.php
+++ b/tests/acceptance/features/bootstrap/ContactsMenuContext.php
@@ -89,7 +89,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
*/
public function iSeeThatTheContactsMenuIsShown() {
Assert::assertTrue(
- $this->actor->find(self::contactsMenu(), 10)->isVisible());
+ $this->actor->find(self::contactsMenu(), 10)->isVisible());
}
/**
@@ -97,7 +97,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
*/
public function iSeeThatTheContactsMenuSearchInputIsShown() {
Assert::assertTrue(
- $this->actor->find(self::contactsMenuSearchInput(), 10)->isVisible());
+ $this->actor->find(self::contactsMenuSearchInput(), 10)->isVisible());
}
/**
@@ -105,7 +105,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
*/
public function iSeeThatTheNoResultsMessageInTheContactsMenuIsShown() {
Assert::assertTrue(
- $this->actor->find(self::noResultsMessage(), 10)->isVisible());
+ $this->actor->find(self::noResultsMessage(), 10)->isVisible());
}
/**
@@ -113,7 +113,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
*/
public function iSeeThatTheContactInTheContactsMenuIsShown($contactName) {
Assert::assertTrue(
- $this->actor->find(self::menuItemFor($contactName), 10)->isVisible());
+ $this->actor->find(self::menuItemFor($contactName), 10)->isVisible());
}
/**
@@ -124,7 +124,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
try {
Assert::assertFalse(
- $this->actor->find(self::menuItemFor($contactName))->isVisible());
+ $this->actor->find(self::menuItemFor($contactName))->isVisible());
} catch (NoSuchElementException $exception) {
}
}
@@ -136,9 +136,9 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
$this->iSeeThatThecontactsMenuIsShown();
if (!WaitFor::elementToBeEventuallyNotShown(
- $this->actor,
- self::menuItemFor($contactName),
- $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+ $this->actor,
+ self::menuItemFor($contactName),
+ $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
Assert::fail("The $contactName contact in Contacts menu is still shown after $timeout seconds");
}
}