diff options
Diffstat (limited to 'test/csit/tests')
-rw-r--r-- | test/csit/tests/portal-sdk/testsuites/test1.robot | 182 | ||||
-rw-r--r-- | test/csit/tests/portal/testsuites/test1.robot | 184 |
2 files changed, 183 insertions, 183 deletions
diff --git a/test/csit/tests/portal-sdk/testsuites/test1.robot b/test/csit/tests/portal-sdk/testsuites/test1.robot index 00714024f..84436e3d5 100644 --- a/test/csit/tests/portal-sdk/testsuites/test1.robot +++ b/test/csit/tests/portal-sdk/testsuites/test1.robot @@ -26,23 +26,23 @@ ${GLOBAL_VM_PRIVATE_KEY} ${EXECDIR}/robot/assets/keys/robot_ssh_private_key.pv *** Test Cases *** -Portal admin Login To Portal GUI - [Documentation] Logs into Portal GUI -# Setup Browser - Start Virtual Display 1920 1080 - Open Browser ${PORTAL_LOGIN_URL} chrome -# Go To ${PORTAL_LOGIN_URL} - Maximize Browser Window - Set Selenium Speed ${GLOBAL_SELENIUM_DELAY} - Set Browser Implicit Wait ${GLOBAL_SELENIUM_BROWSER_IMPLICIT_WAIT} - Log Logging in to ${PORTAL_URL}${PORTAL_ENV} - # Handle Proxy Warning - Title Should Be Login - Input Text xpath=//input[@id='loginId'] ${GLOBAL_PORTAL_ADMIN_USER} - Input Password xpath=//input[@id='password'] ${GLOBAL_PORTAL_ADMIN_PWD} - Click Element //*[@id="loginBtn"] - Wait Until Page Contains Element xpath=//img[@src='app/fusionapp/icons/logo_onap_transbg.png'] ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} - Log Logged in to ${PORTAL_URL}${PORTAL_ENV} +#Portal admin Login To Portal GUI +# [Documentation] Logs into Portal GUI +## Setup Browser +# Start Virtual Display 1920 1080 +# Open Browser ${PORTAL_LOGIN_URL} chrome +## Go To ${PORTAL_LOGIN_URL} +# Maximize Browser Window +# Set Selenium Speed ${GLOBAL_SELENIUM_DELAY} +# Set Browser Implicit Wait ${GLOBAL_SELENIUM_BROWSER_IMPLICIT_WAIT} +# Log Logging in to ${PORTAL_URL}${PORTAL_ENV} +# # Handle Proxy Warning +# Title Should Be Login +# Input Text xpath=//input[@id='loginId'] ${GLOBAL_PORTAL_ADMIN_USER} +# Input Password xpath=//input[@id='password'] ${GLOBAL_PORTAL_ADMIN_PWD} +# Click Element //*[@id="loginBtn"] +# Wait Until Page Contains Element xpath=//img[@src='app/fusionapp/icons/logo_onap_transbg.png'] ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} +# Log Logged in to ${PORTAL_URL}${PORTAL_ENV} SDKPortalAdmin Navigation Application Link Tab [Documentation] Logs into Portal GUI as Portal admin @@ -54,84 +54,84 @@ SDKPortalAdmin Navigation Application Link Tab #Click Element xpath=(//span[@id='tab-xDemo-App']/following::i[@class='ion-close-round'])[1] Comment Click Element xpath=.//h3[contains(text(),'xDemo App')]/following::div[1] -Validate SDK Sub Menu - [Documentation] Logs into SDK GUI as Portal admin - Page Should Contain Home - Page Should Contain Sample Pages - Page Should Contain Reports - Page Should Contain Profile - Page Should Contain Admin +#Validate SDK Sub Menu +# [Documentation] Logs into SDK GUI as Portal admin +# Page Should Contain Home +# Page Should Contain Sample Pages +# Page Should Contain Reports +# Page Should Contain Profile +# Page Should Contain Admin -#Click Sample Pages and validate sub Menu - #[Documentation] Click Sample Pages - #Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] - #Click Link xpath=//a[@id='parent-item-Sample-Pages'] - #Element Text Should Be xpath=//a[@title='Collaboration'] Collaboration - #Element Text Should Be xpath=//a[@title='Notebook'] Notebook - #Click Link xpath=//a[contains(@title,'Collaboration')] - #Page Should Contain User List - #Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] - #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 Sample Pages and validate sub Menu +# #[Documentation] Click Sample Pages +# #Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] +# #Click Link xpath=//a[@id='parent-item-Sample-Pages'] +# #Element Text Should Be xpath=//a[@title='Collaboration'] Collaboration +# #Element Text Should Be xpath=//a[@title='Notebook'] Notebook +# #Click Link xpath=//a[contains(@title,'Collaboration')] +# #Page Should Contain User List +# #Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] +# #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 Reports and validate sub Menu - [Documentation] Click Reports Tab - #Select frame xpath=.//*[@id='tabframe-xDemo-App'] - Click Link xpath=//a[@id='parent-item-Reports'] - Element Text Should Be xpath=//a[@title='All Reports'] All Reports - Element Text Should Be xpath=//a[@title='Create Reports'] Create Reports - Click Link xpath=//a[contains(@title,'All Reports')] - Page Should Contain Report search - Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] - Click Link xpath=//a[@id='parent-item-Reports'] - Click Link xpath=//a[contains(@title,'Create Reports')] - Page Should Contain Report Wizard +#Click Reports and validate sub Menu +# [Documentation] Click Reports Tab +# #Select frame xpath=.//*[@id='tabframe-xDemo-App'] +# Click Link xpath=//a[@id='parent-item-Reports'] +# Element Text Should Be xpath=//a[@title='All Reports'] All Reports +# Element Text Should Be xpath=//a[@title='Create Reports'] Create Reports +# Click Link xpath=//a[contains(@title,'All Reports')] +# Page Should Contain Report search +# Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] +# Click Link xpath=//a[@id='parent-item-Reports'] +# Click Link xpath=//a[contains(@title,'Create Reports')] +# Page Should Contain Report Wizard -Click Profile and validate sub Menu - [Documentation] Click Profile Tab - Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] - Click Link xpath=//a[@id='parent-item-Profile'] - Element Text Should Be xpath=//a[@title='Search'] Search - Element Text Should Be xpath=//a[@title='Self'] Self - Click Link xpath=//a[contains(@title,'Search')] - Page Should Contain Profile Search - Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] - Click Link xpath=//a[@id='parent-item-Profile'] - Click Link xpath=//a[contains(@title,'Self')] - Page Should Contain Self Profile Detail +#Click Profile and validate sub Menu +# [Documentation] Click Profile Tab +# Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] +# Click Link xpath=//a[@id='parent-item-Profile'] +# Element Text Should Be xpath=//a[@title='Search'] Search +# Element Text Should Be xpath=//a[@title='Self'] Self +# Click Link xpath=//a[contains(@title,'Search')] +# Page Should Contain Profile Search +# Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] +# Click Link xpath=//a[@id='parent-item-Profile'] +# Click Link xpath=//a[contains(@title,'Self')] +# Page Should Contain Self Profile Detail -Click Admin and validate sub Menu - [Documentation] Click Admin Tab - Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] - Click Link xpath=//a[@id='parent-item-Admin'] - Element Text Should Be xpath=//a[@title='Roles'] Roles - Element Text Should Be xpath=//a[@title='Role Functions'] Role Functions - Element Text Should Be xpath=//a[@title='Cache Admin'] Cache Admin - Element Text Should Be xpath=//a[@title='Menus'] Menus - Element Text Should Be xpath=//a[@title='Usage'] Usage - Click Link xpath=//a[contains(@title,'Roles')] - Page Should Contain Roles - Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] - Click Link xpath=//a[@id='parent-item-Admin'] - Click Link xpath=//a[contains(@title,'Role Function')] - Page Should Contain Role Function - Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] - Click Link xpath=.//a[@id='parent-item-Admin'] - #Select frame xpath=.//*[@id='tabframe-xDemo-App'] - Click Link xpath=//a[@id='parent-item-Admin'] - Click Link xpath=//a[contains(@title,'Cache Admin')] - Page Should Contain Cache Regions - Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] - Click Link xpath=.//a[@id='parent-item-Admin'] - Click Link xpath=//a[@id='parent-item-Admin'] - Click Link xpath=//a[contains(@title,'Menus')] - Page Should Contain Admin Menu Items - Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] - Click Link xpath=//a[@id='parent-item-Admin'] - Click Link xpath=//a[@id='parent-item-Admin'] - Click Link xpath=//a[contains(@title,'Usage')] - Page Should Contain Current Usage +#Click Admin and validate sub Menu +# [Documentation] Click Admin Tab +# Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] +# Click Link xpath=//a[@id='parent-item-Admin'] +# Element Text Should Be xpath=//a[@title='Roles'] Roles +# Element Text Should Be xpath=//a[@title='Role Functions'] Role Functions +# Element Text Should Be xpath=//a[@title='Cache Admin'] Cache Admin +# Element Text Should Be xpath=//a[@title='Menus'] Menus +# Element Text Should Be xpath=//a[@title='Usage'] Usage +# Click Link xpath=//a[contains(@title,'Roles')] +# Page Should Contain Roles +# Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] +# Click Link xpath=//a[@id='parent-item-Admin'] +# Click Link xpath=//a[contains(@title,'Role Function')] +# Page Should Contain Role Function +# Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] +# Click Link xpath=.//a[@id='parent-item-Admin'] +# #Select frame xpath=.//*[@id='tabframe-xDemo-App'] +# Click Link xpath=//a[@id='parent-item-Admin'] +# Click Link xpath=//a[contains(@title,'Cache Admin')] +# Page Should Contain Cache Regions +# Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] +# Click Link xpath=.//a[@id='parent-item-Admin'] +# Click Link xpath=//a[@id='parent-item-Admin'] +# Click Link xpath=//a[contains(@title,'Menus')] +# Page Should Contain Admin Menu Items +# Comment Select frame xpath=.//*[@id='tabframe-xDemo-App'] +# Click Link xpath=//a[@id='parent-item-Admin'] +# Click Link xpath=//a[@id='parent-item-Admin'] +# Click Link xpath=//a[contains(@title,'Usage')] +# Page Should Contain Current Usage Teardown [Documentation] Close All Open browsers diff --git a/test/csit/tests/portal/testsuites/test1.robot b/test/csit/tests/portal/testsuites/test1.robot index 373098d67..d0fef06a4 100644 --- a/test/csit/tests/portal/testsuites/test1.robot +++ b/test/csit/tests/portal/testsuites/test1.robot @@ -75,147 +75,147 @@ ${download_link_id} 0 Portal Health Check Run Portal Health Check -Login into Portal URL - Portal admin Login To Portal GUI +#Login into Portal URL +# Portal admin Login To Portal GUI -# Portal R1 Release - # [Documentation] ONAP Portal R1 functionality test - # Notification on ONAP Portal - # Portal Application Account Management validation +## Portal R1 Release +# # [Documentation] ONAP Portal R1 functionality test +# # Notification on ONAP Portal +# # Portal Application Account Management validation -Portal Change REST URL Of X-DemoApp - [Documentation] Portal Change REST URL Of X-DemoApp - Portal Change REST URL +#Portal Change REST URL Of X-DemoApp +# [Documentation] Portal Change REST URL Of X-DemoApp +# Portal Change REST URL -Portal R1 Release for AAF - [Documentation] ONAP Portal R1 functionality for AAF test - Portal AAF new fields +#Portal R1 Release for AAF +# [Documentation] ONAP Portal R1 functionality for AAF test +# Portal AAF new fields -Create Microse service onboarding - Portal admin Microservice Onboarding +#Create Microse service onboarding +# Portal admin Microservice Onboarding -##Delete Microse service - ##Portal admin Microservice Delete +###Delete Microse service +# ##Portal admin Microservice Delete -Create Widget for all users - Portal Admin Create Widget for All users +#Create Widget for all users +# Portal Admin Create Widget for All users -Delete Widget for all users - Portal Admin Delete Widget for All users +#Delete Widget for all users +# Portal Admin Delete Widget for All users -Create Widget for Application Roles - Portal Admin Create Widget for Application Roles +#Create Widget for Application Roles +# Portal Admin Create Widget for Application Roles -#Delete Widget for Application Roles - #Portal Admin Delete Widget for Application Roles +##Delete Widget for Application Roles +# #Portal Admin Delete Widget for Application Roles -#EP Admin widget download - #Admin widget download +##EP Admin widget download +# #Admin widget download -EP Admin widget layout reset - Reset widget layout option +#EP Admin widget layout reset +# Reset widget layout option -Validate Functional Top Menu Get Access - Functional Top Menu Get Access +#Validate Functional Top Menu Get Access +# Functional Top Menu Get Access -Validate Functional Top Menu Contact Us - Functional Top Menu Contact Us +#Validate Functional Top Menu Contact Us +# Functional Top Menu Contact Us -Edit Functional Menu - Portal admin Edit Functional menu +#Edit Functional Menu +# Portal admin Edit Functional menu -Broadbond Notification functionality - ${AdminBroadCastMsg}= Portal Admin Broadcast Notifications - set global variable ${AdminBroadCastMsg} +#Broadbond Notification functionality +# ${AdminBroadCastMsg}= Portal Admin Broadcast Notifications +# set global variable ${AdminBroadCastMsg} -Category Notification functionality - ${AdminCategoryMsg}= Portal Admin Category Notifications - set global variable ${AdminCategoryMsg} +#Category Notification functionality +# ${AdminCategoryMsg}= Portal Admin Category Notifications +# set global variable ${AdminCategoryMsg} -Create a Test user for Application Admin -Test - Portal admin Add Application admin User New user -Test +#Create a Test user for Application Admin -Test +# Portal admin Add Application admin User New user -Test -Create a Test User for Apllication Admin - Portal admin Add Application admin User New user +#Create a Test User for Apllication Admin +# Portal admin Add Application admin User New user -Add Application Admin for Existing User Test user - Portal admin Add Application Admin Exiting User -APPDEMO +#Add Application Admin for Existing User Test user +# Portal admin Add Application Admin Exiting User -APPDEMO -Create a Test user for Standared User - Portal admin Add Standard User New user +#Create a Test user for Standared User +# Portal admin Add Standard User New user -Add Application Admin for Exisitng User - Portal admin Add Application Admin Exiting User +#Add Application Admin for Exisitng User +# Portal admin Add Application Admin Exiting User -Delete Application Admin for Exisitng User - Portal admin Delete Application Admin Existing User +#Delete Application Admin for Exisitng User +# Portal admin Delete Application Admin Existing User -Add Standard User Role for Existing user - Portal admin Add Standard User Existing user +#Add Standard User Role for Existing user +# Portal admin Add Standard User Existing user -Edit Standard User Role for Existing user - Portal admin Edit Standard User Existing user +#Edit Standard User Role for Existing user +# Portal admin Edit Standard User Existing user -Delete Standard User Role for Existing user - Portal admin Delete Standard User Existing user +#Delete Standard User Role for Existing user +# Portal admin Delete Standard User Existing user -#Add Account new account from App Account Management - #Portal admin Add New Account +##Add Account new account from App Account Management +# #Portal admin Add New Account -#Delete Account new account from App Account Management - #Portal admin Delete Account +##Delete Account new account from App Account Management +# #Portal admin Delete Account -#EP Create Portal Admin - #Add Portal Admin +##EP Create Portal Admin +# #Add Portal Admin -#EP Portal Admin delete - #Delete Portal Admin +##EP Portal Admin delete +# #Delete Portal Admin -Logout from Portal GUI as Portal Admin - Portal admin Logout from Portal GUI +#Logout from Portal GUI as Portal Admin +# Portal admin Logout from Portal GUI ## Application Admin user Test cases -Login To Portal GUI as APP Admin - Application admin Login To Portal GUI +#Login To Portal GUI as APP Admin +# Application admin Login To Portal GUI ##Navigate Functional Link as APP Admin ##Application Admin Navigation Functional Menu -Add Standard User Role for Existing user as APP Admin - Application admin Add Standard User Existing user +#Add Standard User Role for Existing user as APP Admin +# Application admin Add Standard User Existing user -Edit Standard User Role for Existing user as APP Admin - Application admin Edit Standard User Existing user +#Edit Standard User Role for Existing user as APP Admin +# Application admin Edit Standard User Existing user -Delete Standard User Role for Existing user as APP Admin - Application admin Delete Standard User Existing user +#Delete Standard User Role for Existing user as APP Admin +# Application admin Delete Standard User Existing user -#Navigate Application Link as APP Admin - #Application Admin Navigation Application Link Tab +##Navigate Application Link as APP Admin +# #Application Admin Navigation Application Link Tab -Logout from Portal GUI as APP Admin - Application admin Logout from Portal GUI +#Logout from Portal GUI as APP Admin +# Application admin Logout from Portal GUI ##Standard User Test cases -Login To Portal GUI as Standared User - Standared user Login To Portal GUI +#Login To Portal GUI as Standared User +# Standared user Login To Portal GUI -#Navigate Application Link as Standared User - #Standared user Navigation Application Link Tab +##Navigate Application Link as Standared User +# #Standared user Navigation Application Link Tab -#Navigate Functional Link as Standared User - #Standared user Navigation Functional Menu +##Navigate Functional Link as Standared User +# #Standared user Navigation Functional Menu -#Broadcast Notifications Standared user - #Standared user Broadcast Notifications ${AdminBroadCastMsg} +##Broadcast Notifications Standared user +# #Standared user Broadcast Notifications ${AdminBroadCastMsg} -#Category Notifications Standared user - #Standared user Category Notifications ${AdminCategoryMsg} +##Category Notifications Standared user +# #Standared user Category Notifications ${AdminCategoryMsg} -Logout from Portal GUI as Standared User - Standared User Logout from Portal GUI +#Logout from Portal GUI as Standared User +# Standared User Logout from Portal GUI Teardown [Documentation] Close All Open browsers |