@suffolklitlab/alkiln 4.10.0 → 4.10.1
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.
- package/.github/workflows/test_tests.yml +6 -4
- package/CHANGELOG.md +6 -0
- package/MANIFEST.in +1 -0
- package/_alkiln-misc_artifacts/unit_tests_logs-2022-12-29 at 02h22m01s457ms UTC.txt +20 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Base64 encoded corner cases are decoded correctly-2022-12-29 at 02h12m20s302ms UTC/report.txt +23 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail to find var while keeping value secret-2022-12-29 at 02h14m21s556ms UTC/report.txt +13 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with 2 wrong signin secret names-2022-12-29 at 02h14m19s733ms UTC/report.txt +12 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with a missing phrase-2022-12-29 at 02h13m42s632ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with cannot find missing document-2022-12-29 at 02h14m13s528ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with could not find files-2022-12-29 at 02h14m20s192ms UTC/report.txt +13 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with error page from random input-2022-12-29 at 02h13m27s716ms UTC/random_answers_screenshots-2022-12-29 at 02h13m28s915ms UTC/random-1672280009244.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with error page from random input-2022-12-29 at 02h13m27s716ms UTC/report.txt +12 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with incorrectly present phrase-2022-12-29 at 02h13m43s918ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with link text not visible-2022-12-29 at 02h13m52s649ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with link unexpectedly opens in a new window-2022-12-29 at 02h14m06s008ms UTC/report.txt +56 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with link unexpectedly opens in same window-2022-12-29 at 02h14m01s128ms UTC/report.txt +56 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with link with given text does not lead to correct url-2022-12-29 at 02h13m55s993ms UTC/report.txt +56 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with missing element id-2022-12-29 at 02h13m45s207ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with missing error message-2022-12-29 at 02h13m48s710ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with missing link with url-2022-12-29 at 02h13m54s329ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with missing term with the given text-2022-12-29 at 02h14m12s071ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with no interview at arbitrary url-2022-12-29 at 02h11m01s999ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with system error after Step using wrong file name as trigger-2022-12-29 at 02h14m15s021ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with unexpectedly able to continue-2022-12-29 at 02h13m46s819ms UTC/report.txt +11 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with var not on page-2022-12-29 at 02h14m10s627ms UTC/report.txt +12 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with was unexpectedly not able to continue for invalid field input message-2022-12-29 at 02h13m50s143ms UTC/report.txt +13 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with wrong email secret name-2022-12-29 at 02h14m18s763ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with wrong password secret name-2022-12-29 at 02h14m19s291ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fails as it doesn't try to 'continue' with a restart button-2022-12-29 at 02h12m22s559ms UTC/report.txt +19 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fails when table has no header row and rows have only one column-2022-12-29 at 02h14m50s261ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fields are listed out of order-2022-12-29 at 02h14m55s580ms UTC/report.txt +103 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I am able to set a custom wait time before an interview has been loaded-2022-12-29 at 02h10m12s300ms UTC/report.txt +6 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I am able to set a custom wait time that allows steps to run longer than the half minute default-2022-12-29 at 02h09m35s267ms UTC/report.txt +6 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I answer randomly till the end twice-2022-12-29 at 02h13m19s494ms UTC/random_answers_screenshots-2022-12-29 at 02h13m20s448ms UTC/random-1672280001009.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I answer randomly till the end twice-2022-12-29 at 02h13m19s494ms UTC/random_answers_screenshots-2022-12-29 at 02h13m20s448ms UTC/random-1672280001551.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I answer randomly till the end twice-2022-12-29 at 02h13m19s494ms UTC/random_answers_screenshots-2022-12-29 at 02h13m20s448ms UTC/random-1672280002244.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I answer randomly till the end twice-2022-12-29 at 02h13m19s494ms UTC/random_answers_screenshots-2022-12-29 at 02h13m20s448ms UTC/random-1672280003073.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I answer randomly till the end twice-2022-12-29 at 02h13m19s494ms UTC/random_answers_screenshots-2022-12-29 at 02h13m20s448ms UTC/random-1672280003428.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I answer randomly till the end twice-2022-12-29 at 02h13m19s494ms UTC/random_answers_screenshots-2022-12-29 at 02h13m24s217ms UTC/random-1672280004868.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I answer randomly till the end twice-2022-12-29 at 02h13m19s494ms UTC/random_answers_screenshots-2022-12-29 at 02h13m24s217ms UTC/random-1672280005425.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I answer randomly till the end twice-2022-12-29 at 02h13m19s494ms UTC/random_answers_screenshots-2022-12-29 at 02h13m24s217ms UTC/random-1672280006159.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I answer randomly till the end twice-2022-12-29 at 02h13m19s494ms UTC/random_answers_screenshots-2022-12-29 at 02h13m24s217ms UTC/random-1672280007028.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I answer randomly till the end twice-2022-12-29 at 02h13m19s494ms UTC/random_answers_screenshots-2022-12-29 at 02h13m24s217ms UTC/random-1672280007371.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I answer randomly till the end twice-2022-12-29 at 02h13m19s494ms UTC/report.txt +21 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I can include .yml in the filename-2022-12-29 at 02h12m39s613ms UTC/report.txt +6 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I can match JSON page var to str-2022-12-29 at 02h12m57s106ms UTC/json_for-showifs-2022-12-29 at 02h12m59s731ms UTC.json +154 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I can match JSON page var to str-2022-12-29 at 02h12m57s106ms UTC/report.txt +33 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I can wait as a first step in a test-2022-12-29 at 02h10m50s651ms UTC/report.txt +5 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I can't match JSON page var to str-2022-12-29 at 02h14m16s014ms UTC/json_for-showifs-2022-12-29 at 02h14m18s373ms UTC.json +154 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I can't match JSON page var to str-2022-12-29 at 02h14m16s014ms UTC/report.txt +37 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I check navigation-2022-12-29 at 02h12m41s028ms UTC/report.txt +54 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I check the pages for accessibility-2022-12-29 at 02h13m02s923ms UTC/report.txt +58 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I fill in random input for 1 page-2022-12-29 at 02h13m17s219ms UTC/random_answers_screenshots-2022-12-29 at 02h13m18s174ms UTC/random-1672279998764.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I fill in random input for 1 page-2022-12-29 at 02h13m17s219ms UTC/report.txt +7 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I fill in random input till the end-2022-12-29 at 02h13m12s258ms UTC/random_answers_screenshots-2022-12-29 at 02h13m13s676ms UTC/random-1672279994312.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I fill in random input till the end-2022-12-29 at 02h13m12s258ms UTC/random_answers_screenshots-2022-12-29 at 02h13m13s676ms UTC/random-1672279994892.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I fill in random input till the end-2022-12-29 at 02h13m12s258ms UTC/random_answers_screenshots-2022-12-29 at 02h13m13s676ms UTC/random-1672279995594.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I fill in random input till the end-2022-12-29 at 02h13m12s258ms UTC/random_answers_screenshots-2022-12-29 at 02h13m13s676ms UTC/random-1672279996542.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I fill in random input till the end-2022-12-29 at 02h13m12s258ms UTC/random_answers_screenshots-2022-12-29 at 02h13m13s676ms UTC/random-1672279996887.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I fill in random input till the end-2022-12-29 at 02h13m12s258ms UTC/report.txt +13 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I get the page's JSON-2022-12-29 at 02h13m00s023ms UTC/report.txt +71 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I have four name parts-2022-12-29 at 02h09m31s566ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I have three name parts-2022-12-29 at 02h09m27s653ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I have two name parts-2022-12-29 at 02h09m21s065ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I observe things on a single page when I arrive-2022-12-29 at 02h12m35s237ms UTC/report.txt +7 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I see user errors_-2022-12-29 at 02h12m37s167ms UTC/report.txt +9 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I set various values-2022-12-29 at 02h11m10s659ms UTC/report.txt +58 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I set various values-2022-12-29 at 02h11m10s659ms UTC/simple-doc.pdf +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I sign in-2022-12-29 at 02h10m54s349ms UTC/report.txt +7 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I take a screenshot-2022-12-29 at 02h13m01s434ms UTC/report.txt +6 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I take a screenshot-2022-12-29 at 02h13m01s434ms UTC/screenshot-some-screenshot-on-upload-files-2022-12-29 at 02h13m02s597ms UTC.jpg +0 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I upload files with a table-2022-12-29 at 02h15m13s490ms UTC/report.txt +19 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I want to go to a full arbitrary url-2022-12-29 at 02h10m58s362ms UTC/report.txt +6 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Interview name includes url args with a wait-2022-12-29 at 02h10m52s195ms UTC/report.txt +6 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Interview name includes url args-2022-12-29 at 02h10m48s849ms UTC/report.txt +6 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Latin-Fail with missing language link-2022-12-29 at 02h13m40s278ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Latin-Fail with wrong page id-2022-12-29 at 02h13m41s379ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Proxy and regular vars are mixed-2022-12-29 at 02h14m51s648ms UTC/report.txt +35 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Report doesn't complain about `there_is_another _ False` in a table_-2022-12-29 at 02h14m36s652ms UTC/report.txt +16 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Report lists unused table rows-2022-12-29 at 02h14m29s563ms UTC/report.txt +65 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Report still shows page id when I tap to continue without setting any fields-2022-12-29 at 02h14m25s620ms UTC/report.txt +22 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Server finishes reloading-2022-12-29 at 02h11m08s477ms UTC/report.txt +6 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Sign in to server successfully-2022-12-29 at 02h14m34s127ms UTC/report.txt +6 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Story table accidentally uses the opposite double or single quotes-2022-12-29 at 02h15m11s462ms UTC/report.txt +18 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Table MISSING trigger column-2022-12-29 at 02h14m41s898ms UTC/report.txt +33 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Table has no header row, MISSING trigger column-2022-12-29 at 02h14m47s483ms UTC/report.txt +33 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Table has no header row, has trigger column-2022-12-29 at 02h14m44s776ms UTC/report.txt +37 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Table has trigger column-2022-12-29 at 02h14m39s081ms UTC/report.txt +37 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Test _Then I cannot continue_-2022-12-29 at 02h12m48s119ms UTC/report.txt +9 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Test _Then I can/342/200/231t continue_ with an apostrophe-2022-12-29 at 02h12m52s553ms UTC/report.txt" +9 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Test _Then I do not continue_-2022-12-29 at 02h12m50s316ms UTC/report.txt +9 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Test _Then I don't continue_ with a single quote-2022-12-29 at 02h12m45s907ms UTC/report.txt +9 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Test _Then I don/342/200/231t continue_ with an apostrophe-2022-12-29 at 02h12m54s800ms UTC/report.txt" +9 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Warn when there are too many names-2022-12-29 at 02h14m22s722ms UTC/report.txt +8 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/debug_log.txt +2373 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/handles settings from Github secrets-2022-12-29 at 02h12m13s413ms UTC/report.txt +19 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/report.txt +1439 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/tap element with an error-2022-12-29 at 02h12m18s853ms UTC/report.txt +10 -0
- package/alkiln-2022-12-29 at 02h09m19s552ms UTC/tap elements-2022-12-29 at 02h12m16s677ms UTC/report.txt +6 -0
- package/docassemble/__init__.py +5 -0
- package/lib/scope.js +45 -28
- package/lib/utils/files.js +1 -1
- package/lib/utils/session_vars.js +5 -3
- package/package.json +4 -4
- package/setup.py +60 -0
- package/tests/features/assembly_line.feature +0 -43
- package/tests/features/establishing_steps.feature +0 -62
- package/tests/features/example_test.feature +0 -11
- package/tests/features/interactive_steps.feature +0 -166
- package/tests/features/observation_steps.feature +0 -153
- package/tests/features/random_input.feature +0 -31
- package/tests/features/reload.feature +0 -155
- package/tests/features/reports.feature +0 -557
- package/tests/features/some_png_1.png +0 -0
- package/tests/features/some_png_2.png +0 -0
- package/tests/features/story_table_formats.feature +0 -125
- package/tests/features/story_tables.feature +0 -91
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
@observation
|
|
2
|
-
Feature: Observational steps
|
|
3
|
-
|
|
4
|
-
# In tag names, 'o' is for 'observational'
|
|
5
|
-
|
|
6
|
-
@fast @o1
|
|
7
|
-
Scenario: I observe things on a single page when I arrive
|
|
8
|
-
Given I start the interview at "all_tests"
|
|
9
|
-
And I tap to continue
|
|
10
|
-
Then the question id should be "group of complex fields"
|
|
11
|
-
And I should see the phrase "Some complex fields"
|
|
12
|
-
And I SHOULD see the phrase "Some complex fields"
|
|
13
|
-
And I should not see the phrase "zzzzzzz"
|
|
14
|
-
And I should NOT see the phrase "zzzzzzz"
|
|
15
|
-
And an element should have the id "daform"
|
|
16
|
-
|
|
17
|
-
@fast @o2
|
|
18
|
-
Scenario: I see user errors.
|
|
19
|
-
# They're everywhere. Some don't even know they are errors.
|
|
20
|
-
Given I start the interview at "all_tests"
|
|
21
|
-
And I tap to continue
|
|
22
|
-
And I tap to continue
|
|
23
|
-
And I tap to continue
|
|
24
|
-
Then I can't continue
|
|
25
|
-
And I will be told an answer is invalid
|
|
26
|
-
|
|
27
|
-
@fast @o3
|
|
28
|
-
Scenario: I can include .yml in the filename
|
|
29
|
-
Given I start the interview at "all_tests.yml"
|
|
30
|
-
|
|
31
|
-
@slow @o4
|
|
32
|
-
Scenario: I check navigation
|
|
33
|
-
Given I start the interview at "all_tests"
|
|
34
|
-
And I tap to continue
|
|
35
|
-
And I get to "showifs" with this data:
|
|
36
|
-
| var | value | trigger |
|
|
37
|
-
| double_quote_dict["double_quote_key"]['dq_two'] | true | |
|
|
38
|
-
| checkboxes_other['checkbox_other_opt_1'] | true | |
|
|
39
|
-
| dropdown_test | dropdown_opt_2 | |
|
|
40
|
-
| radio_yesno | False | false |
|
|
41
|
-
| radio_other | radio_other_opt_3 | |
|
|
42
|
-
| single_quote_dict['single_quote_key']['sq_two'] | true | |
|
|
43
|
-
| text_input | Regular text input field value | |
|
|
44
|
-
| textarea | Multiline text\narea value | |
|
|
45
|
-
| date_input | today | |
|
|
46
|
-
Then I arrive at the next page
|
|
47
|
-
Then I get to "screen features" with this data:
|
|
48
|
-
| var | value | trigger |
|
|
49
|
-
| object_checkboxes_test["obj_chkbx_opt_1"] | True | |
|
|
50
|
-
| object_dropdown | obj_opt_2 | |
|
|
51
|
-
| button_continue | True | |
|
|
52
|
-
| buttons_other | button_2 | |
|
|
53
|
-
| buttons_yesnomaybe | True | |
|
|
54
|
-
And I should see the link to "http://ecosia.org/"
|
|
55
|
-
|
|
56
|
-
@fast @o4
|
|
57
|
-
Scenario: Test "Then I don't continue" with a single quote
|
|
58
|
-
Given I start the interview at "all_tests"
|
|
59
|
-
And I tap to continue
|
|
60
|
-
And I tap to continue
|
|
61
|
-
And I tap to continue
|
|
62
|
-
Then I don't continue
|
|
63
|
-
And I will be told an answer is invalid
|
|
64
|
-
|
|
65
|
-
@fast @o5
|
|
66
|
-
Scenario: Test "Then I cannot continue"
|
|
67
|
-
Given I start the interview at "all_tests"
|
|
68
|
-
And I tap to continue
|
|
69
|
-
And I tap to continue
|
|
70
|
-
And I tap to continue
|
|
71
|
-
Then I cannot continue
|
|
72
|
-
And I will be told an answer is invalid
|
|
73
|
-
|
|
74
|
-
@fast @o6
|
|
75
|
-
Scenario: Test "Then I do not continue"
|
|
76
|
-
Given I start the interview at "all_tests"
|
|
77
|
-
And I tap to continue
|
|
78
|
-
And I tap to continue
|
|
79
|
-
And I tap to continue
|
|
80
|
-
Then I do not continue
|
|
81
|
-
And I will be told an answer is invalid
|
|
82
|
-
|
|
83
|
-
@fast @o7
|
|
84
|
-
Scenario: Test "Then I can’t continue" with an apostrophe
|
|
85
|
-
Given I start the interview at "all_tests"
|
|
86
|
-
And I tap to continue
|
|
87
|
-
And I tap to continue
|
|
88
|
-
And I tap to continue
|
|
89
|
-
Then I can’t continue
|
|
90
|
-
And I will be told an answer is invalid
|
|
91
|
-
|
|
92
|
-
@fast @o8
|
|
93
|
-
Scenario: Test "Then I don’t continue" with an apostrophe
|
|
94
|
-
Given I start the interview at "all_tests"
|
|
95
|
-
And I tap to continue
|
|
96
|
-
And I tap to continue
|
|
97
|
-
And I tap to continue
|
|
98
|
-
Then I don’t continue
|
|
99
|
-
And I will be told an answer is invalid
|
|
100
|
-
|
|
101
|
-
@fast @o9 @table @json
|
|
102
|
-
Scenario: I can match JSON page var to str
|
|
103
|
-
Given I start the interview at "all_tests.yml"
|
|
104
|
-
And I get to "showifs" with this data:
|
|
105
|
-
| var | value | trigger |
|
|
106
|
-
| double_quote_dict["double_quote_key"]['dq_two'] | true | |
|
|
107
|
-
| checkboxes_other['checkbox_other_opt_1'] | true | |
|
|
108
|
-
| dropdown_test | dropdown_opt_2 | |
|
|
109
|
-
| radio_yesno | False | false |
|
|
110
|
-
| radio_other | radio_other_opt_3 | |
|
|
111
|
-
| single_quote_dict['single_quote_key']['sq_two'] | true | |
|
|
112
|
-
| text_input | Regular text input field value | |
|
|
113
|
-
| textarea | Multiline text\narea value | |
|
|
114
|
-
| date_input | today | |
|
|
115
|
-
Then the text in the JSON variable "dropdown_test" should be
|
|
116
|
-
"""
|
|
117
|
-
dropdown_opt_2
|
|
118
|
-
"""
|
|
119
|
-
|
|
120
|
-
# Maybe this one should be in the report tests (as well?)
|
|
121
|
-
@fast @o10 @json
|
|
122
|
-
Scenario: I get the page's JSON
|
|
123
|
-
Given I start the interview at "all_tests"
|
|
124
|
-
Then I get the page's JSON variables and values
|
|
125
|
-
|
|
126
|
-
@fast @o11 @screenshot
|
|
127
|
-
Scenario: I take a screenshot
|
|
128
|
-
Given I start the interview at "all_tests"
|
|
129
|
-
Then I take a screenshot
|
|
130
|
-
Then I take a screenshot named "some-screenshot"
|
|
131
|
-
|
|
132
|
-
@slow @o12 @accessibility @a11y
|
|
133
|
-
Scenario: I check the pages for accessibility
|
|
134
|
-
Given I start the interview at "all_tests"
|
|
135
|
-
And I check all pages for accessibility issues
|
|
136
|
-
And I tap to continue
|
|
137
|
-
Then I get to "screen features" with this data:
|
|
138
|
-
| var | value | trigger |
|
|
139
|
-
| double_quote_dict["double_quote_key"]['dq_two'] | true | |
|
|
140
|
-
| checkboxes_other['checkbox_other_opt_1'] | true | |
|
|
141
|
-
| dropdown_test | dropdown_opt_2 | |
|
|
142
|
-
| radio_yesno | False | false |
|
|
143
|
-
| radio_other | radio_other_opt_3 | |
|
|
144
|
-
| object_checkboxes_test["obj_chkbx_opt_1"] | True | |
|
|
145
|
-
| object_dropdown | obj_opt_2 | |
|
|
146
|
-
| object_select_test | obj_chkbx_opt_2 | |
|
|
147
|
-
| single_quote_dict['single_quote_key']['sq_two'] | true | |
|
|
148
|
-
| text_input | Regular text input field value | |
|
|
149
|
-
| textarea | Multiline text\narea value | |
|
|
150
|
-
| date_input | today | |
|
|
151
|
-
| button_continue | True | |
|
|
152
|
-
| buttons_other | button_2 | |
|
|
153
|
-
| buttons_yesnomaybe | True | |
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
@random_input
|
|
2
|
-
Feature: Assembly Line package-specific Steps
|
|
3
|
-
|
|
4
|
-
# In tag names, 'ri' is for 'random input'
|
|
5
|
-
|
|
6
|
-
@fast @ri1 @random
|
|
7
|
-
Scenario: I fill in random input till the end
|
|
8
|
-
Given I start the interview at "test_random_input"
|
|
9
|
-
And I answer randomly for at most 20 pages
|
|
10
|
-
Then the question id should be "end"
|
|
11
|
-
|
|
12
|
-
@fast @ri2 @random
|
|
13
|
-
Scenario: I fill in random input for 1 page
|
|
14
|
-
Given I start the interview at "test_random_input"
|
|
15
|
-
And I answer randomly for at most 1 page
|
|
16
|
-
|
|
17
|
-
# Should create two unique folders for random step screenshots which
|
|
18
|
-
# must be checked manually
|
|
19
|
-
@fast @ri3 @random
|
|
20
|
-
Scenario: I answer randomly till the end twice
|
|
21
|
-
Given I start the interview at "test_random_input"
|
|
22
|
-
And I answer randomly for at most 50 pages
|
|
23
|
-
Given I start the interview at "test_random_input"
|
|
24
|
-
And I answer randomly for at most 50 pages
|
|
25
|
-
|
|
26
|
-
@fast @ri4 @random @error
|
|
27
|
-
Scenario: Fail with error page from random input
|
|
28
|
-
Given the final Scenario status should be "failed"
|
|
29
|
-
Given I start the interview at "test_missing_var_error_screen"
|
|
30
|
-
And the max seconds for each step in this scenario is 10
|
|
31
|
-
And I answer randomly for at most 3 pages
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
@reload
|
|
2
|
-
Feature: Errors caused by server reload
|
|
3
|
-
|
|
4
|
-
# These can only be run locally one at a time once you uncomment them:
|
|
5
|
-
# 1. Make sure you have two versions of the repo locally and open a terminal window for each of them
|
|
6
|
-
# 2. With one repo, start one specific test
|
|
7
|
-
# 3. Be ready to run the setup step for the 2nd repo
|
|
8
|
-
# 4. Prepatory explanation: With some noted exceptions, when the 1st test is _starting_ its long wait time (which they should each have), start the setup step in the other terminal.
|
|
9
|
-
# 4a. Start the test in the 1st repo. Ex: npm run cucumber -- "--tags" "@reload1"
|
|
10
|
-
# 4b. Wait until the long wait time is just starting (count the number of steps to match the progress dots)
|
|
11
|
-
# 4c. Start the setup in the 2nd repo: npm run setup
|
|
12
|
-
# 5. Make sure the test waits longer than the scope.timeout
|
|
13
|
-
# 6. Make sure the reload error is triggered for the first attempt of the test
|
|
14
|
-
# 7. Make sure the reload error is not present for the second attempt
|
|
15
|
-
# 8. For the second repo: npm run takedown
|
|
16
|
-
|
|
17
|
-
# # Tests that need to be written and run:
|
|
18
|
-
# # Theoretically implemented
|
|
19
|
-
# - [ ] 1. sign in to server with `.sign_in` on two levels:
|
|
20
|
-
# - [x] (throw_after_server_reloads() solved this I think) when navigating to server
|
|
21
|
-
# - [ ] when submitting to log in (impossible to time? they both happen at once)
|
|
22
|
-
# - [x] 2. (waits full time for sign-out page, but I think it's working otherwise) I tap the ... tab (should not cause timeout at all, so should be fine)
|
|
23
|
-
# - [x] 3. tap elements
|
|
24
|
-
# - [x] I tap the ... element$
|
|
25
|
-
# - [ ] (same as above?) I tap the ... element and wait
|
|
26
|
-
# - [x] 4. Set the var of a continue button
|
|
27
|
-
# - [x] I set the var ... (using a button press to continue)
|
|
28
|
-
# - [x] (same as above?) I set the var ... GitHub)? secret (for a button press)
|
|
29
|
-
# - [ ] (same as above? We don't have an interview ready for this yet. Seen notes in 4c) I set the var for a button in a story table
|
|
30
|
-
# - [x] 5. Signing out at end of step
|
|
31
|
-
# - [x] 6. Tap to continue
|
|
32
|
-
# - [x] I tap to continue
|
|
33
|
-
# - [x] In the middle of a story table (basically same as "tap to continue")
|
|
34
|
-
# - [x] 7. Fails both tests
|
|
35
|
-
# - [x] 8. The server does actually finish reloading during the first attempt, so there's only one error printed in the report.
|
|
36
|
-
#
|
|
37
|
-
# # Not yet implemented
|
|
38
|
-
# - [ ] I download
|
|
39
|
-
#
|
|
40
|
-
# Skipping for now because not a documented step yet
|
|
41
|
-
# - [ ] I tap the defined text link
|
|
42
|
-
|
|
43
|
-
## For this scenario, start the server setup before you start running the test and wait till 4th attempt to pull in the code.
|
|
44
|
-
## No screenshots are taken because these are secrets
|
|
45
|
-
#@reload1a
|
|
46
|
-
#Scenario: The server reloads while I navigate to the server sign in page
|
|
47
|
-
# Given the max seconds for each step in this scenario is 5
|
|
48
|
-
# Given I sign in with the email "USER1_EMAIL" and the password "USER1_PASSWORD"
|
|
49
|
-
#
|
|
50
|
-
#@reload1b
|
|
51
|
-
##Scenario: The server reloads while I'm submitting my signin (impossible)
|
|
52
|
-
#
|
|
53
|
-
## Should error after finishing test, but only because can't finish the test by going to the sign out page during server #reload. Sign out page is a necessary evil at the moment to make sure the next test starts fresh.
|
|
54
|
-
#@reload2
|
|
55
|
-
#Scenario: The server reloads while I tap a tab
|
|
56
|
-
# Given I start the interview at "test_taps"
|
|
57
|
-
# And I wait 20 seconds
|
|
58
|
-
# And I tap the "Tests-second_template-tab" tab
|
|
59
|
-
# Then I see the phrase "villify"
|
|
60
|
-
#
|
|
61
|
-
#@reload3a
|
|
62
|
-
#Scenario: The server reloads while I tap an element selector
|
|
63
|
-
# Given I start the interview at "all_tests"
|
|
64
|
-
# And I wait 18 seconds
|
|
65
|
-
# Given the max seconds for each step in this scenario is 5
|
|
66
|
-
# Then I tap the "button.btn.btn-da.btn-primary[type='submit']" element
|
|
67
|
-
#
|
|
68
|
-
##@reload3b
|
|
69
|
-
## Given I start the interview at "all_tests"
|
|
70
|
-
## And I wait 18 seconds
|
|
71
|
-
## Given the max seconds for each step in this scenario is 5
|
|
72
|
-
## Then I tap the "button.btn.btn-da.btn-primary[type='submit']" element and wait 1 seconds
|
|
73
|
-
#
|
|
74
|
-
## Start setup on the 12th dot
|
|
75
|
-
#@reload4a
|
|
76
|
-
#Scenario: The server reloads while I set the var of a continue button
|
|
77
|
-
# Given I start the interview at "all_tests"
|
|
78
|
-
# And I tap to continue
|
|
79
|
-
# And I tap to continue
|
|
80
|
-
# When I set the var "checkboxes_yesno" to "True"
|
|
81
|
-
# And I set the var "checkboxes_other['checkbox_other_opt_1']" to "true"
|
|
82
|
-
# And I set the var "dropdown_test" to "dropdown_opt_2"
|
|
83
|
-
# And I set the var "radio_yesno" to "False"
|
|
84
|
-
# And I set the var "radio_other" to "radio_other_opt_3"
|
|
85
|
-
# And I set the var "text_input" to "Regular text input field value"
|
|
86
|
-
# And I set the var "textarea" to "Multiline text\narea value"
|
|
87
|
-
# And I wait 25 seconds
|
|
88
|
-
# Given the max seconds for each step in this scenario is 5
|
|
89
|
-
# Then I set the var "direct_standard_fields" to "True"
|
|
90
|
-
#
|
|
91
|
-
## You must add the env var `STANDARD_FIELDS`. Otherwise, it's just like @reload4a
|
|
92
|
-
#@reload4b
|
|
93
|
-
#Scenario: The server reloads while I set the var of a continue button
|
|
94
|
-
# Given I start the interview at "all_tests"
|
|
95
|
-
# And I tap to continue
|
|
96
|
-
# And I tap to continue
|
|
97
|
-
# When I set the var "checkboxes_yesno" to "True"
|
|
98
|
-
# And I set the var "checkboxes_other['checkbox_other_opt_1']" to "true"
|
|
99
|
-
# And I set the var "dropdown_test" to "dropdown_opt_2"
|
|
100
|
-
# And I set the var "radio_yesno" to "False"
|
|
101
|
-
# And I set the var "radio_other" to "radio_other_opt_3"
|
|
102
|
-
# And I set the var "text_input" to "Regular text input field value"
|
|
103
|
-
# And I set the var "textarea" to "Multiline text\narea value"
|
|
104
|
-
# And I wait 25 seconds
|
|
105
|
-
# Given the max seconds for each step in this scenario is 5
|
|
106
|
-
# Then I set the var "direct_standard_fields" to the github secret "STANDARD_FIELDS"
|
|
107
|
-
#
|
|
108
|
-
### We don't have an interview set up for this yet. We need one where the _first_ page
|
|
109
|
-
### has a continue button field that sets a variable.
|
|
110
|
-
##@reload4c
|
|
111
|
-
##Scenario: The server reloads while I run a story table
|
|
112
|
-
## Given I start the interview at "all_tests"
|
|
113
|
-
## And I wait 18 seconds
|
|
114
|
-
## Given the max seconds for each step in this scenario is 3
|
|
115
|
-
## And I get to "id of second page" with this data:
|
|
116
|
-
## | var | value | trigger |
|
|
117
|
-
## | some_continue_button_var_on_first_page | true | |
|
|
118
|
-
#
|
|
119
|
-
#@reload5
|
|
120
|
-
#Scenario: The server reloads while signing out
|
|
121
|
-
# Given I start the interview at "all_tests"
|
|
122
|
-
# And I wait 16 seconds
|
|
123
|
-
# Given the max seconds for each step in this scenario is 1
|
|
124
|
-
#
|
|
125
|
-
#@reload6a
|
|
126
|
-
#Scenario: The server reloads while I tap to continue
|
|
127
|
-
# Given I start the interview at "all_tests"
|
|
128
|
-
# And I wait 18 seconds
|
|
129
|
-
# Given the max seconds for each step in this scenario is 3
|
|
130
|
-
# And I tap to continue
|
|
131
|
-
#
|
|
132
|
-
#@reload6b
|
|
133
|
-
#Scenario: The server reloads while I run a story table
|
|
134
|
-
# Given I start the interview at "all_tests"
|
|
135
|
-
# And I wait 18 seconds
|
|
136
|
-
# Given the max seconds for each step in this scenario is 3
|
|
137
|
-
# And I get to "direct standard fields" with this data:
|
|
138
|
-
# | var | value | trigger |
|
|
139
|
-
# | double_quote_dict['double_quote_key']["dq_two"] | true | |
|
|
140
|
-
# | single_quote_dict["single_quote_key"]['sq_two'] | true | |
|
|
141
|
-
#
|
|
142
|
-
## This test might not be necessary. The test run should end in failure and the message should appear in both reports.
|
|
143
|
-
## Run `npm run setup` both times. This will complicate takedown - it creates two projects, so at the end you have to takedown #the current project, which removes the project name in the config, then you have to put the name of the first project into the #config and then run takedown again.
|
|
144
|
-
#@reload7
|
|
145
|
-
#Scenario: The server is reloading in both attempts
|
|
146
|
-
# Given I start the interview at "all_tests"
|
|
147
|
-
# And I wait 22 seconds
|
|
148
|
-
# Given the max seconds for each step in this scenario is 1
|
|
149
|
-
#
|
|
150
|
-
#@reload8
|
|
151
|
-
#Scenario: The server finishes reloading before the first timeout
|
|
152
|
-
# Given I start the interview at "all_tests"
|
|
153
|
-
# And I wait 18 seconds
|
|
154
|
-
# Given the max seconds for each step in this scenario is 30
|
|
155
|
-
# And I tap to continue
|