+ Wait.byText("View/Edit Service Instance");
+ if (serviceInstanceId != null) {
+ Wait.byText(serviceInstanceId);
+ }
+ Wait.byText(serviceInstanceName);
+
+ if (checkPortMirroring) {
+ Wait.byText("Add node instance");
+ Wait.byText(ViewEdit.COMMON_PORT_MIRRORING_PORT_NAME);
+ }
+
+ if (checkAddVnf) {
+ // Validate bug fix - we open old popup in view/edit
+ Click.byTestId("addVNFButton");
+ Click.byTestId("addVNFOption-2017-488_PASQUALE-vPE 0");
+ assertThat(Get.byTestId("create-modal-title").getText(), containsString("a la carte"));
+ Click.byTestId("cancelButton");
+ //end of bug fix validation
+ }
+
+ screenshotDeployDialog("view-edit-" + serviceInstanceName);
+ SideMenu.navigateToMacroInstantiationStatus();
+ });
+ }