forked from global-121/121-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathValidate_Person_Affected.feature
36 lines (33 loc) · 1.79 KB
/
Validate_Person_Affected.feature
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
@aw-app
Feature: Validate Person Affected
Background:
Given a logged-in user
And the user has retrieved the Person Affected's Validation Data (see feature "Get Person Affected Validation Data")
Scenario: Validate PA-data without Financial Service Provider questions
Given the "validate program questions" component is shown
And there are no Financial Service Provider questions
When user confirms the current answers
Then a summary of answers is shown
And the options to "save" and to "change information" are shown
When the user "saves" the answers
Then a positive feedback message is shown
And the "validate Financial Service Provider questions" component is shown
And it confirms there are no Financial Service Provider questions
And a "Back to main menu" button is shown
When the user presses "back to main menu"
Then the "main menu" component is shown
And the "Upload validation data" option has a "counter" badge with a number that is one higher than before
Scenario: Validate PA-data with Financial Service Provider questions
Given the "validate program questions" component is shown
And there is at least one Financial Service Provider question
When user confirms the current answers
Then a summary of answers is shown
And the options to "save" and to "change information" are shown
When the user "saves" the answers
Then a positive feedback message is shown
And the "validate Financial Service Provider questions" component is shown
When user confirms the current answers
Then a positive feedback message is shown
And a "Back to main menu" button is shown
Then the "main menu" component is shown
And the "Upload validation data" option has a "counter" badge with a number that is one higher than before