-
Notifications
You must be signed in to change notification settings - Fork 37
/
bdd-stories-welcome-new-user.txt
51 lines (37 loc) · 1.22 KB
/
bdd-stories-welcome-new-user.txt
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
39
40
41
42
43
44
45
46
47
48
49
50
51
Name Email Phone Role
-------------------------------
Ted ted@ +1650 PARENT [Send Welcome]
Given a user profile exists
When "welcome them" is initiated for them
Then The Welcomer for Text is performed:
send text with available commands: Balance, Deposit, and Spend
Given new user profile created
When user profile is PARENT role
Then welcome is performed:
(1) send welcome email
(2) send welcome text message with commands: Balance, Deposit, and Spend
Given new user profile created
When user profile is KID role
Then welcome is performed:
(1) send welcome email
(2) send welcome text message with command info: Balance
[Secondary]
Given user profile exists
AND is PARENT role
When trigger resend welcome
Then welcome is performed:
(1) send welcome email
(2) send welcome text message with commands: Balance, Deposit, and Spend
Given user profile exists
AND is KID role
When trigger resend welcome
Then welcome is performed:
(1) send welcome email
(2) send welcome text message with command info: Balance
[Optional]
Given user profile exists
When phone number is changed
Then send welcome via text message to new number
Given user profile exists
When email is changed
Then send welcome via email