-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path300_Email_subscription_for_datamodel.robot
30 lines (29 loc) · 1.4 KB
/
300_Email_subscription_for_datamodel.robot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
*** Settings ***
Documentation Test Suite for datamodel email subscription
Suite Teardown Close All Browsers
Test Teardown Close All Browsers
Library SeleniumLibrary
Library String
Resource resources/Datamodel_Resources.robot
Resource resources/Email_subscription_resources.robot
*** Test Cases ***
300. Add and remove email subscription for new profile
[Documentation] Add and remove email subscription for new profile
[Tags] regression test 300
[Setup] Test Case Setup ${TEST_ADMIN_ID} ${TEST_ADMIN_NAME}
Create Profile ${MODEL_1} ${PREFIX_1}
Go Back To Data Vocabularies Frontpage
Open Tool ${DATA_VOCABULARIES_ENVIRONMENT_URL}
Select model Testiautomaatiomalli
Add Email Subscription For Datamodel
Select navigation menu link Käyttäjätiedot
Select Model Tab ${USER_DETAILS_SUBSCRIPTIONS_TAB}
Wait Until Page Contains Tietomalliaineistot timeout=20
Wait Until Page Contains Element //*[contains(text(), "Testiautomaatiomalli")] timeout=20
Go Back To Data Vocabularies Frontpage
Select model Testiautomaatiomalli
Remove Email Subscription For Datamodel
Select navigation menu link Käyttäjätiedot
Page Should Not Contain Element ${USER_DETAILS_SUBSCRIPTIONS_TAB}
Go Back To Data Vocabularies Frontpage
[Teardown] Delete profile ${MODEL_1}