dvla-application_helper 5.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.drone.yml +481 -0
- data/.env.template +4 -0
- data/.rspec +3 -0
- data/.rubocop.yml +21 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/README.md +674 -0
- data/Rakefile +31 -0
- data/config/settings/drone-dev.yml +41 -0
- data/config/settings/drone-ext.yml +35 -0
- data/config/settings/drone-link.yml +35 -0
- data/config/settings/drone-perf.yml +35 -0
- data/config/settings/local-dev.yml +40 -0
- data/config/settings/local-ext.yml +35 -0
- data/config/settings/local-link.yml +35 -0
- data/config/settings/local-perf.yml +35 -0
- data/config/settings.yml +29 -0
- data/config/yarp.yml +6 -0
- data/functional-tests/Rakefile +74 -0
- data/functional-tests/chutney.yml +110 -0
- data/functional-tests/features/codl.feature +170 -0
- data/functional-tests/features/codl_image_review_states.feature +140 -0
- data/functional-tests/features/csudl.feature +54 -0
- data/functional-tests/features/csudl_image_review_states.feature +20 -0
- data/functional-tests/features/step_definitions/app_domain_steps.rb +213 -0
- data/functional-tests/features/step_definitions/application_creation_steps.rb +115 -0
- data/functional-tests/features/step_definitions/image_steps.rb +144 -0
- data/functional-tests/features/step_definitions/state_machine_steps.rb +43 -0
- data/functional-tests/features/support/data/artefacts.rb +27 -0
- data/functional-tests/features/support/data/image_helpers.rb +20 -0
- data/functional-tests/features/support/data/schema_helpers.rb +3 -0
- data/functional-tests/features/support/data/string_manipulation.rb +9 -0
- data/functional-tests/features/support/env.rb +25 -0
- data/functional-tests/features/support/hooks.rb +56 -0
- data/functional-tests/features/support/yarp_integration/yarp_helpers.rb +23 -0
- data/functional-tests/features/uodl_image_review_states.feature +244 -0
- data/functional-tests/features/uodl_non_processable.feature +441 -0
- data/functional-tests/features/uodl_processable.feature +416 -0
- data/lib/dvla/application_helper/builders/V1/application_builder.rb +298 -0
- data/lib/dvla/application_helper/builders/V1/codl_application_builder.rb +205 -0
- data/lib/dvla/application_helper/builders/V1/csudl_application_builder.rb +329 -0
- data/lib/dvla/application_helper/builders/V2/base_uodl_v2_application_builder.rb +357 -0
- data/lib/dvla/application_helper/builders/V2/cop_v2_application_builder.rb +59 -0
- data/lib/dvla/application_helper/builders/V2/dup_v2_application_builder.rb +84 -0
- data/lib/dvla/application_helper/builders/V2/exc_v2_application_builder.rb +55 -0
- data/lib/dvla/application_helper/builders/V2/rep_v2_application_builder.rb +84 -0
- data/lib/dvla/application_helper/builders/V2/tyr_v2_application_builder.rb +62 -0
- data/lib/dvla/application_helper/builders/V2/uodl_v2_application_builder.rb +278 -0
- data/lib/dvla/application_helper/builders/V3/base_uodl_v3_application_builder.rb +342 -0
- data/lib/dvla/application_helper/builders/V3/cop_v3_application_builder.rb +56 -0
- data/lib/dvla/application_helper/builders/V3/dup_v3_application_builder.rb +78 -0
- data/lib/dvla/application_helper/builders/V3/exc_v3_application_builder.rb +56 -0
- data/lib/dvla/application_helper/builders/V3/rep_v3_application_builder.rb +81 -0
- data/lib/dvla/application_helper/builders/V3/tyr_v3_application_builder.rb +59 -0
- data/lib/dvla/application_helper/builders/dup_rep_builder_mixin.rb +71 -0
- data/lib/dvla/application_helper/builders/photo_builder_mixin.rb +49 -0
- data/lib/dvla/application_helper/builders/photo_signature_builder_mixin.rb +68 -0
- data/lib/dvla/application_helper/configuration.rb +37 -0
- data/lib/dvla/application_helper/constants.rb +21 -0
- data/lib/dvla/application_helper/enums/review_state.rb +30 -0
- data/lib/dvla/application_helper/enums/unable_to_prove_licence_possession_reasons.rb +8 -0
- data/lib/dvla/application_helper/factories/address.rb +21 -0
- data/lib/dvla/application_helper/factories/application_details.rb +353 -0
- data/lib/dvla/application_helper/factories/casework.rb +7 -0
- data/lib/dvla/application_helper/factories/csudl_photo_signature_image.rb +156 -0
- data/lib/dvla/application_helper/factories/csudl_photo_signature_images.rb +85 -0
- data/lib/dvla/application_helper/factories/organ_donor.rb +32 -0
- data/lib/dvla/application_helper/factories/person.rb +73 -0
- data/lib/dvla/application_helper/factories/photo_image.rb +147 -0
- data/lib/dvla/application_helper/factories/photo_images.rb +183 -0
- data/lib/dvla/application_helper/factories/photo_signature_image.rb +158 -0
- data/lib/dvla/application_helper/factories/photo_signature_images.rb +64 -0
- data/lib/dvla/application_helper/fixtures/photo/comparison_image.jpeg +0 -0
- data/lib/dvla/application_helper/fixtures/photo/passport_image.jpg +0 -0
- data/lib/dvla/application_helper/fixtures/photo/photocard_back.jpg +0 -0
- data/lib/dvla/application_helper/fixtures/photo/photocard_front.jpg +0 -0
- data/lib/dvla/application_helper/fixtures/photo/rejected_user_uploaded_image.jpeg +0 -0
- data/lib/dvla/application_helper/fixtures/photo/user_uploaded_image.jpg +0 -0
- data/lib/dvla/application_helper/fixtures/signature/csudl_signature_image.tiff +0 -0
- data/lib/dvla/application_helper/fixtures/signature/passport_image.jpg +0 -0
- data/lib/dvla/application_helper/fixtures/signature/rejected_user_uploaded_image.jpg +0 -0
- data/lib/dvla/application_helper/fixtures/signature/user_uploaded_image.jpg +0 -0
- data/lib/dvla/application_helper/processors/application_status.rb +45 -0
- data/lib/dvla/application_helper/processors/application_task.rb +301 -0
- data/lib/dvla/application_helper/services/application_diary.rb +123 -0
- data/lib/dvla/application_helper/services/application_domain.rb +239 -0
- data/lib/dvla/application_helper/services/application_process_engine.rb +120 -0
- data/lib/dvla/application_helper/services/check_aws_credentials.rb +24 -0
- data/lib/dvla/application_helper/services/driving_licence_channel_api.rb +67 -0
- data/lib/dvla/application_helper/services/image_service.rb +116 -0
- data/lib/dvla/application_helper/services/image_utility.rb +82 -0
- data/lib/dvla/application_helper/services/state_machine_helpers.rb +146 -0
- data/lib/dvla/application_helper/version.rb +5 -0
- data/lib/dvla/application_helper.rb +92 -0
- data/renovate.json +4 -0
- data/scripts/application-login.sh +56 -0
- data/scripts/drone-aws-login.sh +18 -0
- data/scripts/seed_application.rb +268 -0
- data/sonar-project.properties +4 -0
- metadata +343 -0
@@ -0,0 +1,441 @@
|
|
1
|
+
Feature: UODL non processable
|
2
|
+
|
3
|
+
As a Test engineer
|
4
|
+
I want to ensure that UODL test applications can be built using a variety of flags
|
5
|
+
So that they can be used to functionally test each of our components
|
6
|
+
|
7
|
+
Scenario Outline: AC-01a Create NON processable app with welsh flag and add ensure it exists in domain
|
8
|
+
When I create a "non-processable" "<Transaction Type>" application with "is_welsh_language" flag
|
9
|
+
Then the application exists within the database
|
10
|
+
And the application has welsh language preference
|
11
|
+
Examples:
|
12
|
+
| Transaction Type |
|
13
|
+
| UODL V2 TYR |
|
14
|
+
| UODL V2 REP |
|
15
|
+
| UODL V2 DUP |
|
16
|
+
| UODL V2 COP |
|
17
|
+
| UODL V2 EXC |
|
18
|
+
| UODL V3 TYR |
|
19
|
+
| UODL V3 REP |
|
20
|
+
| UODL V3 DUP |
|
21
|
+
| UODL V3 COP |
|
22
|
+
| UODL V3 EXC |
|
23
|
+
|
24
|
+
Scenario Outline: AC-02a Create NON processable app with passport photo flag and ensure it exists in domain
|
25
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_passport_image" flag
|
26
|
+
Then the application exists within the database
|
27
|
+
And the application has a Passport image
|
28
|
+
Examples:
|
29
|
+
| Transaction Type |
|
30
|
+
| UODL V2 TYR |
|
31
|
+
| UODL V2 COP |
|
32
|
+
| UODL V3 TYR |
|
33
|
+
| UODL V3 COP |
|
34
|
+
|
35
|
+
Scenario Outline: AC-02c Create NON processable EXC app with passport images flag and ensure it exists in domain
|
36
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_passport_images" flag
|
37
|
+
Then the application exists within the database
|
38
|
+
And the application has Passport images
|
39
|
+
Examples:
|
40
|
+
| Transaction Type |
|
41
|
+
| UODL V2 EXC |
|
42
|
+
| UODL V3 EXC |
|
43
|
+
|
44
|
+
Scenario Outline: AC-02e Create NON processable EXC app with a home office comparison photo
|
45
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_home_office_comparison_photo" flag
|
46
|
+
Then the application exists within the database
|
47
|
+
And the application has a Home Office image
|
48
|
+
Examples:
|
49
|
+
| Transaction Type |
|
50
|
+
| UODL V2 EXC |
|
51
|
+
| UODL V3 EXC |
|
52
|
+
|
53
|
+
@delete_images
|
54
|
+
Scenario Outline: AC-03a Create NON processable app with unique images flag and add ensure it exists in domain
|
55
|
+
When I create a "non-processable" "<Transaction Type>" application with "unique_images" flag
|
56
|
+
Then the application exists within the database
|
57
|
+
And the application has unique_image_ids <for images>
|
58
|
+
Examples:
|
59
|
+
| Transaction Type | for images |
|
60
|
+
| UODL V2 TYR | for photos |
|
61
|
+
| UODL V2 COP | for photos |
|
62
|
+
| UODL V2 EXC | for photos and signatures |
|
63
|
+
| UODL V3 TYR | for photos |
|
64
|
+
| UODL V3 COP | for photos |
|
65
|
+
| UODL V3 EXC | for photos and signatures |
|
66
|
+
|
67
|
+
Scenario Outline: AC-03c NON processable app which contains the static_image ids
|
68
|
+
When I create a "non-processable" "<Transaction Type>" application
|
69
|
+
Then the application exists within the database
|
70
|
+
And the application has static_image_ids <for images>
|
71
|
+
Examples:
|
72
|
+
| Transaction Type | for images |
|
73
|
+
| UODL V2 TYR | for photos |
|
74
|
+
| UODL V2 COP | for photos |
|
75
|
+
| UODL V2 EXC | for photos and signatures |
|
76
|
+
| UODL V3 TYR | for photos |
|
77
|
+
| UODL V3 COP | for photos |
|
78
|
+
| UODL V3 EXC | for photos and signatures |
|
79
|
+
|
80
|
+
Scenario Outline: AC-04a Create NON processable app with_user_image flag and add it into domain
|
81
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_user_image" flag
|
82
|
+
Then the application exists within the database
|
83
|
+
And the application has a User image
|
84
|
+
Examples:
|
85
|
+
| Transaction Type |
|
86
|
+
| UODL V2 TYR |
|
87
|
+
| UODL V2 COP |
|
88
|
+
| UODL V3 TYR |
|
89
|
+
| UODL V3 COP |
|
90
|
+
|
91
|
+
Scenario Outline: AC-06a Create NON processable app with 'with_bfpo_address' and add it into domain
|
92
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_bfpo_address" flag
|
93
|
+
Then the application exists within the database
|
94
|
+
And the application contains a BFPO address
|
95
|
+
Examples:
|
96
|
+
| Transaction Type |
|
97
|
+
| UODL V2 TYR |
|
98
|
+
| UODL V2 COP |
|
99
|
+
| UODL V2 EXC |
|
100
|
+
| UODL V3 TYR |
|
101
|
+
| UODL V3 COP |
|
102
|
+
| UODL V3 EXC |
|
103
|
+
|
104
|
+
Scenario Outline: AC-07a Create NON processable app with 'with_free_key_address' and add it into domain
|
105
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_free_key_address" flag
|
106
|
+
Then the application exists within the database
|
107
|
+
And the application contains a Free Key address
|
108
|
+
Examples:
|
109
|
+
| Transaction Type |
|
110
|
+
| UODL V2 TYR |
|
111
|
+
| UODL V2 REP |
|
112
|
+
| UODL V2 DUP |
|
113
|
+
| UODL V2 COP |
|
114
|
+
| UODL V2 EXC |
|
115
|
+
| UODL V3 TYR |
|
116
|
+
| UODL V3 REP |
|
117
|
+
| UODL V3 DUP |
|
118
|
+
| UODL V3 COP |
|
119
|
+
| UODL V3 EXC |
|
120
|
+
|
121
|
+
# This test can only be run as non-processable as the validator will always fail processable apps with invalid ids (we use a few static ids to pass through validation hook)
|
122
|
+
Scenario Outline: AC-08 Create NON processable app with 'with_driver_id' and add it into domain
|
123
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_driver_id" flag
|
124
|
+
Then the application exists within the database
|
125
|
+
And the application contains the driver_id in the product_id
|
126
|
+
Examples:
|
127
|
+
| Transaction Type |
|
128
|
+
| UODL V2 TYR |
|
129
|
+
| UODL V2 REP |
|
130
|
+
| UODL V2 DUP |
|
131
|
+
| UODL V2 COP |
|
132
|
+
| UODL V2 EXC |
|
133
|
+
| UODL V3 TYR |
|
134
|
+
| UODL V3 REP |
|
135
|
+
| UODL V3 DUP |
|
136
|
+
| UODL V3 COP |
|
137
|
+
| UODL V3 EXC |
|
138
|
+
|
139
|
+
Scenario Outline: AC-09a Create NON processable app with 'set_no_fee_application' and add it into domain
|
140
|
+
When I create a "non-processable" "<Transaction Type>" application with "set_no_fee_application" flag
|
141
|
+
Then the application exists within the database
|
142
|
+
And the application no fee flag is set to true
|
143
|
+
Examples:
|
144
|
+
| Transaction Type |
|
145
|
+
| UODL V2 TYR |
|
146
|
+
| UODL V3 TYR |
|
147
|
+
|
148
|
+
Scenario Outline: AC-10a Create NON processable app with 'has_phone_number' and add it into domain
|
149
|
+
When I create a "non-processable" "<Transaction Type>" application with "has_phone_number" flag
|
150
|
+
Then the application exists within the database
|
151
|
+
And the application contains a phone number
|
152
|
+
Examples:
|
153
|
+
| Transaction Type |
|
154
|
+
| UODL V2 TYR |
|
155
|
+
| UODL V2 REP |
|
156
|
+
| UODL V2 DUP |
|
157
|
+
| UODL V2 COP |
|
158
|
+
| UODL V2 EXC |
|
159
|
+
| UODL V3 TYR |
|
160
|
+
| UODL V3 REP |
|
161
|
+
| UODL V3 DUP |
|
162
|
+
| UODL V3 COP |
|
163
|
+
| UODL V3 EXC |
|
164
|
+
|
165
|
+
Scenario Outline: AC-11a Create NON processable app with 'with_customer_id' and add it into domain
|
166
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_customer_id" flag
|
167
|
+
Then the application exists within the database
|
168
|
+
And the application contains the seeded customer id
|
169
|
+
Examples:
|
170
|
+
| Transaction Type |
|
171
|
+
| UODL V2 TYR |
|
172
|
+
| UODL V2 REP |
|
173
|
+
| UODL V2 DUP |
|
174
|
+
| UODL V2 COP |
|
175
|
+
| UODL V2 EXC |
|
176
|
+
| UODL V3 TYR |
|
177
|
+
| UODL V3 REP |
|
178
|
+
| UODL V3 DUP |
|
179
|
+
| UODL V3 COP |
|
180
|
+
| UODL V3 EXC |
|
181
|
+
|
182
|
+
Scenario Outline: AC-12a Create NON processable app with 'is_organ_donor' and add it into domain
|
183
|
+
Given organ_donation is set to <organ_donation>
|
184
|
+
When I create a "non-processable" "<Transaction Type>" application with "is_organ_donor" flag
|
185
|
+
Then the application exists within the database
|
186
|
+
And the application any_organs field is <organ_donation>
|
187
|
+
Examples:
|
188
|
+
| Transaction Type | organ_donation |
|
189
|
+
| UODL V2 TYR | true |
|
190
|
+
| UODL V2 TYR | false |
|
191
|
+
| UODL V2 REP | true |
|
192
|
+
| UODL V2 REP | false |
|
193
|
+
| UODL V2 DUP | true |
|
194
|
+
| UODL V2 DUP | false |
|
195
|
+
| UODL V2 COP | true |
|
196
|
+
| UODL V2 COP | false |
|
197
|
+
| UODL V2 EXC | true |
|
198
|
+
| UODL V2 EXC | false |
|
199
|
+
| UODL V3 TYR | true |
|
200
|
+
| UODL V3 TYR | false |
|
201
|
+
| UODL V3 REP | true |
|
202
|
+
| UODL V3 REP | false |
|
203
|
+
| UODL V3 DUP | true |
|
204
|
+
| UODL V3 DUP | false |
|
205
|
+
| UODL V3 COP | true |
|
206
|
+
| UODL V3 COP | false |
|
207
|
+
| UODL V3 EXC | true |
|
208
|
+
| UODL V3 EXC | false |
|
209
|
+
|
210
|
+
Scenario Outline: AC-13a Create NON processable app with 'with_payments' and add it into domain
|
211
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_payments" flag
|
212
|
+
Then the application exists within the database
|
213
|
+
And the application contains the seeded payment
|
214
|
+
Examples:
|
215
|
+
| Transaction Type |
|
216
|
+
| UODL V2 TYR |
|
217
|
+
| UODL V2 DUP |
|
218
|
+
| UODL V2 COP |
|
219
|
+
| UODL V2 EXC |
|
220
|
+
| UODL V3 TYR |
|
221
|
+
| UODL V3 DUP |
|
222
|
+
| UODL V3 COP |
|
223
|
+
| UODL V3 EXC |
|
224
|
+
|
225
|
+
Scenario Outline: AC-14a Create NON processable app with 'with_applicant' and add it into domain
|
226
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_applicant" flag
|
227
|
+
Then the application exists within the database
|
228
|
+
And the application contains the seeded applicant
|
229
|
+
Examples:
|
230
|
+
| Transaction Type |
|
231
|
+
| UODL V2 TYR |
|
232
|
+
| UODL V2 REP |
|
233
|
+
| UODL V2 DUP |
|
234
|
+
| UODL V2 COP |
|
235
|
+
| UODL V2 EXC |
|
236
|
+
| UODL V3 TYR |
|
237
|
+
| UODL V3 REP |
|
238
|
+
| UODL V3 DUP |
|
239
|
+
| UODL V3 COP |
|
240
|
+
| UODL V3 EXC |
|
241
|
+
|
242
|
+
Scenario Outline: AC-15a Create NON processable app with 'with_change_of_address' and add it into domain
|
243
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_change_of_address" flag
|
244
|
+
Then the application exists within the database
|
245
|
+
And the application contains the driving licence action updateAddress
|
246
|
+
Examples:
|
247
|
+
| Transaction Type |
|
248
|
+
| UODL V2 TYR |
|
249
|
+
| UODL V2 REP |
|
250
|
+
| UODL V2 DUP |
|
251
|
+
| UODL V2 COP |
|
252
|
+
| UODL V2 EXC |
|
253
|
+
| UODL V3 TYR |
|
254
|
+
| UODL V3 REP |
|
255
|
+
| UODL V3 DUP |
|
256
|
+
| UODL V3 COP |
|
257
|
+
| UODL V3 EXC |
|
258
|
+
|
259
|
+
Scenario Outline: AC-17a Create NON processable app with 'with_application_status' and add it into domain
|
260
|
+
Given I want the application to have the specific status of "<app status>"
|
261
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_application_status" flag
|
262
|
+
Then the application exists within the database
|
263
|
+
And the application status matches "<app status>"
|
264
|
+
Examples:
|
265
|
+
| Transaction Type | app status |
|
266
|
+
| UODL V2 TYR | Started |
|
267
|
+
| UODL V2 TYR | Received |
|
268
|
+
| UODL V2 TYR | Payment settlement requested |
|
269
|
+
| UODL V2 TYR | Preparing |
|
270
|
+
| UODL V2 TYR | Submitted |
|
271
|
+
| UODL V2 TYR | Approved |
|
272
|
+
| UODL V2 TYR | Returned |
|
273
|
+
| UODL V2 TYR | Unapproved |
|
274
|
+
| UODL V2 TYR | Rejected |
|
275
|
+
| UODL V2 TYR | Cancelled |
|
276
|
+
| UODL V2 TYR | Deleted |
|
277
|
+
| UODL V2 REP | Started |
|
278
|
+
| UODL V2 REP | Received |
|
279
|
+
| UODL V2 REP | Preparing |
|
280
|
+
| UODL V2 REP | Submitted |
|
281
|
+
| UODL V2 REP | Approved |
|
282
|
+
| UODL V2 REP | Returned |
|
283
|
+
| UODL V2 REP | Unapproved |
|
284
|
+
| UODL V2 REP | Rejected |
|
285
|
+
| UODL V2 REP | Cancelled |
|
286
|
+
| UODL V2 REP | Deleted |
|
287
|
+
| UODL V2 DUP | Started |
|
288
|
+
| UODL V2 DUP | Received |
|
289
|
+
| UODL V2 DUP | Payment settlement requested |
|
290
|
+
| UODL V2 DUP | Preparing |
|
291
|
+
| UODL V2 DUP | Submitted |
|
292
|
+
| UODL V2 DUP | Approved |
|
293
|
+
| UODL V2 DUP | Returned |
|
294
|
+
| UODL V2 DUP | Unapproved |
|
295
|
+
| UODL V2 DUP | Rejected |
|
296
|
+
| UODL V2 DUP | Cancelled |
|
297
|
+
| UODL V2 DUP | Deleted |
|
298
|
+
| UODL V2 EXC | Started |
|
299
|
+
| UODL V2 EXC | Received |
|
300
|
+
| UODL V2 EXC | Payment settlement requested |
|
301
|
+
| UODL V2 EXC | Preparing |
|
302
|
+
| UODL V2 EXC | Submitted |
|
303
|
+
| UODL V2 EXC | Approved |
|
304
|
+
| UODL V2 EXC | Returned |
|
305
|
+
| UODL V2 EXC | Unapproved |
|
306
|
+
| UODL V2 EXC | Rejected |
|
307
|
+
| UODL V2 EXC | Cancelled |
|
308
|
+
| UODL V2 EXC | Deleted |
|
309
|
+
| UODL V3 TYR | Started |
|
310
|
+
| UODL V3 TYR | Received |
|
311
|
+
| UODL V3 TYR | Payment settlement requested |
|
312
|
+
| UODL V3 TYR | Preparing |
|
313
|
+
| UODL V3 TYR | Submitted |
|
314
|
+
| UODL V3 TYR | Approved |
|
315
|
+
| UODL V3 TYR | Returned |
|
316
|
+
| UODL V3 TYR | Unapproved |
|
317
|
+
| UODL V3 TYR | Rejected |
|
318
|
+
| UODL V3 TYR | Cancelled |
|
319
|
+
| UODL V3 TYR | Deleted |
|
320
|
+
| UODL V3 REP | Started |
|
321
|
+
| UODL V3 REP | Received |
|
322
|
+
| UODL V3 REP | Preparing |
|
323
|
+
| UODL V3 REP | Submitted |
|
324
|
+
| UODL V3 REP | Approved |
|
325
|
+
| UODL V3 REP | Returned |
|
326
|
+
| UODL V3 REP | Unapproved |
|
327
|
+
| UODL V3 REP | Rejected |
|
328
|
+
| UODL V3 REP | Cancelled |
|
329
|
+
| UODL V3 REP | Deleted |
|
330
|
+
| UODL V3 DUP | Started |
|
331
|
+
| UODL V3 DUP | Received |
|
332
|
+
| UODL V3 DUP | Payment settlement requested |
|
333
|
+
| UODL V3 DUP | Preparing |
|
334
|
+
| UODL V3 DUP | Submitted |
|
335
|
+
| UODL V3 DUP | Approved |
|
336
|
+
| UODL V3 DUP | Returned |
|
337
|
+
| UODL V3 DUP | Unapproved |
|
338
|
+
| UODL V3 DUP | Rejected |
|
339
|
+
| UODL V3 DUP | Cancelled |
|
340
|
+
| UODL V3 DUP | Deleted |
|
341
|
+
| UODL V3 EXC | Started |
|
342
|
+
| UODL V3 EXC | Received |
|
343
|
+
| UODL V3 EXC | Payment settlement requested |
|
344
|
+
| UODL V3 EXC | Preparing |
|
345
|
+
| UODL V3 EXC | Submitted |
|
346
|
+
| UODL V3 EXC | Approved |
|
347
|
+
| UODL V3 EXC | Returned |
|
348
|
+
| UODL V3 EXC | Unapproved |
|
349
|
+
| UODL V3 EXC | Rejected |
|
350
|
+
| UODL V3 EXC | Cancelled |
|
351
|
+
| UODL V3 EXC | Deleted |
|
352
|
+
|
353
|
+
# UODL V2/V3 specific
|
354
|
+
Scenario Outline: AC-18a Create NON processable COP app and add it into domain
|
355
|
+
When I create a "non-processable" "<Transaction Type>" application with "<flag>" flag
|
356
|
+
Then the application exists within the database
|
357
|
+
And the application contains the customer context for "Change of photo"
|
358
|
+
Examples:
|
359
|
+
| Transaction Type | flag |
|
360
|
+
| UODL V2 COP | |
|
361
|
+
| UODL V3 COP | |
|
362
|
+
| UODL V2 | change_of_photo |
|
363
|
+
|
364
|
+
Scenario Outline: AC-19a Create NON processable app with 'extend_application_deadline' and add it into domain
|
365
|
+
When I create a "non-processable" "<Transaction Type>" application with "extend_application_deadline" flag
|
366
|
+
Then the application exists within the database
|
367
|
+
And the application contains the call to action field
|
368
|
+
Examples:
|
369
|
+
| Transaction Type |
|
370
|
+
| UODL V2 TYR |
|
371
|
+
| UODL V2 REP |
|
372
|
+
| UODL V2 DUP |
|
373
|
+
| UODL V2 COP |
|
374
|
+
| UODL V2 EXC |
|
375
|
+
| UODL V3 TYR |
|
376
|
+
| UODL V3 REP |
|
377
|
+
| UODL V3 DUP |
|
378
|
+
| UODL V3 COP |
|
379
|
+
| UODL V3 EXC |
|
380
|
+
|
381
|
+
# UODL V2 specific, flag can only be updated with non-processable
|
382
|
+
Scenario Outline: AC-20a Create NON processable app with_driving_licence_actions and add ensure it exists in domain
|
383
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_driving_licence_actions" flag
|
384
|
+
Then the application exists within the database
|
385
|
+
And the application has the correct driving licence action
|
386
|
+
Examples:
|
387
|
+
| Transaction Type |
|
388
|
+
| UODL V2 TYR |
|
389
|
+
| UODL V2 REP |
|
390
|
+
| UODL V2 DUP |
|
391
|
+
| UODL V2 COP |
|
392
|
+
| UODL V2 EXC |
|
393
|
+
|
394
|
+
Scenario Outline: AC-21a Create NON processable app with 'with_product_type' and add it into domain
|
395
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_product_type" flag
|
396
|
+
Then the application exists within the database
|
397
|
+
And the application contains the product type
|
398
|
+
Examples:
|
399
|
+
| Transaction Type |
|
400
|
+
| UODL V2 TYR |
|
401
|
+
| UODL V2 REP |
|
402
|
+
| UODL V2 DUP |
|
403
|
+
| UODL V2 COP |
|
404
|
+
| UODL V2 EXC |
|
405
|
+
|
406
|
+
# UODL V2 specific
|
407
|
+
Scenario Outline: AC-22a-i Create NON processable app eligible_paper_to_plastic and add ensure it exists in domain
|
408
|
+
When I create a "non-processable" "<Transaction Type>" application with "eligible_paper_to_plastic" flag
|
409
|
+
Then the application exists within the database
|
410
|
+
And the application has the "inform-paper-to-plastic" eligibility
|
411
|
+
Examples:
|
412
|
+
| Transaction Type |
|
413
|
+
| UODL V2 REP |
|
414
|
+
| UODL V2 DUP |
|
415
|
+
| UODL V3 REP |
|
416
|
+
| UODL V3 DUP |
|
417
|
+
|
418
|
+
# UODL V2 specific
|
419
|
+
@DL-14674
|
420
|
+
Scenario Outline: AC-22a-ii Create NON processable app with_paper_to_plastic_driver_id and add ensure it exists in domain
|
421
|
+
When I create a "non-processable" "<Transaction Type>" application with "with_paper_to_plastic_driver_id" flag
|
422
|
+
Then the application exists within the database
|
423
|
+
And the application has the "inform-paper-to-plastic" eligibility
|
424
|
+
And the application contains the driver_id in the product_id for <application type>
|
425
|
+
Examples:
|
426
|
+
| Transaction Type | application type |
|
427
|
+
| UODL V2 REP | paper-rep |
|
428
|
+
| UODL V2 DUP | paper-dup |
|
429
|
+
| UODL V3 REP | paper-rep |
|
430
|
+
| UODL V3 DUP | paper-dup |
|
431
|
+
|
432
|
+
Scenario Outline: AC-23a Create NON processable EXC app correctly and ensure it exists in domain
|
433
|
+
When I create a "non-processable" "<Transaction Type>" application
|
434
|
+
Then the application exists within the database
|
435
|
+
And the application has the "inform-paper-to-plastic" eligibility
|
436
|
+
And the application contains the customer context for "Paper to photocard"
|
437
|
+
And the application has a reference number starting with "EX"
|
438
|
+
Examples:
|
439
|
+
| Transaction Type |
|
440
|
+
| UODL V2 EXC |
|
441
|
+
| UODL V3 EXC |
|