diff options
Diffstat (limited to 'integration-tests/src/test/java/org')
-rw-r--r-- | integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/AttributesTabComponent.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/AttributesTabComponent.java b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/AttributesTabComponent.java index e06d702afe..207c79a49e 100644 --- a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/AttributesTabComponent.java +++ b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/AttributesTabComponent.java @@ -45,6 +45,9 @@ public class AttributesTabComponent extends AbstractPageObject { } waitForElementVisibility(By.xpath(XpathSelector.ATTRIBUTES_CHECKBOX.getXpath(attributeName))).click(); waitToBeClickable(By.xpath(XpathSelector.DECLARE_OUTPUT_BTN.getXpath())).click(); + final By setInputNameLocator = By.xpath(XpathSelector.SET_INPUT_NAME_FIELD.getXpath()); + final WebElement inputNameField = waitForElementVisibility(setInputNameLocator, 5); + waitToBeClickable(By.xpath(XpathSelector.INPUT_NAME_SAVE_BTN.getXpath())).click(); waitForAddedOutputNotification(); } @@ -82,6 +85,8 @@ public class AttributesTabComponent extends AbstractPageObject { ATTRIBUTES_CHECKBOX("//checkbox[@data-tests-id='%s']"), DECLARE_OUTPUT_BTN("declare-button declare-output", "//button[@data-tests-id='%s']"), INSTANCE_SPAN("//div[contains(@class,'table-rows-header')]"), + SET_INPUT_NAME_FIELD("//*[@id=\"myText\"]"), + INPUT_NAME_SAVE_BTN("//button[@data-tests-id='Save']"), ADDED_OUTPUT_NOTIFICATION("tab-indication", "//div[@data-tests-id='Outputs']/div[contains(@class, '%s')]"); @Getter |