diff options
author | Eylon Malin <eylon.malin@intl.att.com> | 2019-11-11 13:17:13 +0200 |
---|---|---|
committer | Eylon Malin <eylon.malin@intl.att.com> | 2019-11-11 16:16:57 +0200 |
commit | 6b91534bf6733b7b2bad87ef8f70296a05430476 (patch) | |
tree | c45d6720a3ab42ed515d2344b533e55e1bd93372 /vid-automation/src/main/java/vid/automation/test/sections/DeployMacroDialogOld.java | |
parent | 81edb057a2658964c20330ed34fdf591e689b2d8 (diff) |
adjust BrowseASDCTest with FLAG_2002_ANY_ALACARTE_BESIDES_EXCLUDED_NEW_INSTANTIATION_UI
Issue-ID: VID-701
Change-Id: Ieed6340e3ff1e727521d8d1747ff2db96614664d
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Diffstat (limited to 'vid-automation/src/main/java/vid/automation/test/sections/DeployMacroDialogOld.java')
-rw-r--r-- | vid-automation/src/main/java/vid/automation/test/sections/DeployMacroDialogOld.java | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/vid-automation/src/main/java/vid/automation/test/sections/DeployMacroDialogOld.java b/vid-automation/src/main/java/vid/automation/test/sections/DeployMacroDialogOld.java deleted file mode 100644 index e0e391b4d..000000000 --- a/vid-automation/src/main/java/vid/automation/test/sections/DeployMacroDialogOld.java +++ /dev/null @@ -1,42 +0,0 @@ -package vid.automation.test.sections; - -import org.junit.Assert; -import org.onap.sdc.ci.tests.utilities.GeneralUIUtils; -import org.openqa.selenium.WebElement; -import vid.automation.test.Constants; - -import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.Matchers.containsString; - -public class DeployMacroDialogOld extends DeployMacroDialogBase { - String dialogTitle = "macro"; - - @Override - public void assertTitle(){ - WebElement modalTitle = GeneralUIUtils.getWebElementByTestID(Constants.CREATE_MODAL_TITLE_ID, 30); - assertThat(modalTitle.getText().toLowerCase(), containsString(dialogTitle)); - } - - @Override - public void closeDialog(){ - GeneralUIUtils.ultimateWait(); - clickCancelButtonByTestID(); - } - - @Override - public void assertDialogExists(){ - boolean byText = GeneralUIUtils.findAndWaitByText(Constants.BrowseASDC.CREATE_SERVICE_INSTANCE, 15); - Assert.assertTrue(byText); - } - - @Override - public void clickOwningEntitySelect(){ - GeneralUIUtils.clickOnElementByTestId(Constants.OwningEntity.OWNING_ENTITY_SELECT_TEST_ID); - } - - @Override - public void clickProjectSelect(){ - GeneralUIUtils.clickOnElementByTestId(Constants.OwningEntity.PROJECT_SELECT_TEST_ID); - } - -} |