Issue-ID: VID-647
Change-Id: Ic6d97cb7a7c1ce7c47dbfd8717553b9fb1225eca
Signed-off-by: Ittay Stern <ittay.stern@att.com>
if (selectPart == 0) return true;
if (selectPart == 0) return true;
+ for (groupName: groups.keySet()) {
+ // There's a non-obvious case here:
+ // If there's a "partialGroup" group, and it is *not* for current `selectPart` then
+ // don't run the test -- even if it is in a Class which does belong to the `selectPart`
+ // classes list
+ if (groupName.startsWith("partialGroup_")) {
+ return groupName.equals("partialGroup_" + selectPart);
+ }
+ }
+
methodClass = method.getDeclaringClass().toString();
for (c: classes2) {
if (methodClass.contains(c)) return selectPart==2;
methodClass = method.getDeclaringClass().toString();
for (c: classes2) {
if (methodClass.contains(c)) return selectPart==2;
protected Random random;
protected final RestTemplate restTemplate = InsecureHttpsClient.newRestTemplate();
protected Random random;
protected final RestTemplate restTemplate = InsecureHttpsClient.newRestTemplate();
- protected final UsersService usersService = new UsersService();
+ protected static final UsersService usersService = new UsersService();
protected final RestTemplate restTemplateErrorAgnostic = InsecureHttpsClient.newRestTemplate();
@BeforeClass
protected final RestTemplate restTemplateErrorAgnostic = InsecureHttpsClient.newRestTemplate();
@BeforeClass
assertModelDataCorrect(NewServicePopup.SERVICE_MODEL_FIELD_TO_DATA_TESTS_ID, prefix, service);
}
assertModelDataCorrect(NewServicePopup.SERVICE_MODEL_FIELD_TO_DATA_TESTS_ID, prefix, service);
}
+ @Test(groups = "partialGroup_5")
public void createNewServiceInstance_macro_validPopupDataAndUI__ecompNamingFalse() {
ServiceData serviceData = new ServiceData(
public void createNewServiceInstance_macro_validPopupDataAndUI__ecompNamingFalse() {
ServiceData serviceData = new ServiceData(
createNewServiceInstance_macro_validPopupDataAndUI__dynamicFieldsEcompNamingFalse_FLESH("DEV", 5, reduxForStep, "mCaNk");
}
createNewServiceInstance_macro_validPopupDataAndUI__dynamicFieldsEcompNamingFalse_FLESH("DEV", 5, reduxForStep, "mCaNk");
}
+ @Test(groups = "partialGroup_5")
public void createNewServiceInstance_macro_validPopupDataAndUI__dynamicFieldsEcompNamingFalse() {
createNewServiceInstance_macro_validPopupDataAndUI__dynamicFieldsEcompNamingFalse_FLESH("RUNTIME", 0, null, randomAlphabetic(5));
}
public void createNewServiceInstance_macro_validPopupDataAndUI__dynamicFieldsEcompNamingFalse() {
createNewServiceInstance_macro_validPopupDataAndUI__dynamicFieldsEcompNamingFalse_FLESH("RUNTIME", 0, null, randomAlphabetic(5));
}
+ @Test(groups = "partialGroup_5")
@FeatureTogglingTest(FLAG_1908_INFRASTRUCTURE_VPN)
public void createNewServiceInstance_infraStructureVpn() {
String requestId = uuid();
@FeatureTogglingTest(FLAG_1908_INFRASTRUCTURE_VPN)
public void createNewServiceInstance_infraStructureVpn() {
String requestId = uuid();
drawingBoardPage.verifyServiceCompletedOnTime(serviceInstanceName, "Service "+serviceInstanceName);
}
drawingBoardPage.verifyServiceCompletedOnTime(serviceInstanceName, "Service "+serviceInstanceName);
}
+ @Test(groups = "partialGroup_5")
@FeatureTogglingTest(FLAG_1908_COLLECTION_RESOURCE_NEW_INSTANTIATION_UI)
public void createNewServiceInstance_collectionResource() {
prepareServicePreset(collectionResourceService, false);
@FeatureTogglingTest(FLAG_1908_COLLECTION_RESOURCE_NEW_INSTANTIATION_UI)
public void createNewServiceInstance_collectionResource() {
prepareServicePreset(collectionResourceService, false);
clickToCloseModal(VNF_SET_BUTTON_TEST_ID);
}
clickToCloseModal(VNF_SET_BUTTON_TEST_ID);
}
+ @Test(groups = "partialGroup_5")
public void createNewServiceInstance_macro_validPopupDataAndUI__ecompNamingServiceFalseVnfTrue_vgNameFalse() {
ServiceData serviceData = new ServiceData(
macroSriovNoDynamicFieldsEcompNamingFalseFullModelDetails.modelVersionId,
public void createNewServiceInstance_macro_validPopupDataAndUI__ecompNamingServiceFalseVnfTrue_vgNameFalse() {
ServiceData serviceData = new ServiceData(
macroSriovNoDynamicFieldsEcompNamingFalseFullModelDetails.modelVersionId,
+ @Test(groups = "partialGroup_5")
public void createNewServiceInstance_macro_validPopupDataAndUI__ecompNamingServiceFalseVnfFalse_vgNameFalse() {
ServiceData serviceData = new ServiceData(
macroSriovNoDynamicFieldsEcompNamingFalseFullModelDetailsVnfEcompNamingFalse.modelVersionId,
public void createNewServiceInstance_macro_validPopupDataAndUI__ecompNamingServiceFalseVnfFalse_vgNameFalse() {
ServiceData serviceData = new ServiceData(
macroSriovNoDynamicFieldsEcompNamingFalseFullModelDetailsVnfEcompNamingFalse.modelVersionId,
+ @Test(groups = "partialGroup_5")
public void createNewServiceInstance_macro_validPopupDataAndUI__ecompNamingServiceFalseVnfFalse_vgNameTrue() throws Exception {
ServiceData serviceData = new ServiceData(
macroSriovNoDynamicFieldsEcompNamingFalseFullModelDetailsVnfEcompNamingFalse.modelVersionId,
public void createNewServiceInstance_macro_validPopupDataAndUI__ecompNamingServiceFalseVnfFalse_vgNameTrue() throws Exception {
ServiceData serviceData = new ServiceData(
macroSriovNoDynamicFieldsEcompNamingFalseFullModelDetailsVnfEcompNamingFalse.modelVersionId,
browseASDCPage.goToIframe();
}
browseASDCPage.goToIframe();
}
+ @Test(groups = "partialGroup_5")
public void createNewServiceInstance_macro_validPopupDataAndUI() {
List<String> serviceDynamicFields = Arrays.asList("2017488 pasqualevpe0 asn:");
public void createNewServiceInstance_macro_validPopupDataAndUI() {
List<String> serviceDynamicFields = Arrays.asList("2017488 pasqualevpe0 asn:");
@Listeners(ReportPortalListenerDelegator.class)
public class VidBaseTestCase extends SetupCDTest{
@Listeners(ReportPortalListenerDelegator.class)
public class VidBaseTestCase extends SetupCDTest{
- protected final UsersService usersService = new UsersService();
- protected final CategoryParamsService categoryParamsService = new CategoryParamsService();
+ protected static final UsersService usersService = new UsersService();
+ protected static final CategoryParamsService categoryParamsService = new CategoryParamsService();
protected final RestTemplate restTemplate = InsecureHttpsClient.newRestTemplate();
protected final URI uri;
protected final URI envUrI;
protected final RestTemplate restTemplate = InsecureHttpsClient.newRestTemplate();
protected final URI uri;
protected final URI envUrI;
public class BaseApiAaiTest extends BaseApiTest {
public class BaseApiAaiTest extends BaseApiTest {
- protected final CategoryParamsService categoryParamsService = new CategoryParamsService();
+ protected static final CategoryParamsService categoryParamsService = new CategoryParamsService();
@BeforeClass
public void login() {
@BeforeClass
public void login() {