summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/bootstrap/ContactsMenuContext.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:45:08 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:45:08 +0100
commitf5c361cf44739058b79f322576a1bad2d8c142d9 (patch)
treea22217c6995751023112832d191d213e494e2fbc /tests/acceptance/features/bootstrap/ContactsMenuContext.php
parent37bb33c5799b834dfef3fb73936bd0e5a4773fb8 (diff)
downloadnextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.tar.gz
nextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.zip
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
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");
}
}