Rename ControlLoop to AutomationComposition
[sdc.git] / integration-tests / src / test / java / org / onap / sdc / frontend / ci / tests / datatypes / DataTestIdEnum.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.sdc.frontend.ci.tests.datatypes;
22
23 import java.util.Arrays;
24 import java.util.Collections;
25 import java.util.List;
26 import lombok.AllArgsConstructor;
27 import lombok.Getter;
28 import org.onap.sdc.frontend.ci.tests.pages.TopSearchComponent;
29
30 public final class DataTestIdEnum {
31
32     private DataTestIdEnum() {
33     }
34
35     @AllArgsConstructor
36     @Getter
37     public enum Dashboard {
38         IMPORT_AREA("importButtonsArea"),
39         ADD_AREA("AddButtonsArea"),
40         BUTTON_ADD_VF("createResourceButton"),
41         BUTTON_ADD_SERVICE("createServiceButton"),
42         IMPORT_VFC("importVFCbutton"),
43         IMPORT_VF("importVFbutton"),
44         IMPORT_VFC_FILE("fileimportVFCbutton"),
45         IMPORT_VF_FILE("file-importVFbutton"),
46         BUTTON_ADD_PRODUCT("createProductButton"),
47         BUTTON_ADD_PNF("createPNFButton"),
48         BUTTON_ADD_CR("createCRButton");
49
50         private final String value;
51     }
52
53     @AllArgsConstructor
54     @Getter
55     public enum LifeCyleChangeButtons {
56         CREATE("create/save"),
57         CHECK_IN("check_in"),
58         SUBMIT_FOR_TESTING("submit_for_testing"),
59         START_TESTING("start_testing"),
60         ACCEPT("accept"),
61         CERTIFY("certify"),
62         CHECKOUT("check_out");
63
64         private final String value;
65
66     }
67
68     @AllArgsConstructor
69     @Getter
70     public enum DistributionChangeButtons {
71         APPROVE("approve"),
72         REJECT("reject"),
73         DISTRIBUTE("distribute"),
74         MONITOR("monitor"),
75         APPROVE_MESSAGE("checkindialog"),
76         RE_DISTRIBUTE("redistribute");
77
78         private final String value;
79
80     }
81
82     @AllArgsConstructor
83     @Getter
84     public enum InformationalArtifactsPlaceholders {
85         CLOUD_QUESTIONNAIRE("Cloud Questionnaire (completed)"),
86         FEATURES("Features"),
87         VENDOR_TEST_RESULT("Vendor Test Result"),
88         TEST_SCRIPTS("Test Scripts"),
89         RESOURCE_SECURITY_TEMPLATE("Resource Security Template"),
90         HEAT_TEMPLATE_FROM_VENDOR("HEAT Template from Vendor"),
91         CAPACITY("Capacity");
92
93         private final String value;
94
95     }
96
97     @AllArgsConstructor
98     @Getter
99     public enum ModalItems {
100         BROWSE_BUTTON("browseButton"),
101         ADD("Add"),
102         DESCRIPTION("description"),
103         SUMBIT_FOR_TESTING_MESSAGE("changeLifeCycleMessage"),
104         OK("confirm-modal-button-ok"),
105         CANCEL("Cancel"),
106         DELETE_INSTANCE_OK("deleteInstanceModal-button-ok"),
107         DELETE_INSTANCE_CANCEL("deleteInstanceModal-button-cancel"),
108         RENAME_INSTANCE_OK("renameInstanceModal-button-ok"),
109         RENAME_INSTANCE_CANCEL("renameInstanceModal-button-cancel"),
110         UPGRADE_SERVICES_CANCEL("upgradeVspModal-close"),
111         UPGRADE_SERVICES_OK("upgradeVspModal-button-upgrade"),
112         UPDATE_SERVICES_OK("upgradeVspModal-button-update"),
113         UPGRADE_SERVICES_CLOSE("upgradeVspModal-button-close"),
114         UPGRADE_ARTIFACT_BUTTON("upgradeVspModal-button-done"),
115         ACCEPT_TESTING_MESSAGE("checkindialog");
116
117         private final String value;
118
119     }
120
121     @AllArgsConstructor
122     @Getter
123     public enum LeftPanelCanvasItems {
124         BLOCK_STORAGE("BlockStorage"),
125         CINDER_VOLUME("CinderVolume"),
126         COMPUTE("Compute"),
127         LOAD_BALANCER("LoadBalancer"),
128         NOVA_SERVER("NovaServer"),
129         OBJECT_STORAGE("ObjectStorage"),
130         NEUTRON_PORT("NeutronPort"),
131         PORT("Port"), DATABASE("Database"),
132         NETWORK("Network"),
133         CONTRAIL_PORT("ContrailPort"),
134         CONTRAIL_VIRTUAL_NETWORK("ContrailVirtualNetwork");
135
136         private final String value;
137
138     }
139
140     @AllArgsConstructor
141     @Getter
142     public enum LinkMenuItems {
143         LINK_ITEM_CAP_OR_REQ("req-or-cap-item"),
144         REQ_CAP_SELECT_DATA_TESTS_ID("value-select");
145
146         private final String value;
147
148     }
149
150
151     @AllArgsConstructor
152     @Getter
153     public enum GeneralCanvasItems {
154         CANVAS("canvas"),
155         CANVAS_RIGHT_PANEL("w-sdc-designer-sidebar-head"),
156         DELETE_INSTANCE_BUTTON("deleteInstance"),
157         UPDATE_INSTANCE_NAME("e-sdc-small-icon-update"),
158         INSTANCE_NAME_FIELD("instanceName");
159
160         private final String value;
161
162     }
163
164     @AllArgsConstructor
165     @Getter
166     public enum ResourceMetadataEnum {
167         RESOURCE_NAME("name"),
168         DESCRIPTION("description"),
169         MODEL("selectModelName"),
170         CATEGORY("selectGeneralCategory"),
171         VENDOR_NAME("vendorName"),
172         VENDOR_RELEASE("vendorRelease"),
173         TAGS("i-sdc-tag-input"),
174         CONTACT_ID("contactId"),
175         ICON(" iconBox"),
176         TAGS_TABLE("i-sdc-tag-text"),
177         SELECT_VSP("filename");
178
179         private final String value;
180
181     }
182
183     @AllArgsConstructor
184     @Getter
185     public enum GeneralElementsEnum {
186         CREATE_BUTTON("create/save"),
187         CHECKIN_BUTTON("check_in"),
188         CHECKOUT_BUTTON("check_out"),
189         SUBMIT_FOR_TESTING_BUTTON("submit_for_testing"),
190         DELETE_VERSION_BUTTON("delete_version"),
191         REVERT_BUTTON("revert"),
192         LIFECYCLE_STATE("formlifecyclestate"),
193         VERSION_HEADER("versionHeader"),
194         OK("OK"),
195         UPDATE_SERVICES_BUTTON("open-upgrade-vsp-popup"),
196         UPLOAD_FILE_INPUT("browseButton"),
197         RESTORE_BUTTON("restore-component-button"),
198         ARCHIVE_BUTTON("archive-component-button");
199
200         private final String value;
201
202     }
203
204     @AllArgsConstructor
205     @Getter
206     public enum ArtifactPageEnum {
207         ADD_DEPLOYMENT_ARTIFACT("add_artifact_btn"),
208         ADD_INFORMATIONAL_ARTIFACT("add-information-artifact-button"),
209         DOWNLOAD_ARTIFACT_ENV("download_env_"),
210         ADD_ANOTHER_ARTIFACT("add-another-artifact-button"),
211         EDIT_ARTIFACT("edit_"), //upload env file by its label(via deployment artifact view)/displayName(via Canvas)
212         DELETE_ARTIFACT("delete_"),
213         DOWNLOAD_ARTIFACT("download_"),
214         BROWSE_ARTIFACT("gab-"),
215         GET_DEPLOYMENT_ARTIFACT_DESCRIPTION("description"),
216         GET_INFORMATIONAL_ARTIFACT_DESCRIPTION("Description"),
217         OK("OK"),
218         TYPE("artifactType_"),
219         DEPLOYMENT_TIMEOUT("timeout_"),
220         VERSION("artifactVersion_"),
221         UUID("artifactUUID_"),
222         EDIT_PARAMETERS_OF_ARTIFACT("edit-parameters-of-"),
223         DELETE_PARAMETER_OF_ARTIFACT("delete-"),
224         ARTIFACT_NAME("artifactDisplayName_"),
225         UPLOAD_HEAT_ENV_PARAMETERS("uplaodEnv_"),
226         VERSION_ENV("artifactEnvVersion_"),
227         ADD_OTHER_ARTIFACT_BUTTON("//button[@class='add-button ng-scope']");
228
229         private final String value;
230
231     }
232
233     @AllArgsConstructor
234     @Getter
235     public enum PropertiesPageEnum {
236         ADD_NEW_PROPERTY("addGrey"),
237         EDIT_PROPERTY("edit_"),
238         DELETE_PROPERTY("delete_"),
239         DELETE_PROPERTY_POPUP("delete_property"),
240         PROPERTY_NAME("propertyName_"),
241         PROPERTY_DESCRIPTION("propertyDescription_"),
242         PROPERTY_TYPE("propertyType_"),
243         ENTRY_SCHEMA("propertySchema_"),
244         ADD("Add"), CANCEL("Cancel"),
245         DONE("Done"),
246         PROPERTY_ROW("propertyRow"),
247         SAVE("Save"),
248         POPUP_FORM("sdc-edit-property-container");
249
250         private final String value;
251
252     }
253
254     @AllArgsConstructor
255     @Getter
256     public enum PropertiesPopupEnum {
257         PROPERTY_NAME("propertyName"),
258         PROPERTY_VALUE("defaultvalue"),
259         PROPERTY_BOOLEAN_VALUE("booleantype"),
260         PROPERTY_DESCRIPTION("description"),
261         PROPERTY_TYPE("propertyType"),
262         ENTRY_SCHEMA("schema-type"),
263         CANCEL("Cancel"),
264         SAVE("Save"),
265         POPUP_FORM("sdc-edit-property-container"),
266         ADD("Add"),
267         DONE("Done"),
268         PROPERTY_RADIO_BUTTON_CONTAINER("propertyRadioButton_"),
269         RADIO_BUTTON_CLASS("tlv-radio-label");
270
271         private final String value;
272
273     }
274
275     @AllArgsConstructor
276     @Getter
277     public enum AdminPageTabs {
278         USER_MANAGEMENT("usermanagmenttab"),
279         CATEGORY_MANAGEMENT("categorymanagmenttab");
280
281         private final String value;
282
283     }
284
285     @AllArgsConstructor
286     @Getter
287     public enum UserManagementEnum {
288         SEARCH_BOX("searchbox"),
289         NEW_USER_FIELD("newuserId"),
290         ROLE_SELECT("selectrole"),
291         CREATE_BUTTON("creategreen"),
292         CLASS_USER_MANAGEMENT_TABLE("sdc-user-management-table"),
293         ROW_TABLE("row_"),
294         FIRST_NAME("firstName_"),
295         LAST_NAME("lastName__"),
296         USER_ID("userId_"),
297         EMAIL("email_"),
298         ROLE("role_"),
299         LAST_ACTIVE("lastActive_"),
300         UPDATE_ROLE("selectRole_"),
301         UPDATE_USER_BUTTON("updateUser_"),
302         SAVE_USER("save_"),
303         DELETE_USER("delete_");
304
305         private final String value;
306
307     }
308
309     @AllArgsConstructor
310     @Getter
311     public enum CategoryManagement {
312         SERVICE_CATEGORY_HEADER("servicecategoryheader"),
313         RESOURCE_CATEGORY_HEADER("resourcecategoryheader"),
314         SERVICE_CATEGORY_LIST("servicecategory"),
315         RESOURCE_CATEGORY_LIST("resourcecategory"),
316         NEW_CATEGORY_BUTTON("newcategory"),
317         NEW_SUB_CATEGORY_BUTTON("newsubcategory"),
318         NEW_CATEGORY_NAME("i-sdc-form-input");
319
320         private final String value;
321
322     }
323
324
325     @AllArgsConstructor
326     @Getter
327     public enum MainMenuButtons {
328         HOME_BUTTON("main-menu-button-home"),
329         CATALOG_BUTTON("main-menu-button-catalog"),
330         ONBOARD_BUTTON("main-menu-button-onboard"),
331         SEARCH_BOX(TopSearchComponent.SEARCH_INPUT_TEST_ID),
332         REPOSITORY_ICON("repository-icon");
333
334         private final String value;
335
336     }
337
338     @AllArgsConstructor
339     @Getter
340     public enum CatalogSwitchButtons {
341         CATALOG_SWITCH_BUTTON("catalog-selector-button"), // get possible catalog types(active/archive)
342         CATALOG_ACTIVE_ITEMS("catalog-selector-0"), // select active catalog
343         CATALOG_ARCHIVE("catalog-selector-1"); // select archive catalog
344
345         private final String value;
346
347     }
348
349     @AllArgsConstructor
350     @Getter
351     public enum MainMenuButtonsFromInsideFrame {
352         HOME_BUTTON("breadcrumbs-button-0");
353
354         private final String value;
355
356     }
357
358     @AllArgsConstructor
359     @Getter
360     public enum MenuOptionsEnum {
361         EDIT("Edit"),
362         CHECK_IN("Check in"),
363         CHECK_OUT("Check out"),
364         VIEW("View"),
365         SUBMIT_FOR_TEST("Submit For Test"),
366         ACCEPT("Accept"),
367         REJECT("Reject"),
368         START_TEST("Start test"),
369         DISTREBUTE("Distribute");
370
371         private final String value;
372
373     }
374
375     @AllArgsConstructor
376     @Getter
377     public enum StepsEnum {
378         GENERAL("GeneralLeftSideMenu"),
379         ICON("Iconstep"),
380         DEPLOYMENT_ARTIFACT("Deployment ArtifactLeftSideMenu"),
381         INFORMATION_ARTIFACT("Information ArtifactLeftSideMenu"),
382         PROPERTIES("PropertiesLeftSideMenu"),
383         COMPOSITION("CompositionLeftSideMenu"),
384         ACTIVITY_LOG("Activity LogLeftSideMenu"),
385         DEPLOYMENT_VIEW("DeploymentLeftSideMenu"),
386         TOSCA_ARTIFACTS("TOSCA ArtifactsLeftSideMenu"),
387         MONITOR("DistributionLeftSideMenu"),
388         MANAGEMENT_WORKFLOW("Management WorkflowLeftSideMenu"),
389         INPUTS("Inputs"),
390         HIERARCHY("Hierarchy"),
391         PROPERTIES_ASSIGNMENT("Properties AssignmentLeftSideMenu");
392
393         private final String value;
394
395     }
396
397     @AllArgsConstructor
398     @Getter
399     public enum ArtifactPopup {
400         BROWSE("browseButton"),
401         FILE_UNDEFINED("fileundefined"),
402         ARTIFACT_DESCRIPTION("description"),
403         ARTIFACT_LABEL("artifactLabel"),
404         ARTIFACT_TYPE("artifacttype"),
405         ARTIFACT_TYPE_ICON("artifacttype-icon"),
406         OK("OK"),
407         SAVE("Save"),
408         DONE_BUTTON("Done"),
409         CANCEL_BUTTON("Cancel"),
410         URL("input[class^='i-sdc-form-input']"),
411         MODAL_WINDOW("sdc-add-artifact");
412
413         private final String value;
414
415     }
416
417     @AllArgsConstructor
418     @Getter
419     public enum ServiceMetadataEnum {
420         SERVICE_NAME("name"),
421         DESCRIPTION("description"),
422         CATEGORY("selectGeneralCategory"),
423         PROJECT_CODE("projectCode"),
424         NAMING_POLICY("namingPolicy"),
425         SERVICE_FUNCTION("serviceFunction"),
426         TAGS("i-sdc-tag-input"),
427         CONTACT_ID("contactId"),
428         ICON(" iconBox"),
429         INSTANTIATION_TYPE("selectInstantiationType");
430
431         private final String value;
432
433     }
434
435     @AllArgsConstructor
436     @Getter
437     public enum ProductMetadataEnum {
438         PRODUCT_NAME("name"),
439         FULL_NAME("fullName"),
440         DESCRIPTION("description"),
441         PROJECT_CODE("projectCode"),
442         TAGS("i-sdc-tag-input"),
443         ATT_CONTACT("attContact"),
444         ICON(" iconBox");
445
446         private final String value;
447
448     }
449
450     @AllArgsConstructor
451     @Getter
452     public enum DashboardCardEnum {
453         ASSET_TYPE("asset-type"), LIFECYCLE_STATE("span[class^='w-sdc-dashboard-card-info-lifecycleState']"),
454         INFO_NAME("div.sdc-tile-info-line"),
455         VERSION("div[class^='w-sdc-dashboard-card-info-user']"),
456         DASHBOARD_CARD("div[class^='w-sdc-dashboard-card ']"),
457         INFO_TITLE_XPATH("//div[contains(@class,'sdc-tile-info-line title')]"),
458         ASSET_TYPE_CSS("span[data-tests-id='asset-type']");
459
460         private final String value;
461
462     }
463
464     @AllArgsConstructor
465     @Getter
466     public enum CatalogPageLeftPanelCategoryCheckbox {
467         GENERIC_CHECKBOX("span[data-tests-id='checkbox-resourcenewcategory.generic']"),
468         NETWORK_L2_3("span[data-tests-id='checkbox-resourcenewcategory.networkl2-3']"),
469         NETWORK_L4_PLUS("span[data-tests-id='checkbox-resourcenewcategory.networkl4+']"),
470         NETWORK_CONNECTIVITY("span[data-tests-id='checkbox-resourcenewcategory.networkconnectivity']"),
471         APPLICATION_L4_PLUS("span[data-tests-id='checkbox-resourcenewcategory.applicationl4+']"),
472         DCAE("span[data-tests-id='checkbox-resourcenewcategory.dcaecomponent']");
473
474         private final String value;
475
476     }
477
478     @AllArgsConstructor
479     @Getter
480     public enum CatalogPageLeftPanelFilterTitle {
481         TYPE("span[data-tests-id='typeFilterTitle']"),
482         CATEGORIES("span[data-tests-id='categoriesFilterTitle']"),
483         STATUS("span[data-tests-id='statusFilterTitle']");
484
485         private final String value;
486
487     }
488
489     @AllArgsConstructor
490     @Getter
491     public enum CatalogPageLeftPanelSubCategoryCheckbox {
492         COMMON_NETWORK_RESOURCES("span[data-tests-id='checkbox-resourcenewcategory.networkl4+.commonnetworkresources']"),
493         ROUTER("span[data-tests-id='checkbox-resourcenewcategory.networkl2-3.router']"),
494         WAN_CONNECTORS("span[data-tests-id='checkbox-resourcenewcategory.networkl2-3.wanconnectors']"),
495         LAN_CONNECTORS("span[data-tests-id='checkbox-resourcenewcategory.networkl2-3.lanconnectors']"),
496         INFRASTRUCTURE_NETWORK_L2_3("span[data-tests-id='checkbox-resourcenewcategory.networkl2-3.infrastructure']"),
497         GATEWAY("span[data-tests-id='checkbox-resourcenewcategory.networkl2-3.gateway']"),
498         NETWORK_ELEMENTS("span[data-tests-id='checkbox-resourcenewcategory.generic.networkelements']"),
499         ABSTRACT("span[data-tests-id='checkbox-resourcenewcategory.generic.abstract']"),
500         RULES("span[data-tests-id='checkbox-resourcenewcategory.generic.rules']"),
501         DATABASE("span[data-tests-id='checkbox-resourcenewcategory.generic.database']"),
502         INFRASTRUCTERE_GENERIC("span[data-tests-id='checkbox-resourcenewcategory.generic.infrastructure']"),
503         VIRTUAL_LINKS("span[data-tests-id='checkbox-resourcenewcategory.networkconnectivity.virtuallinks']"),
504         CONNECTION_POINTS("span[data-tests-id='checkbox-resourcenewcategory.networkconnectivity.connectionpoints']"),
505         APPLICATION_SERVER("span[data-tests-id='checkbox-resourcenewcategory.applicationl4+.applicationserver']"),
506         CALL_CONTROL("span[data-tests-id='checkbox-resourcenewcategory.applicationl4+.callcontrol']"),
507         MEDIASERVERS("span[data-tests-id='checkbox-resourcenewcategory.applicationl4+.mediaservers']"),
508         WEBSERVER("span[data-tests-id='checkbox-resourcenewcategory.applicationl4+.webserver']"),
509         LOAD_BALANCER("span[data-tests-id='checkbox-resourcenewcategory.applicationl4+.loadbalancer']"),
510         BORDER_ELEMENT("span[data-tests-id='checkbox-resourcenewcategory.applicationl4+.borderelement']"),
511         DATABASE_APPLIVATION_L4_PLUS("span[data-tests-id='checkbox-resourcenewcategory.applicationl4+.database']"),
512         FIREWALL("span[data-tests-id='checkbox-resourcenewcategory.applicationl4+.firewall']"),
513         DATABASE_DCAE("span[data-tests-id='checkbox-resourcenewcategory.dcaecomponent.database']"),
514         POLICY("span[data-tests-id='checkbox-resourcenewcategory.dcaecomponent.policy']"),
515         MICROSERVICE("span[data-tests-id='checkbox-resourcenewcategory.dcaecomponent.microservice']"),
516         SOURCE("span[data-tests-id='checkbox-resourcenewcategory.dcaecomponent.source']"),
517         COLLECTOR("span[data-tests-id='checkbox-resourcenewcategory.dcaecomponent.collector']"),
518         UTILITY("span[data-tests-id='checkbox-resourcenewcategory.dcaecomponent.utility']"),
519         ANALYTICS("span[data-tests-id='checkbox-resourcenewcategory.dcaecomponent.analytics']");
520
521         private final String value;
522
523     }
524
525     @AllArgsConstructor
526     @Getter
527     public enum CompositionScreenEnum {
528         CHANGE_VERSION("changeVersion", Collections.emptyList()),
529         DEPLOYMENT_ARTIFACT_TAB("deployment-artifact-tab", Collections.singletonList("Deployment Artifacts")),
530         ADD_ARTIFACT("add_Artifact_Button", Collections.emptyList()),
531         SEARCH_ASSET("searchAsset-input", Arrays.asList()),
532         PROPERTIES_AND_ATTRIBUTES_TAB("properties-and-attributes-tab", Collections.emptyList()),
533         MENU_INPUTS("sub-menu-button-inputs", Collections.emptyList()),
534         MENU_ONBOARD("sub-menu-button-onboard", Collections.emptyList()),
535         MENU_HOME("sub-menu-button-home", Collections.emptyList()),
536         MENU_PROPERTIES_ASSIGNMENT("sub-menu-button-properties assignment", Collections.emptyList()),
537         MENU_TRIANGLE_DROPDOWN("triangle-dropdown", Collections.emptyList()),
538         ARTIFACTS_LIST("artifactName", Collections.emptyList()),
539         INFORMATION_ARTIFACTS("button[tooltip-content='Information Artifacts']",
540             Collections.singletonList("Informational Artifacts")),
541         API("button[tooltip-content='API']", Collections.singletonList("API Artifacts")),
542         INFORMATION("button[tooltip-content='Information']", Arrays.asList("General Info", "Additional Information", "Tags")),
543         COMPOSITION("button[tooltip-content='Composition']", Collections.singletonList("Composition")),
544         INPUTS("button[tooltip-content='Inputs']", Collections.singletonList("")),
545         REQUIREMENTS_AND_CAPABILITIES("button[tooltip-content='Requirements and Capabilities']",
546             Collections.emptyList()),
547         INFORMATION_TAB("information-tab", Collections.emptyList()),
548         CUSTOMIZATION_UUID("rightTab_customizationModuleUUID", Collections.emptyList());
549
550         private final String value;
551         private final List<String> title;
552
553     }
554
555     @AllArgsConstructor
556     @Getter
557     public enum ToscaArtifactsScreenEnum {
558         TOSCA_MODEL("download-Tosca Model"),
559         TOSCA_TEMPLATE("download-Tosca Template"),
560         ARTIFACT_VERSION("version-"),
561         ARTIFACT_NAME("name-"),
562         ARTIFACT_TYPE("type-"),
563         ARTIFACT_DETAILS("details-"),
564         DOWNLOAD_ARTIFACT("download-"),
565         DOWNLOAD_CSAR("download-Tosca Model");
566
567         private final String value;
568
569     }
570
571     @AllArgsConstructor
572     @Getter
573     public enum InformationalArtifactsService {
574         AFFINITY_RULES("artifact_Display_Name-Affinity Rules"),
575         AUTOMATION_COMPOSITION_FUNCTIONS("artifact_Display_Name-Automation Composition Functions"),
576         DEPLOYMENT_VOTING_RECORD("artifact_Display_Name-Deployment Voting Record"),
577         DIMENSIONING_INFO("artifact_Display_Name-Dimensioning Info"),
578         DISTRIBUTION_INSTRUCTION("artifact_Display_Name-Distribution Instructions"),
579         ENGINEERING_RULES("artifact_Display_Name-Engineering Rules (ERD)"),
580         OPERATIONAL_POLICES("artifact_Display_Name-Operational Policies"),
581         SERVICE_ARTIFACT_PLAN("artifact_Display_Name-Service Artifact Plan"),
582         SERVICE_QUESTIONNAIRE("artifact_Display_Name-Service Questionnaire"),
583         SERVICE_SECURITY_TEMPLATE("artifact_Display_Name-Service Security Template"),
584         SERVICE_SPECIFIC_POLICIES("artifact_Display_Name-Service-specific Policies"),
585         SUMMARY_OF_IMPACTS_TO_ECOMP("artifact_Display_Name-Summary of impacts to ECOMP elements,OSSs, BSSs"),
586         TD_CERTIFICATION_TEST_RESULTS("artifact_Display_Name-TD Certification Test Results");
587
588         private final String value;
589
590     }
591
592     @AllArgsConstructor
593     @Getter
594     public enum APIArtifactsService {
595         CONFIGURATION("artifact_Display_Name-Configuration"),
596         INSTANTIATION("artifact_Display_Name-Instantiation"),
597         LOGGING("artifact_Display_Name-Logging"),
598         MONITORING("artifact_Display_Name-Monitoring"),
599         REPORTING("artifact_Display_Name-Reporting"),
600         TESTING("artifact_Display_Name-Testing");
601
602         private final String value;
603
604     }
605
606     @AllArgsConstructor
607     @Getter
608     public enum DeploymentArtifactCompositionRightMenu {
609         ARTIFACT_NAME("artifactName-"),
610         ARTIFACT_DISPLAY_NAME("artifact_Display_Name-"),
611         DOWNLOAD("download_"),
612         DELETE("delete_"),
613         ADD_ARTIFACT_BUTTON("add_Artifact_Button"),
614         EDIT_PARAMETERS_OF_ARTIFACT("edit-parameters-of-"),
615         ARTIFACT_ITEM("artifact-item-"),
616         ARTIFACT_ENV("heat_env_");
617
618         private final String value;
619
620     }
621
622     @AllArgsConstructor
623     @Getter
624     public enum InputsScreenService {
625         ADD_SELECTED_INPUTS_BTN("add-inputs-to-service-button"),
626         VF_INSTANCE_ROWS("expand-collapse[expanded-selector^='.vf-instance-list.']"),
627         VF_INSTANCE_ROW_NAME("span[class^='title-text']"),
628         VF_INSTANCE_INPUTS("div[class^='vf-instance-list ']"),
629         VF_INSTANCE_INPUT("div[class^='input-row ng-scope']"),
630         VF_INSTNCE_PROPERTY_NAME("div[class^='title-text']"),
631         INPUT_CHECKBOX("span[class^='tlv-checkbox-label']"),
632         SERVICE_INPUT_ROW("div[class^='service-input-row input-row']"),
633         DELETE_INPUT_BTN("span[class$='remove-input-icon']"),
634         RESOURCE_INSTANCE_PROPERTY_NAME("propertyName_"),
635         RESOURCE_INSTANCE_PROPERTY_TYPE("propertyType_"),
636         RESOURCE_INSTANCE_PROPERTY_CHECKBOX("propertyCheckbox_"),
637         SERVICE_INPUTS_DELETE_BUTTON("deleteInput_");
638
639         private final String value;
640
641     }
642
643     @AllArgsConstructor
644     @Getter
645     public enum DeploymentScreen {
646         MODULES("span[class^='expand-collapse-title-text']"),
647         MEMBERS("div[class^='expand-collapse-sub-title']"),
648         PROPERTIES("list-of-Properties"),
649         ARTIFACTS("list-of-Artifacts"),
650         BUTTON_PROPERTIES("div[data-tests-id='list-of-Properties'] span[class^='hand']"),
651         BUTTON_ARTIFACTS("div[data-tests-id='list-of-Artifacts'] span[class^='hand']"),
652         PROPERTY_NAMES("div[data-tests-id='selected-module-property-name'] span"),
653         PROPERTY_TYPES("selected-module-property-type"),
654         PROPERTY_SCHEMA_TYPE("selected-module-property-schema-type"),
655         ARTIFACT_NAME("selected-module-artifact-name"),
656         ARTIFACT_UUID("selected-module-artifact-uuid"),
657         ARTIFACT_VERSION("selected-module-artifact-version"),
658         PENCIL_ICON("edit-name-popover-icon"),
659         MODULE_NAME("selected-module-name"),
660         MODULE_ID("selected-module-group-uuid"),
661         RESOURCE_NAME_ON_POPOVER("popover-vfinstance-name"),
662         MODULE_NAME_ON_POPOVER("popover-module-name"),
663         NAME_INPUT("popover-heat-name"),
664         SAVE("popover-save-button"),
665         CANCEL("popover-close-button"),
666         X_BUTTON("popover-x-button");
667
668         private final String value;
669
670     }
671
672     @AllArgsConstructor
673     @Getter
674     public enum PropertiesAssignmentScreen {
675         PROPERTIES_TAB("Properties"),
676         INPUTS_TAB("Inputs"),
677         COMPOSITION_TAB("Composition"),
678         PROPERTY_STRUCTURE_TAB("Property Structure"),
679         SEARCH_BOX("search-box"),
680         FILTER_BOX("filter-box"),
681         SAVE_BUTTON("properties-save-button"),
682         DISCARD_BUTTON("properties-reverse-button"),
683         DECLARE_BUTTON("declare-button"),
684         SEARCH_BUTTON("search-button"),
685         FILTER_BUTTON("filter-button"),
686         EXPAND_BUTTON("expand-"),
687         CLEAR_FILTER_BUTTON("clear-filter-button"),
688         INPUT_DELETE_BUTTON("delete-input-button"),
689         INPUT_DELETE_DIALOG_DELETE("Delete"),
690         INPUT_DELETE_DIALOG_CLOSE("Close"),
691         SAVE_DIALOG_CANCEL("id-button-cancel"),
692         SAVE_DIALOG_DISCARD("id-button-discard"),
693         SAVE_DIALOG_SAVE("id-button-save"),
694         PROPERTY_KEY_FIELD_PREFIX("value-prop-key-"),
695         PROPERTY_VALUE_FIELD_PREFIX("value-prop-"),
696         INPUT_VALUE_FIELD_PREFIX("value-input-"),
697         POPUP_VALUE_FIELD_PREFIX("edit-button-prop-"),
698         ADD_TO_LIST_BUTTON("add-to-list-"),
699         DELETE_FROM_LIST_BUTTON("delete-from-list-"),
700         FILTER_CHECKBOX_ALL("filter-checkbox-all"),
701         FILTER_CHECKBOX_CP("filter-checkbox-cp"),
702         FILTER_CHECKBOX_VFC("filter-checkbox-vfc"),
703         FILTER_CHECKBOX_VL("filter-checkbox-vl"),
704         FILTER_APPLY_BUTTON("filter-apply-button"),
705         FILTER_CLOSE_BUTTON("filter-close-button"),
706         FILTER_SET_BUTTON("filter-set-button"),
707         PROPERTY_NAME_COLUMN("property-name");
708
709         private final String value;
710
711     }
712
713     @AllArgsConstructor
714     @Getter
715     public enum ImportVfRepository {
716         SEARCH("onboarding-search-input"),
717         IMPORT_VSP("import-csar"),
718         DOWNLOAD_CSAR("download-csar"),
719         UPDATE_VSP("update-csar");
720
721         private final String value;
722
723     }
724
725     @AllArgsConstructor
726     @Getter
727     public enum EnvParameterView {
728         SEARCH_ENV_PARAM_NAME("search-env-param-name"),
729         ENV_CURRENT_VALUE("value-field-of-"), //value-field-of-oam_volume_name_0 - parameter name
730         ENV_DEFAULT_VALUE("default-value-of-"); // default-value-of-vnf_name
731
732         private final String value;
733
734     }
735
736     @AllArgsConstructor
737     @Getter
738     public enum ComplexServiceAmdocs {
739         CREATE_BUTTON("Create"),
740         DELETE_COMPONENT("deleteInstance"),
741         PATH_LIST_BUTTON("pathsListMenuItem"),
742         UPDATE_VF("create/save"),
743         PATH_LIST_NAME("path-name"),
744         PATH_LIST_EDIT("update-service-path-btn"),
745         PATH_LIST_DELETE("delete-service-path-btn"),
746         CREATE_PATH_MENU_BUTTON("createPathMenuItem"),
747         PATH_NAME("pathName"),
748         PATH_PROTOCOL("pathProtocol"),
749         PATH_PORT_NUMBER("pathPortNumbers"),
750         PATH_MENU_BUTTON("pathsMenuBtn"),
751         SAVE("Save"),
752         SEARCH("expandable-input-closed"),
753         LINK_SOURCE("linkSrc"),
754         LINK_SOURCE_CP("linkSrcCP"),
755         LINK_TARGET("linkTarget"),
756         LINK_TARGET_CP("linkTargetCP"),
757         SERVICE_PATH_SELECTOR("service-path-selector"),
758         SUBMIT_FOR_TESTING("submit_for_testing"),
759         CHANGE_LIFE_CYCLE_MESSAGE("changeLifeCycleMessage"),
760         REMOVE_LINK("removeLnk"),
761         OK("OK"),
762         ONBOARD_CATALOG("onboard-onboard-tab"),
763         CLOSE("Close"),
764         HOME_FROM_COMPOSITION("breadcrumbs-button-0"),
765         NEW_VSP_VERSION_DESCRIPTION("new-version-description"),
766         SUBMIT_NEW_VSP_VERSION_DESCRIPTION("form-submit-button"),
767         EXTEND_BUTTON("extendPathlnk");
768
769         private final String value;
770
771     }
772
773
774     @AllArgsConstructor
775     @Getter
776     public enum PortMirroring {
777         COLLECTOR_NODE("collector_node"),
778         EQUIP_MODEL("equip_model"),
779         EQUIP_VENDOR("equip_vendor"),
780         PMC_NAME_IN_PALLETE("Port Mirroring Configuration"),
781         PMCP_NAME_IN_PALLETE("Port Mirroring Configuration By Policy");
782
783         private final String value;
784
785     }
786
787     @AllArgsConstructor
788     @Getter
789     public enum CompositionRightPanelGeneralInfo {
790         TYPE("rightTab_componentType"),
791         RESOURCE_TYPE("rightTab_resourceType"),
792         SELECT_VERSION("changeVersion"),
793         CATEGORY("rightTab_category"),
794         SUB_CATEGORY("rightTab_subCategory");
795
796         private final String value;
797
798     }
799
800     @AllArgsConstructor
801     @Getter
802     public enum CompositionRightPanel {
803         COMPONENT_TITLE("selectedCompTitle"),
804         REQS_AND_CAPS_TAB("requirements-and-capabilities"),
805         EDIT_PENCIL("editPencil"),
806         INSTANCE_NAME_TEXTBOX("instanceName"),
807         DELETE_ITEM("deleteInstance"),
808         REQS_AND_CAPS_TAB_XPATH("//button[@tooltip-content='Requirements and Capabilities']");
809
810         private final String value;
811
812     }
813
814     @AllArgsConstructor
815     @Getter
816     public enum VspValidationPage {
817         VSP_VALIDATION_PAGE_NAVBAR("navbar-group-item-SOFTWARE_PRODUCT_VALIDATION"),
818         VSP_VALIDATION_PAGE_BREADCRUMBS("sub-menu-button-validation"),
819         VSP_VALIDATION_PAGE_PROCEED_TO_INPUTS_BUTTON("go-to-vsp-validation-inputs"),
820         VSP_VALIDATION_PAGE_PROCEED_TO_SETUP_BUTTON("go-to-vsp-validation-setup"),
821         VSP_VALIDATION_PAGE_INPUT("%s_%s_input"),
822         VSP_VALIDATION_PAGE_PROCEED_TO_RESULTS_BUTTON("proceed-to-validation-results-btn"),
823         VSP_VALIDATION_PAGE_COMPLIANCE_CHECKBOX_TREE("vsp-validation-compliance-checks-checkbox-tree"),
824         VSP_VALIDATION_PAGE_CERTIFICATION_CHECKBOX_TREE("vsp-validation-certifications-query-checkbox-tree");
825
826         private final String value;
827
828     }
829
830     @AllArgsConstructor
831     @Getter
832     public enum VspValidationResultsPage {
833         VSP_VALIDATION_RESULTS_PAGE_NAVBAR("navbar-group-item-SOFTWARE_PRODUCT_VALIDATION_RESULTS"),
834         VSP_VALIDATION_RESULTS_PAGE_BREADCRUMBS("sub-menu-button-validation results");
835
836         private final String value;
837
838     }
839
840 }