blob: 1b1b9b19d67407486d6521159bdb188e6e6cb3be [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
Brian Freemanf410ced2019-12-10 15:36:01 -050012 [TAGS] portal portal-ci
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
Brian Freemanf410ced2019-12-10 15:36:01 -050016 [TAGS] portal portal-ci
CHINTAMANI021d5eb2018-10-11 15:11:44 -040017 [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
Brian Freemanf410ced2019-12-10 15:36:01 -050021 [TAGS] portal portal-ci
CHINTAMANI021d5eb2018-10-11 15:11:44 -040022 [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
mrichomme3256fa22020-03-09 11:23:35 +010026 [TAGS] portalSKIP portal-ci
kaihlavi5b620eb2019-08-09 15:41:09 +030027 Reset widget layout option
CHINTAMANIdadbef32018-08-14 21:22:59 -040028
29Validate Functional Top Menu Get Access
Brian Freemanf410ced2019-12-10 15:36:01 -050030 [TAGS] portal portal-ci
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
Brian Freemanf410ced2019-12-10 15:36:01 -050034 [TAGS] portal portal-ci
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
Brian Freemanf410ced2019-12-10 15:36:01 -050042 [TAGS] portal portal-ci
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
Brian Freemanf410ced2019-12-10 15:36:01 -050047 [TAGS] portal portal-ci
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
mrichomme3256fa22020-03-09 11:23:35 +010052 [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
Brian Freemanf410ced2019-12-10 15:36:01 -050072 [TAGS] portal portal-ci
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
Brian Freemanf410ced2019-12-10 15:36:01 -050078 [TAGS] portal portal-ci
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
Brian Freemanf410ced2019-12-10 15:36:01 -050083 [TAGS] portal portal-ci
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
Brian Freemanf410ced2019-12-10 15:36:01 -050089 [TAGS] portal portal-ci
kaihlavi5b620eb2019-08-09 15:41:09 +030090 Standard User Logout from Portal GUI
CHINTAMANIdadbef32018-08-14 21:22:59 -040091 Close All Browsers