-
Notifications
You must be signed in to change notification settings - Fork 16
/
marketing_consent.yml
38 lines (38 loc) · 1.15 KB
/
marketing_consent.yml
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
31
32
33
34
35
36
37
38
suite: User Management
testset: Marketing Consent
tests:
- title: View Unset Marketing Preferences
context:
role: any
steps:
- step: Go to the "Accounts" page
results:
- marketing consent text and radio button options should be visiblle with no marketing
consent option selected (this is just the first time before an option has been
chosen)
- title: Accept Marketing
context:
role: any
steps:
- step: Go to the "Accounts" page
results:
- marketing consent text and radio button options should be visiblle with the
previous option selected, if set
- step: select "I consent..."
- step: Click "Save Settings"
results:
- Page reloads, flash message says "Record Updated"
- '"I consent" is selected'
- title: Decline Marketing
context:
role: any
steps:
- step: Go to the "Accounts" page
results:
- marketing consent text and radio button options should be visiblle with the
previous option selected, if set
- step: Select "I do not consent"
- step: Click "Save Settings"
results:
- Page reloads, flash message says "Record Updated"
- '"I do not consent" is selected'