CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 1 | *** Settings *** |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 2 | Test Timeout 5 minutes |
| 3 | Documentation End-to-end test cases for basic ONAP Portal functionalities |
| 4 | Resource ../resources/portal-sdk/portalDef.robot |
| 5 | Resource ../resources/portal_interface.robot |
| 6 | Library SeleniumLibrary |
| 7 | Suite Teardown Close All Browsers |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 8 | |
| 9 | *** Test Cases *** |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 10 | |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 11 | Login into Portal URL |
| 12 | [TAGS] portal |
DR695H | 910097e | 2019-05-08 13:55:32 -0400 | [diff] [blame] | 13 | Portal admin Login To Portal GUI |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 14 | |
CHINTAMANI | 021d5eb | 2018-10-11 15:11:44 -0400 | [diff] [blame] | 15 | Portal Change REST URL Of X-DemoApp |
| 16 | [TAGS] portal |
| 17 | [Documentation] Portal Change REST URL Of X-DemoApp |
| 18 | Portal Change REST URL |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 19 | |
CHINTAMANI | 021d5eb | 2018-10-11 15:11:44 -0400 | [diff] [blame] | 20 | Portal R1 Release for AAF |
| 21 | [TAGS] portal |
| 22 | [Documentation] ONAP Portal R1 functionality for AAF test |
| 23 | Portal AAF new fields |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 24 | |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 25 | EP Admin widget layout reset |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 26 | [TAGS] portal |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 27 | Reset widget layout option |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 28 | |
| 29 | Validate Functional Top Menu Get Access |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 30 | [TAGS] portal |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 31 | Functional Top Menu Get Access |
| 32 | |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 33 | Validate Functional Top Menu Contact Us |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 34 | [TAGS] portal |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 35 | Functional Top Menu Contact Us |
| 36 | |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 37 | Edit Functional Menu |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 38 | [TAGS] portal |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 39 | Portal admin Edit Functional menu |
| 40 | |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 41 | Create a Test user for Application Admin -Test |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 42 | [TAGS] portal |
DR695H | e971ed9 | 2019-08-02 11:53:24 -0400 | [diff] [blame] | 43 | ${login_id} ${email_address}= Generate Random User portal |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 44 | Portal admin Add Application admin User New user -Test ${login_id} ${email_address} |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 45 | |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 46 | Create a Test User for Application Admin |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 47 | [TAGS] portal |
DR695H | e971ed9 | 2019-08-02 11:53:24 -0400 | [diff] [blame] | 48 | ${login_id} ${email_address}= Generate Random User demoapp |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 49 | Portal admin Add Application admin User New user ${login_id} ${email_address} |
| 50 | |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 51 | Add Application Admin for Existing User Test user |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 52 | [TAGS] portal |
DR695H | e971ed9 | 2019-08-02 11:53:24 -0400 | [diff] [blame] | 53 | ${login_id} ${email_address}= Generate Random User demoapp |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 54 | Portal admin Add Application Admin Existing User -APPDEMO ${login_id} |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 55 | |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 56 | Create a Test user for Standard User |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 57 | [TAGS] portal |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 58 | ${login_id} ${email_address}= Generate Random User demosta |
| 59 | Portal admin Add Standard User New user ${login_id} ${email_address} |
| 60 | |
| 61 | Add Application Admin for Existing User |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 62 | [TAGS] portal |
DR695H | e971ed9 | 2019-08-02 11:53:24 -0400 | [diff] [blame] | 63 | ${login_id} ${email_address}= Generate Random User portal |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 64 | Portal admin Add Application Admin Existing User ${login_id} |
| 65 | |
| 66 | Delete Application Admin for Existing User |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 67 | [TAGS] portal |
DR695H | e971ed9 | 2019-08-02 11:53:24 -0400 | [diff] [blame] | 68 | ${login_id} ${email_address}= Generate Random User portal |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 69 | Portal admin Delete Application Admin Existing User ${login_id} |
| 70 | |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 71 | Logout from Portal GUI as Portal Admin |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 72 | [TAGS] portal |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 73 | Portal admin Logout from Portal GUI |
| 74 | |
| 75 | # Application Admin user Test cases |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 76 | |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 77 | Login To Portal GUI as APP Admin |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 78 | [TAGS] portal |
DR695H | e971ed9 | 2019-08-02 11:53:24 -0400 | [diff] [blame] | 79 | ${login_id} ${email_address}= Generate Random User demoapp |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 80 | Application admin Login To Portal GUI ${login_id} |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 81 | |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 82 | Logout from Portal GUI as APP Admin |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 83 | [TAGS] portal |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 84 | Application admin Logout from Portal GUI |
| 85 | |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 86 | #Standard User Test cases |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 87 | |
| 88 | Logout from Portal GUI as Standard User |
CHINTAMANI | 399248a | 2018-09-06 18:16:41 -0400 | [diff] [blame] | 89 | [TAGS] portal |
kaihlavi | 5b620eb | 2019-08-09 15:41:09 +0300 | [diff] [blame] | 90 | Standard User Logout from Portal GUI |
CHINTAMANI | dadbef3 | 2018-08-14 21:22:59 -0400 | [diff] [blame] | 91 | Close All Browsers |