summaryrefslogtreecommitdiffstats
path: root/test/csit/tests/portal-sdk/testsuites/test1.robot
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-11-01 00:30:58 +0000
committerGerrit Code Review <gerrit@onap.org>2017-11-01 00:30:58 +0000
commit47b13c65573dd6d6598f56cb6f138f216d859633 (patch)
tree08429c6560715a75570ff983f76099ef8a14bcd3 /test/csit/tests/portal-sdk/testsuites/test1.robot
parent2ce8ec9f752e6f6790bef9dd82a7118718146246 (diff)
parentf3bb7145ea158690a1ab25570ffad3091e14d5c7 (diff)
Merge "Updated setup.sh and test1.robot"
Diffstat (limited to 'test/csit/tests/portal-sdk/testsuites/test1.robot')
-rw-r--r--test/csit/tests/portal-sdk/testsuites/test1.robot10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/csit/tests/portal-sdk/testsuites/test1.robot b/test/csit/tests/portal-sdk/testsuites/test1.robot
index f3e4017fb..84579d017 100644
--- a/test/csit/tests/portal-sdk/testsuites/test1.robot
+++ b/test/csit/tests/portal-sdk/testsuites/test1.robot
@@ -47,9 +47,14 @@ Portal admin Login To Portal GUI
Portal Admin Navigation Application Link Tab
[Documentation] Logs into Portal GUI as Portal admin
-
Click Element xpath=.//h3[contains(text(),'xDemo App')]/following::div[1]
- Page Should Contain ONAP Portal
+ Go To ${PORTAL_HOME_PAGE}
+ Dismiss Alert accept=false
+ #Scroll Element Into View xpath=//span[@id='tab-Home']
+ #Click Element xpath=//span[@id='tab-Home']
+ #Click Element xpath=(//span[@id='tab-xDemo-App']/following::i[@class='ion-close-round'])[1]
+ Click Element xpath=.//h3[contains(text(),'xDemo App')]/following::div[1]
+
Validate SDK Sub Menu
@@ -72,7 +77,6 @@ Click Sample Pages and validate sub Menu
Click Link xpath=//a[@id='parent-item-Sample-Pages']
Click Link xpath=//a[contains(@title,'Notebook')]
Element Text Should Be xpath=//h1[contains(.,'Notebook')] Notebook
- #Click Link xpath=//a[@id='parent-item-Home']
Click Reports and validate sub Menu
[Documentation] Click Reports Tab