import org.sonarqube.ws.client.permission.RemoveGroupWsRequest;
import org.sonarqube.ws.client.permission.RemoveUserWsRequest;
import util.QaOnly;
+import util.selenium.SeleneseTest;
import util.user.UserRule;
import static org.assertj.core.api.Assertions.assertThat;
* SONAR-4709
*/
@Test
- public void should_not_be_able_to_provision_projec() {
- Selenese selenese = Selenese.builder().setHtmlTestsInClasspath("should-not-be-able-to-provision-project",
- "/authorisation/ProvisioningPermissionTest/should-not-be-able-to-provision-project.html"
- ).build();
- orchestrator.executeSelenese(selenese);
+ public void should_not_be_able_to_provision_project() {
+ new SeleneseTest(Selenese.builder().setHtmlTestsInClasspath("should-not-be-able-to-provision-project",
+ "/authorisation/ProvisioningPermissionTest/should-not-be-able-to-provision-project.html").build()).runOn(orchestrator);
}
/**
*/
@Test
public void should_be_able_to_provision_project() {
- Selenese selenese = Selenese.builder().setHtmlTestsInClasspath("should-be-able-to-provision-project",
- "/authorisation/ProvisioningPermissionTest/should-be-able-to-provision-project.html"
- ).build();
- orchestrator.executeSelenese(selenese);
+ new SeleneseTest(Selenese.builder().setHtmlTestsInClasspath("should-be-able-to-provision-project",
+ "/authorisation/ProvisioningPermissionTest/should-be-able-to-provision-project.html").build()).runOn(orchestrator);
}
/**