From 6dc1fa4a8673780f948c1f6e4917637467b35b47 Mon Sep 17 00:00:00 2001
From: Simon Brandhof <simon.brandhof@sonarsource.com>
Date: Tue, 14 Nov 2017 00:01:28 +0100
Subject: Add category "project" to integration tests

---
 .../main/java/org/sonarqube/qa/util/pageobjects/Navigation.java    | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'server')

diff --git a/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/Navigation.java b/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/Navigation.java
index b9770335aad..25fc6937c8e 100644
--- a/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/Navigation.java
+++ b/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/Navigation.java
@@ -187,6 +187,13 @@ public class Navigation {
     return open("/projects_admin", ProjectsManagementPage.class);
   }
 
+  /**
+   * Should be replaced by an intermediary OrganizationPage
+   */
+  public ProjectsManagementPage openProjectsManagement(String orgKey) {
+    return open("/organizations/" + orgKey + "/projects_management", ProjectsManagementPage.class);
+  }
+
   public LoginPage openLogin() {
     return open("/sessions/login", LoginPage.class);
   }
-- 
cgit v1.2.3