@suffolklitlab/alkiln 5.0.2-feat-github-server-6 → 5.0.2-feat-github-server-7

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.
Files changed (46) hide show
  1. package/.github/workflows/github_server.yml +1 -1
  2. package/CONTRIBUTING.md +1 -1
  3. package/docassemble/setup.py +61 -0
  4. package/github_server/action.yml +2 -2
  5. package/lib/scope.js +1 -2
  6. package/package.json +1 -1
  7. package/setup.py +2 -2
  8. package/docassemble/ALKiln/__init__.py +0 -1
  9. package/docassemble/ALKiln/data/questions/AL_tests.yml +0 -40
  10. package/docassemble/ALKiln/data/questions/all_tests.yml +0 -312
  11. package/docassemble/ALKiln/data/questions/test.yml +0 -14
  12. package/docassemble/ALKiln/data/questions/test_date_and_time.yml +0 -34
  13. package/docassemble/ALKiln/data/questions/test_decoding.yml +0 -101
  14. package/docassemble/ALKiln/data/questions/test_kickout.yml +0 -37
  15. package/docassemble/ALKiln/data/questions/test_languages.yml +0 -26
  16. package/docassemble/ALKiln/data/questions/test_longest_filepath.yml +0 -19
  17. package/docassemble/ALKiln/data/questions/test_loops.yml +0 -66
  18. package/docassemble/ALKiln/data/questions/test_missing_var_error_screen.yml +0 -9
  19. package/docassemble/ALKiln/data/questions/test_random_input.yml +0 -83
  20. package/docassemble/ALKiln/data/questions/test_secret_vars.yml +0 -32
  21. package/docassemble/ALKiln/data/questions/test_signature.yml +0 -25
  22. package/docassemble/ALKiln/data/questions/test_taps.yml +0 -43
  23. package/docassemble/ALKiln/data/questions/test_trigger.yml +0 -25
  24. package/docassemble/ALKiln/data/questions/url_args.yml +0 -33
  25. package/docassemble/ALKiln/data/sources/README.md +0 -4
  26. package/docassemble/ALKiln/data/sources/ar.xlsx +0 -0
  27. package/docassemble/ALKiln/data/sources/assembly_line.feature +0 -43
  28. package/docassemble/ALKiln/data/sources/es.xlsx +0 -0
  29. package/docassemble/ALKiln/data/sources/establishing_steps.feature +0 -62
  30. package/docassemble/ALKiln/data/sources/example_test.feature +0 -11
  31. package/docassemble/ALKiln/data/sources/filepaths.feature +0 -9
  32. package/docassemble/ALKiln/data/sources/interactive_steps.feature +0 -172
  33. package/docassemble/ALKiln/data/sources/languages.feature +0 -36
  34. package/docassemble/ALKiln/data/sources/observation_steps.feature +0 -174
  35. package/docassemble/ALKiln/data/sources/random_input.feature +0 -36
  36. package/docassemble/ALKiln/data/sources/reload.feature +0 -155
  37. package/docassemble/ALKiln/data/sources/reports.feature +0 -574
  38. package/docassemble/ALKiln/data/sources/some_png_1.png +0 -0
  39. package/docassemble/ALKiln/data/sources/some_png_2.png +0 -0
  40. package/docassemble/ALKiln/data/sources/story_table_formats.feature +0 -125
  41. package/docassemble/ALKiln/data/sources/story_tables.feature +0 -139
  42. package/docassemble/ALKiln/data/static/README.md +0 -4
  43. package/docassemble/ALKiln/data/static/styles.css +0 -46
  44. package/docassemble/ALKiln/data/templates/README.md +0 -3
  45. package/docassemble/ALKiln/data/templates/simple.pdf +0 -0
  46. package/tmp.bash +0 -7
@@ -1,574 +0,0 @@
1
- @reports
2
- Feature: Reports show the right things
3
-
4
- # rf for report failing
5
- # rw for report warning
6
- # rp for report pass
7
-
8
- # ===============================
9
- # Reports for "failed" Scenarios
10
- # ===============================
11
-
12
- # ---- Exceptions in steps.js ----
13
-
14
- # @rf1 removed because it was outdated
15
-
16
- ## This screen has not yet been created in the testing interview
17
- #@fast @rf2 @error
18
- #Scenario: Fail with found no page id
19
- # Given the final Scenario status should be "failed"
20
- # Given the Scenario report should include:
21
- # """
22
- # Did not find any question id.
23
- # """
24
- # And I start the interview at "all_tests"
25
- # Then the question id should be "any question id"
26
-
27
- @fast @rf3 @error
28
- Scenario: Fail with wrong page id
29
- Given the final Scenario status should be "failed"
30
- Given the Scenario report should include:
31
- """
32
- The question id was supposed to be
33
- """
34
- And I start the interview at "all_tests"
35
- Then the question id should be "wrong question id"
36
-
37
- @fast @rf4 @error
38
- Scenario: Fail with a missing phrase
39
- Given the final Scenario status should be "failed"
40
- Given the Scenario report should include:
41
- """
42
- SHOULD be on this page, but it's NOT
43
- """
44
- And I start the interview at "all_tests"
45
- Then I SHOULD see the phrase "phrase missing"
46
-
47
- @fast @rf5 @error
48
- Scenario: Fail with incorrectly present phrase
49
- Given the final Scenario status should be "failed"
50
- Given the Scenario report should include:
51
- """
52
- should NOT be on this page, but it IS here
53
- """
54
- And I start the interview at "all_tests"
55
- Then I should NOT see the phrase "e"
56
-
57
- @fast @rf6 @error
58
- Scenario: Fail with missing element id
59
- Given the final Scenario status should be "failed"
60
- Given the Scenario report should include:
61
- """
62
- No element on this page has the ID
63
- """
64
- And I start the interview at "all_tests"
65
- Then an element should have the id "wrong element id"
66
-
67
- @fast @rf7 @error
68
- Scenario: Fail with unexpectedly able to continue
69
- Given the final Scenario status should be "failed"
70
- Given the Scenario report should include:
71
- """
72
- The page should have stopped the user from continuing, but the user was able to continue.
73
- """
74
- And I start the interview at "all_tests"
75
- Then the question id should be "upload files"
76
- And I tap to continue
77
- Then I can't continue
78
-
79
- @fast @rf8 @error
80
- Scenario: Fail with missing error message
81
- Given the final Scenario status should be "failed"
82
- Given the Scenario report should include:
83
- """
84
- No error message was found on the page
85
- """
86
- And I start the interview at "all_tests"
87
- And I will be told an answer is invalid
88
-
89
- ## Not sure how to trigger this at the moment
90
- #@fast @rf9 @error
91
- #Scenario: Fail with missing user error message
92
- # Given the final Scenario status should be "failed"
93
- # Given the Scenario report should include:
94
- # """
95
- # The error was a system error, not an error message to the user.
96
- # """
97
- # And I start the interview at "all_tests"
98
- # And I will be told an answer is invalid
99
-
100
- # TODO: Check this with validation code failure too
101
- @fast @rf10 @error
102
- Scenario: Fail with was unexpectedly not able to continue for invalid field input message
103
- Given the final Scenario status should be "failed"
104
- Given the Scenario report should include:
105
- """
106
- User did not arrive at the next page.
107
- """
108
- And I start the interview at "all_tests"
109
- And I tap to continue
110
- And I tap to continue
111
- And I tap to continue
112
- Then I arrive at the next page
113
-
114
- @fast @rf11 @error
115
- Scenario: Fail with link text not visible
116
- Given the final Scenario status should be "failed"
117
- Given the Scenario report should include:
118
- """
119
- Cannot find a link with the text
120
- """
121
- And I start the interview at "all_tests"
122
- Then I should see the link "Missing link"
123
-
124
- @fast @rf12 @error
125
- Scenario: Fail with missing link with url
126
- Given the final Scenario status should be "failed"
127
- Given the Scenario report should include:
128
- """
129
- Cannot find a link to
130
- """
131
- And I start the interview at "all_tests"
132
- Then I should see the link to "http://missing-url.com"
133
-
134
- @slow @rf13 @error @table
135
- Scenario: Fail with link with given text does not lead to correct url
136
- Given the final Scenario status should be "failed"
137
- Given the Scenario report should include:
138
- """
139
- Cannot find a link with the text "Link to external page" leading to http://wrong-url.com.
140
- """
141
-   Given I start the interview at "all_tests"
142
- And I tap to continue
143
-   And I get to "showifs" with this data:
144
- | var | value | trigger |
145
- | double_quote_dict["double_quote_key"]['dq_two'] | true | |
146
- | checkboxes_other['checkbox_other_opt_1'] | true | |
147
- | dropdown_test | dropdown_opt_2 | |
148
- | radio_yesno | False | false |
149
- | radio_other | radio_other_opt_3 | |
150
- | single_quote_dict['single_quote_key']['sq_two'] | true | |
151
- | text_input | Regular text input field value | |
152
- | textarea | Multiline text\narea value | |
153
- Then I arrive at the next page
154
-   Then I get to "screen features" with this data:
155
- | var | value | trigger |
156
- | object_checkboxes_test["obj_chkbx_opt_1"] | true | |
157
- | object_dropdown | obj_opt_2 | |
158
- | button_continue | True | |
159
- | buttons_other | button_2 | |
160
- | buttons_yesnomaybe | True | |
161
- And I should see the link to "http://ecosia.org/"
162
- Then the "Link to external page" link leads to "http://wrong-url.com"
163
-
164
- @slow @rf14 @error @table
165
- Scenario: Fail with link unexpectedly opens in same window
166
- Given the final Scenario status should be "failed"
167
- Given the Scenario report should include:
168
- """
169
- The link "Link to external page" does NOT open in the same window
170
- """
171
-   Given I start the interview at "all_tests"
172
- And I tap to continue
173
-   And I get to "showifs" with this data:
174
- | var | value | trigger |
175
- | double_quote_dict["double_quote_key"]['dq_two'] | true | |
176
- | checkboxes_other['checkbox_other_opt_1'] | true | |
177
- | dropdown_test | dropdown_opt_2 | |
178
- | radio_yesno | False | false |
179
- | radio_other | radio_other_opt_3 | |
180
- | single_quote_dict['single_quote_key']['sq_two'] | true | |
181
- | text_input | Regular text input field value | |
182
- | textarea | Multiline text\narea value | |
183
- Then I arrive at the next page
184
-   Then I get to "screen features" with this data:
185
- | var | value | trigger |
186
- | object_checkboxes_test["obj_chkbx_opt_1"] | true | |
187
- | object_dropdown | obj_opt_2 | |
188
- | button_continue | True | |
189
- | buttons_other | button_2 | |
190
- | buttons_yesnomaybe | True | |
191
- And I should see the link to "http://ecosia.org/"
192
- Then the "Link to external page" link opens in the same window
193
-
194
- @fast @rf15 @error @table
195
- Scenario: Fail with link unexpectedly opens in a new window
196
- Given the final Scenario status should be "failed"
197
- Given the Scenario report should include:
198
- """
199
- The link "Link: reload the page" does NOT open in a new window
200
- """
201
-   Given I start the interview at "all_tests"
202
- And I tap to continue
203
-   And I get to "showifs" with this data:
204
- | var | value | trigger |
205
- | double_quote_dict["double_quote_key"]['dq_two'] | true | |
206
- | checkboxes_other['checkbox_other_opt_1'] | true | |
207
- | dropdown_test | dropdown_opt_2 | |
208
- | radio_yesno | False | false |
209
- | radio_other | radio_other_opt_3 | |
210
- | single_quote_dict['single_quote_key']['sq_two'] | true | |
211
- | text_input | Regular text input field value | |
212
- | textarea | Multiline text\narea value | |
213
- Then I arrive at the next page
214
-   Then I get to "screen features" with this data:
215
- | var | value | trigger |
216
- | object_checkboxes_test["obj_chkbx_opt_1"] | true | |
217
- | object_dropdown | obj_opt_2 | |
218
- | button_continue | True | |
219
- | buttons_other | button_2 | |
220
- | buttons_yesnomaybe | True | |
221
- And I should see the link to "http://ecosia.org/"
222
- Then the "Link: reload the page" link opens in a new window
223
-
224
- ## Don't currently have a broken link to test and this Step is not officially supported
225
- #@fast @rf16 @error @table
226
- #Scenario: Fail with link leads to a broken page
227
- # Given the final Scenario status should be "failed"
228
- # Given the Scenario report should include:
229
- # """
230
- # link is broken
231
- # """
232
- #  Given I start the interview at "all_tests"
233
- # And I tap to continue
234
- #  And I get to "showifs" with this data:
235
- # | var | value | trigger |
236
- # | double_quote_dict["double_quote_key"]['dq_two'] | true | |
237
- # | checkboxes_other['checkbox_other_opt_1'] | true | |
238
- # | dropdown_test | dropdown_opt_2 | |
239
- # | radio_yesno | False | false |
240
- # | radio_other | radio_other_opt_3 | |
241
- # | single_quote_dict['single_quote_key']['sq_two'] | true | |
242
- # | text_input | Regular text input field value | |
243
- # | textarea | Multiline text\narea value | |
244
- # Then I arrive at the next page
245
- #  Then I get to "screen features" with this data:
246
- # | var | value | trigger |
247
- # | button_continue | True | |
248
- # | buttons_other | button_2 | |
249
- # | buttons_yesnomaybe | True | |
250
- # And I should see the link to "http://ecosia.org/"
251
- # Then the "Link to external page" link opens a working page
252
-
253
- # 'I tap to continue'
254
- # Tapping to continue should not ever fail for its own sake. We
255
- # have Steps that check the consequences of tapping to continue.
256
-
257
- # Below is test from scope.js, which makes this of place. Maybe this is the
258
- # wrong way to organize things. Or maybe we shouldn't give tests unique ids
259
- # at all.
260
-
261
- # Not testing: missing var independently, missing value independently.
262
- # Cannot auto test that multiple vars get detected because it's not currently
263
- # possible to hand in multiple vars and require that all rows be used, but it
264
- # has been confirmed by hand for now.
265
- @fast @rf17 @error
266
- Scenario: Fail with var not on page
267
- Given the final Scenario status should be "failed"
268
- Given the Scenario report should include:
269
- """
270
- Did not find a field on this page for the variable
271
- """
272
- And the Scenario report should include:
273
- """
274
- Missing variable or variables on page
275
- """
276
- And I start the interview at "all_tests"
277
- And I set the var "missing_var_1" to "missing value 1"
278
-
279
- @fast @rf18 @error
280
- Scenario: Fail with missing term with the given text
281
- Given the final Scenario status should be "failed"
282
- Given the Scenario report should include:
283
- """
284
- The term "wrong term" seems to be missing
285
- """
286
- And I start the interview at "all_tests"
287
- Then I tap the defined text link "wrong term"
288
-
289
- @fast @rf19 @error
290
- Scenario: Fail with cannot find missing document
291
- Given the final Scenario status should be "failed"
292
- Given the Scenario report should include:
293
- """
294
- Cannot find a link to that document
295
- """
296
- And I start the interview at "all_tests"
297
- Then I download "missing-doc.pdf"
298
-
299
-
300
- # ---- Exceptions in scope.js ----
301
-
302
- # This can have a ton of different error messages depending on the DA error
303
- # that was triggered. We'll make do with one for now.
304
- @fast @rf20 @error
305
- Scenario: Fail with system error after Step using wrong file name as trigger
306
- Given the final Scenario status should be "failed"
307
- Given the Scenario report should include:
308
- """
309
- Reference to invalid playground path
310
- """
311
- And I start the interview at "wrong_yaml_filename"
312
-
313
- ## Not sure how to trigger this. I think we'd need the server to be down.
314
- #@fast @rf21 @error
315
- #Scenario: Fail with interview does not load after multiple tries
316
- # Given the final Scenario status should be "failed"
317
- # Given the Scenario report should include:
318
- # """
319
- # The interview at ${ interview_url } did not load after
320
- # """
321
- # And I start the interview at "wrong_yaml_filename"
322
-
323
- @fast @rf22 @table
324
- Scenario: I can't match JSON page var to str
325
- Given the final Scenario status should be "failed"
326
- Given the Scenario report should include:
327
- """
328
- was not equal to the expected value
329
- """
330
- Given I start the interview at "all_tests.yml"
331
-   And I get to "showifs" with this data:
332
- | var | value | trigger |
333
- | double_quote_dict["double_quote_key"]['dq_two'] | true | |
334
- | checkboxes_other['checkbox_other_opt_1'] | true | |
335
- | dropdown_test | dropdown_opt_2 | |
336
- | radio_yesno | False | false |
337
- | radio_other | radio_other_opt_3 | |
338
- | single_quote_dict['single_quote_key']['sq_two'] | true | |
339
- | text_input | Regular text input field value | |
340
- | textarea | Multiline text\narea value | |
341
- | date_input | today | |
342
- Then the text in the JSON variable "dropdown_test" should be
343
- """
344
- wrong_value
345
- """
346
-
347
- @fast @rf22 @signin
348
- Scenario: Fail with wrong email secret name
349
- Given the final Scenario status should be "failed"
350
- Given the Scenario report should include:
351
- """
352
- email address GitHub SECRET
353
- """
354
-   Given I log on with the email "WRONG_EMAIL_NAME" and the password "USER1_PASSWORD"
355
-
356
- @fast @rf23 @signin
357
- Scenario: Fail with wrong password secret name
358
- Given the final Scenario status should be "failed"
359
- Given the Scenario report should include:
360
- """
361
- password GitHub SECRET
362
- """
363
-   Given I sign in with the email "USER1_EMAIL" and the password "WRONG_PASSWORD_NAME"
364
-
365
- @fast @rf24 @signin
366
- Scenario: Fail with 2 wrong signin secret names
367
- Given the final Scenario status should be "failed"
368
- Given the Scenario report should include:
369
- """
370
- email address GitHub SECRET
371
- """
372
- Given the Scenario report should include:
373
- """
374
- password GitHub SECRET
375
- """
376
-   Given I sign in with the email "WRONG_EMAIL_NAME" and the password "WRONG_PASSWORD_NAME"
377
-
378
- @fast @rf25 @upload
379
- Scenario: Fail with could not find files
380
- Given the final Scenario status should be "failed"
381
- Given the Scenario report should include:
382
- """
383
- ALKiln could not find "nonexistant1.pdf", "nonexistant2.pdf"
384
- """
385
- Given I start the interview at "all_tests"
386
- And I upload "nonexistant1.pdf, nonexistant2.pdf" to "upload_files_visible"
387
-
388
- @fast @rf26 @secret @error
389
- Scenario: Fail to find var while keeping value secret
390
- Given the final Scenario status should be "failed"
391
- Given the Scenario report should include:
392
- """
393
- Did not find a field on this page for the variable "missing_var" that could be set to "SECRET_FOR_MISSING_FIELD"
394
- """
395
- And the Scenario report should include:
396
- """
397
- For security, ALKiln will avoid creating a picture of the page for this error.
398
- """
399
- And I start the interview at "test_secret_vars"
400
- And I set the var "missing_var" to the secret "SECRET_FOR_MISSING_FIELD"
401
-
402
-
403
- # scope.js
404
- # I upload "___" to "___"
405
- # No need to test wrong var name
406
- # Test non-existant file?
407
- # How to test non-existant directory?
408
- #
409
- # I sign
410
-
411
-
412
- # ===============================
413
- # Reports for Scenarios with warnings
414
- # ===============================
415
-
416
- @fast @rw1 @warning
417
- Scenario: Warn when there are too many names
418
- Given the Scenario report should include:
419
- """
420
- The name "Uli Udo User Sampson Jr" has more than 4 parts, but 4 is the maximum allowed. The test will set the name to "Uli Udo User Jr"
421
- """
422
- Given I start the interview at "AL_tests"
423
- And I set the name of "users[0]" to "Uli Udo User Sampson Jr"
424
- And I tap to continue
425
-
426
- @rw2 @table @loops
427
- Scenario: Warns about invalid `there_is_another | True` is in a table.
428
- Given the final Scenario status should be "passed"
429
- Given the Scenario report SHOULD include:
430
- """
431
- The attribute `.there_is_another` is invalid in story table tests
432
- """
433
- Given I start the interview at "test_loops.yml"
434
- And the max seconds for each step is 5 seconds
435
- And I set the var "x.there_are_any" to "True"
436
- And I set the var "x[i].name.first" to "AnyPerson1"
437
- And I tap to continue
438
- # Should correctly get to "Name of the “first there is another people” person" question
439
- And I get to "person name" with this data:
440
- | var | value | trigger |
441
- | x[i].name.first | AnyPerson2 | there_are_any_people[1].name.first |
442
- | x.there_is_another | True | there_are_any_people.there_is_another |
443
-
444
-
445
- # ===============================
446
- # Reports for "passed" Scenarios
447
- # ===============================
448
-
449
- @fast @rp1
450
- Scenario: Report still shows page id when I tap to continue without setting any fields
451
- Given the final Scenario status should be "passed"
452
- Given the Scenario report should include:
453
- """
454
- ---------------
455
- Scenario: Report still shows page id when I tap to continue without setting any fields
456
- Tags: @reports @fast @rp1
457
- ---------------
458
- Trying to load the interview
459
- screen id: upload-files
460
- screen id: group-of-complex-fields
461
- | double_quote_dict['double_quote_key']['dq_two'] | true | |
462
- | single_quote_dict['single_quote_key']['sq_two'] | true | |
463
- screen id: direct-standard-fields
464
- | checkboxes_yesno | True | |
465
- | checkboxes_other['checkbox_other_opt_1'] | true | |
466
- | dropdown_test | dropdown_opt_2 | |
467
- | radio_yesno | False | |
468
- | radio_other | radio_other_opt_3 | |
469
- | text_input | Regular text input field value | |
470
- | textarea | Multiline text\narea value | |
471
- screen id: showifs
472
-
473
- """
474
- And I start the interview at "all_tests"
475
- And I tap to continue
476
- # Next page
477
- And I set the var "double_quote_dict['double_quote_key']['dq_two']" to "true"
478
- And I set the var "single_quote_dict['single_quote_key']['sq_two']" to "true"
479
- And I tap to continue
480
- Then the question id should be "direct standard fields"
481
- # Next page
482
- When I set the var "checkboxes_yesno" to "True"
483
- And I set the var "checkboxes_other['checkbox_other_opt_1']" to "true"
484
- And I set the var "dropdown_test" to "dropdown_opt_2"
485
- And I set the var "radio_yesno" to "False"
486
- And I set the var "radio_other" to "radio_other_opt_3"
487
- And I set the var "text_input" to "Regular text input field value"
488
- And I set the var "textarea" to "Multiline text\narea value"
489
- When I tap to continue
490
- # Next page
491
- Then the question id should be "showifs"
492
- When I tap to continue
493
- # Next page
494
- Then the question id should be "object checkboxes"
495
- And I set the var "object_checkboxes_test['obj_chkbx_opt_1']" to "true"
496
- And I set the var "object_dropdown" to "obj_opt_2"
497
- When I tap to continue
498
- # Next page (showifs ID SHOULD BE SHOWN IN REPORT)
499
- Then the question id should be "buttons yesnomaybe"
500
-
501
- @slow @rp2 @table
502
- Scenario: Report lists unused table rows
503
- Given the final Scenario status should be "passed"
504
- Given the Scenario report should include:
505
- """
506
- Unused rows:
507
- | extra_2 | extra 2 | |
508
- | extra_out_of_alphabetical_order | extra 1 | |
509
- """
510
- Given the Scenario report should include:
511
- """
512
- Unused rows:
513
- | extra_3 | extra 3 | |
514
- | extra_4 | extra 4 | |
515
- | extra_5 | extra 5 | |
516
- """
517
- Given the Scenario report should include:
518
- """
519
- Unused rows:
520
- | extra_6 | extra 6 | |
521
- | extra_7 | extra 7 | |
522
- """
523
- And I start the interview at "all_tests"
524
-   And I get to "direct standard fields" with this data:
525
- | var | value | trigger |
526
- | double_quote_dict["double_quote_key"]['dq_two'] | true | |
527
- | single_quote_dict['single_quote_key']['sq_two'] | true | |
528
- | extra_out_of_alphabetical_order | extra 1 | |
529
- | extra_2 | extra 2 | |
530
-   And I get to "showifs" with this data:
531
- | var | value | trigger |
532
- | extra_3 | extra 3 | |
533
- | checkboxes_other['checkbox_other_opt_1'] | true | |
534
- | dropdown_test | dropdown_opt_2 | |
535
- | radio_yesno | False | false |
536
- | extra_4 | extra 4 | |
537
- | radio_other | radio_other_opt_3 | |
538
- | text_input | Regular text input field value | |
539
- | textarea | Multiline text\narea value | |
540
- | extra_5 | extra 5 | |
541
-   Then I get to "screen features" with this data:
542
- | var | value | trigger |
543
- | object_checkboxes_test["obj_chkbx_opt_1"] | true | |
544
- | object_dropdown | obj_opt_2 | |
545
- | extra_6 | extra 6 | |
546
- | extra_7 | extra 7 | |
547
- | button_continue | True | |
548
- | buttons_other | button_2 | |
549
- | buttons_yesnomaybe | True | |
550
-
551
- @fast @rp3 @signin
552
- Scenario: Sign in to server successfully
553
- Given the Scenario report should include:
554
- """
555
- Signed in
556
- """
557
-   Given I sign in with the email "USER1_EMAIL" and the password "USER1_PASSWORD"
558
-
559
- @rp4 @table
560
- Scenario: Passes with no warning when `there_is_another | False` is in a table.
561
- Given the final Scenario status should be "passed"
562
- Given the Scenario report should NOT include:
563
- """
564
- The attribute `.there_is_another` is invalid in story table tests
565
- """
566
- Given I start the interview at "test_loops.yml"
567
- And the max seconds for each step is 5 seconds
568
- And I set the var "x.there_are_any" to "True"
569
- And I set the var "x[i].name.first" to "AnyPerson1"
570
- And I tap to continue
571
- And I get to "person name" with this data:
572
- | var | value | trigger |
573
- | x[i].name.first | AnyPerson2 | there_are_any_people[1].name.first |
574
- | x.there_is_another | False | there_are_any_people.there_is_another |