diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-12-01 15:44:27 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-12-04 16:02:52 +0100 |
commit | 08be68fda3cfd859ab412bfa634409d211f79927 (patch) | |
tree | df9db70e60787cf0cbcef503dc6c468478dba65c /tests | |
parent | f25ece8fe820b708f08aac652cdda94183bcb2df (diff) | |
download | sonarqube-08be68fda3cfd859ab412bfa634409d211f79927.tar.gz sonarqube-08be68fda3cfd859ab412bfa634409d211f79927.zip |
SONAR-10074 Use new QP actions 'delete' and 'associateProjects'
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/test/java/org/sonarqube/tests/qualityProfile/OrganizationQualityProfilesUiTest.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/src/test/java/org/sonarqube/tests/qualityProfile/OrganizationQualityProfilesUiTest.java b/tests/src/test/java/org/sonarqube/tests/qualityProfile/OrganizationQualityProfilesUiTest.java index 48470073a6b..d9445e5896d 100644 --- a/tests/src/test/java/org/sonarqube/tests/qualityProfile/OrganizationQualityProfilesUiTest.java +++ b/tests/src/test/java/org/sonarqube/tests/qualityProfile/OrganizationQualityProfilesUiTest.java @@ -118,6 +118,17 @@ public class OrganizationQualityProfilesUiTest { } @Test + public void testBuiltIn() { + Navigation nav = tester.openBrowser().logIn().submitCredentials(user.getLogin()); + nav.openQualityProfile("xoo", "Sonar way", "test-org") + .shouldNotAllowToEdit() + .shouldAllowToChangeProjects(); + nav.openQualityProfile("xoo", "Basic", "test-org") + .shouldNotAllowToEdit() + .shouldNotAllowToChangeProjects(); + } + + @Test public void testCreation() { Selenese.runSelenese(orchestrator, "/organization/OrganizationQualityProfilesUiTest/should_create.html"); } |