1 package vid.automation.test.sections;
3 import org.onap.sdc.ci.tests.utilities.GeneralUIUtils;
4 import org.openqa.selenium.WebElement;
5 import vid.automation.test.Constants;
7 import static org.hamcrest.MatcherAssert.assertThat;
8 import static org.hamcrest.Matchers.containsString;
10 public class DeployMacroDialog extends DeployMacroDialogBase {
11 String dialogTitle = Constants.BrowseASDC.CREATE_SERVICE_INSTANCE_MACRO_MODAL;
13 public void assertTitle(){
15 WebElement modalTitle = GeneralUIUtils.getWebElementByTestID(Constants.CREATE_MODAL_TITLE_ID, 30);
16 assertThat(modalTitle.getText(), containsString(dialogTitle));
19 public void closeDialog(){
20 GeneralUIUtils.ultimateWait();
21 clickCancelButtonByTestID();
26 public void assertDialogExists() {
31 public void clickOwningEntitySelect() {
32 GeneralUIUtils.clickOnElementByTestId(Constants.OwningEntity.OWNING_ENTITY_SELECT_TEST_ID);
36 public void clickProjectSelect() {
37 GeneralUIUtils.clickOnElementByTestId(Constants.OwningEntity.PROJECT_SELECT_TEST_ID);