summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/bootstrap/SettingsMenuContext.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/acceptance/features/bootstrap/SettingsMenuContext.php')
-rw-r--r--tests/acceptance/features/bootstrap/SettingsMenuContext.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/acceptance/features/bootstrap/SettingsMenuContext.php b/tests/acceptance/features/bootstrap/SettingsMenuContext.php
index eddf2599d78..6187d9f6c10 100644
--- a/tests/acceptance/features/bootstrap/SettingsMenuContext.php
+++ b/tests/acceptance/features/bootstrap/SettingsMenuContext.php
@@ -54,6 +54,13 @@ class SettingsMenuContext implements Context, ActorAwareInterface {
/**
* @return Locator
*/
+ public static function usersAppsItem() {
+ return self::menuItemFor("Apps");
+ }
+
+ /**
+ * @return Locator
+ */
public static function logOutMenuItem() {
return self::menuItemFor("Log out");
}
@@ -101,6 +108,15 @@ class SettingsMenuContext implements Context, ActorAwareInterface {
}
/**
+ * @When I open the Apps management
+ */
+ public function iOpenTheAppsManagement() {
+ $this->iOpenTheSettingsMenu();
+
+ $this->actor->find(self::usersAppsItem(), 2)->click();
+ }
+
+ /**
* @When I visit the settings page
*/
public function iVisitTheSettingsPage() {