blob: cef943c34a7c3fedea560854f112120d2b837358 [file] [log] [blame]
CHINTAMANIdadbef32018-08-14 21:22:59 -04001*** Settings ***
kaihlavi5b620eb2019-08-09 15:41:09 +03002Test Timeout 5 minutes
3Documentation End-to-end test cases for basic ONAP Portal functionalities
4Resource ../resources/portal-sdk/portalDef.robot
5Resource ../resources/portal_interface.robot
6Library SeleniumLibrary
7Suite Teardown Close All Browsers
CHINTAMANIdadbef32018-08-14 21:22:59 -04008
9*** Test Cases ***
kaihlavi5b620eb2019-08-09 15:41:09 +030010
CHINTAMANI399248a2018-09-06 18:16:41 -040011Login into Portal URL
12 [TAGS] portal
DR695H910097e2019-05-08 13:55:32 -040013 Portal admin Login To Portal GUI
CHINTAMANIdadbef32018-08-14 21:22:59 -040014
CHINTAMANI021d5eb2018-10-11 15:11:44 -040015Portal Change REST URL Of X-DemoApp
16 [TAGS] portal
17 [Documentation] Portal Change REST URL Of X-DemoApp
18 Portal Change REST URL
kaihlavi5b620eb2019-08-09 15:41:09 +030019
CHINTAMANI021d5eb2018-10-11 15:11:44 -040020Portal R1 Release for AAF
21 [TAGS] portal
22 [Documentation] ONAP Portal R1 functionality for AAF test
23 Portal AAF new fields
CHINTAMANIdadbef32018-08-14 21:22:59 -040024
CHINTAMANIdadbef32018-08-14 21:22:59 -040025EP Admin widget layout reset
CHINTAMANI399248a2018-09-06 18:16:41 -040026 [TAGS] portal
kaihlavi5b620eb2019-08-09 15:41:09 +030027 Reset widget layout option
CHINTAMANIdadbef32018-08-14 21:22:59 -040028
29Validate Functional Top Menu Get Access
CHINTAMANI399248a2018-09-06 18:16:41 -040030 [TAGS] portal
kaihlavi5b620eb2019-08-09 15:41:09 +030031 Functional Top Menu Get Access
32
CHINTAMANIdadbef32018-08-14 21:22:59 -040033Validate Functional Top Menu Contact Us
CHINTAMANI399248a2018-09-06 18:16:41 -040034 [TAGS] portal
kaihlavi5b620eb2019-08-09 15:41:09 +030035 Functional Top Menu Contact Us
36
CHINTAMANIdadbef32018-08-14 21:22:59 -040037Edit Functional Menu
CHINTAMANI399248a2018-09-06 18:16:41 -040038 [TAGS] portal
kaihlavi5b620eb2019-08-09 15:41:09 +030039 Portal admin Edit Functional menu
40
CHINTAMANIdadbef32018-08-14 21:22:59 -040041Create a Test user for Application Admin -Test
CHINTAMANI399248a2018-09-06 18:16:41 -040042 [TAGS] portal
DR695He971ed92019-08-02 11:53:24 -040043 ${login_id} ${email_address}= Generate Random User portal
kaihlavi5b620eb2019-08-09 15:41:09 +030044 Portal admin Add Application admin User New user -Test ${login_id} ${email_address}
CHINTAMANIdadbef32018-08-14 21:22:59 -040045
kaihlavi5b620eb2019-08-09 15:41:09 +030046Create a Test User for Application Admin
CHINTAMANI399248a2018-09-06 18:16:41 -040047 [TAGS] portal
DR695He971ed92019-08-02 11:53:24 -040048 ${login_id} ${email_address}= Generate Random User demoapp
kaihlavi5b620eb2019-08-09 15:41:09 +030049 Portal admin Add Application admin User New user ${login_id} ${email_address}
50
CHINTAMANIdadbef32018-08-14 21:22:59 -040051Add Application Admin for Existing User Test user
CHINTAMANI399248a2018-09-06 18:16:41 -040052 [TAGS] portal
DR695He971ed92019-08-02 11:53:24 -040053 ${login_id} ${email_address}= Generate Random User demoapp
kaihlavi5b620eb2019-08-09 15:41:09 +030054 Portal admin Add Application Admin Existing User -APPDEMO ${login_id}
CHINTAMANIdadbef32018-08-14 21:22:59 -040055
kaihlavi5b620eb2019-08-09 15:41:09 +030056Create a Test user for Standard User
CHINTAMANI399248a2018-09-06 18:16:41 -040057 [TAGS] portal
kaihlavi5b620eb2019-08-09 15:41:09 +030058 ${login_id} ${email_address}= Generate Random User demosta
59 Portal admin Add Standard User New user ${login_id} ${email_address}
60
61Add Application Admin for Existing User
CHINTAMANI399248a2018-09-06 18:16:41 -040062 [TAGS] portal
DR695He971ed92019-08-02 11:53:24 -040063 ${login_id} ${email_address}= Generate Random User portal
kaihlavi5b620eb2019-08-09 15:41:09 +030064 Portal admin Add Application Admin Existing User ${login_id}
65
66Delete Application Admin for Existing User
CHINTAMANI399248a2018-09-06 18:16:41 -040067 [TAGS] portal
DR695He971ed92019-08-02 11:53:24 -040068 ${login_id} ${email_address}= Generate Random User portal
kaihlavi5b620eb2019-08-09 15:41:09 +030069 Portal admin Delete Application Admin Existing User ${login_id}
70
CHINTAMANIdadbef32018-08-14 21:22:59 -040071Logout from Portal GUI as Portal Admin
CHINTAMANI399248a2018-09-06 18:16:41 -040072 [TAGS] portal
CHINTAMANIdadbef32018-08-14 21:22:59 -040073 Portal admin Logout from Portal GUI
74
75# Application Admin user Test cases
kaihlavi5b620eb2019-08-09 15:41:09 +030076
CHINTAMANIdadbef32018-08-14 21:22:59 -040077Login To Portal GUI as APP Admin
CHINTAMANI399248a2018-09-06 18:16:41 -040078 [TAGS] portal
DR695He971ed92019-08-02 11:53:24 -040079 ${login_id} ${email_address}= Generate Random User demoapp
kaihlavi5b620eb2019-08-09 15:41:09 +030080 Application admin Login To Portal GUI ${login_id}
CHINTAMANIdadbef32018-08-14 21:22:59 -040081
CHINTAMANIdadbef32018-08-14 21:22:59 -040082Logout from Portal GUI as APP Admin
CHINTAMANI399248a2018-09-06 18:16:41 -040083 [TAGS] portal
kaihlavi5b620eb2019-08-09 15:41:09 +030084 Application admin Logout from Portal GUI
85
CHINTAMANIdadbef32018-08-14 21:22:59 -040086#Standard User Test cases
kaihlavi5b620eb2019-08-09 15:41:09 +030087
88Logout from Portal GUI as Standard User
CHINTAMANI399248a2018-09-06 18:16:41 -040089 [TAGS] portal
kaihlavi5b620eb2019-08-09 15:41:09 +030090 Standard User Logout from Portal GUI
CHINTAMANIdadbef32018-08-14 21:22:59 -040091 Close All Browsers