@suffolklitlab/alkiln 4.10.0 → 4.10.1-pre-cli

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 (131) hide show
  1. package/.github/workflows/test_tests.yml +6 -4
  2. package/CHANGELOG.md +15 -1
  3. package/MANIFEST.in +1 -0
  4. package/_alkiln-misc_artifacts/unit_tests_logs-2022-12-29 at 02h22m01s457ms UTC.txt +20 -0
  5. package/action.yml +7 -34
  6. 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
  7. 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
  8. 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
  9. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with a missing phrase-2022-12-29 at 02h13m42s632ms UTC/report.txt +10 -0
  10. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with cannot find missing document-2022-12-29 at 02h14m13s528ms UTC/report.txt +10 -0
  11. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with could not find files-2022-12-29 at 02h14m20s192ms UTC/report.txt +13 -0
  12. 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
  13. 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
  14. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with incorrectly present phrase-2022-12-29 at 02h13m43s918ms UTC/report.txt +10 -0
  15. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with link text not visible-2022-12-29 at 02h13m52s649ms UTC/report.txt +10 -0
  16. 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
  17. 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
  18. 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
  19. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with missing element id-2022-12-29 at 02h13m45s207ms UTC/report.txt +10 -0
  20. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with missing error message-2022-12-29 at 02h13m48s710ms UTC/report.txt +10 -0
  21. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with missing link with url-2022-12-29 at 02h13m54s329ms UTC/report.txt +10 -0
  22. 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
  23. 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
  24. 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
  25. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with unexpectedly able to continue-2022-12-29 at 02h13m46s819ms UTC/report.txt +11 -0
  26. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with var not on page-2022-12-29 at 02h14m10s627ms UTC/report.txt +12 -0
  27. 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
  28. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with wrong email secret name-2022-12-29 at 02h14m18s763ms UTC/report.txt +10 -0
  29. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fail with wrong password secret name-2022-12-29 at 02h14m19s291ms UTC/report.txt +10 -0
  30. 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
  31. 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
  32. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Fields are listed out of order-2022-12-29 at 02h14m55s580ms UTC/report.txt +103 -0
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I check navigation-2022-12-29 at 02h12m41s028ms UTC/report.txt +54 -0
  53. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I check the pages for accessibility-2022-12-29 at 02h13m02s923ms UTC/report.txt +58 -0
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I get the page's JSON-2022-12-29 at 02h13m00s023ms UTC/report.txt +71 -0
  63. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I have four name parts-2022-12-29 at 02h09m31s566ms UTC/report.txt +10 -0
  64. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I have three name parts-2022-12-29 at 02h09m27s653ms UTC/report.txt +10 -0
  65. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I have two name parts-2022-12-29 at 02h09m21s065ms UTC/report.txt +10 -0
  66. 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
  67. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I see user errors_-2022-12-29 at 02h12m37s167ms UTC/report.txt +9 -0
  68. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I set various values-2022-12-29 at 02h11m10s659ms UTC/report.txt +58 -0
  69. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I set various values-2022-12-29 at 02h11m10s659ms UTC/simple-doc.pdf +0 -0
  70. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I sign in-2022-12-29 at 02h10m54s349ms UTC/report.txt +7 -0
  71. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I take a screenshot-2022-12-29 at 02h13m01s434ms UTC/report.txt +6 -0
  72. 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
  73. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/I upload files with a table-2022-12-29 at 02h15m13s490ms UTC/report.txt +19 -0
  74. 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
  75. 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
  76. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Interview name includes url args-2022-12-29 at 02h10m48s849ms UTC/report.txt +6 -0
  77. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Latin-Fail with missing language link-2022-12-29 at 02h13m40s278ms UTC/report.txt +10 -0
  78. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Latin-Fail with wrong page id-2022-12-29 at 02h13m41s379ms UTC/report.txt +10 -0
  79. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Proxy and regular vars are mixed-2022-12-29 at 02h14m51s648ms UTC/report.txt +35 -0
  80. 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
  81. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Report lists unused table rows-2022-12-29 at 02h14m29s563ms UTC/report.txt +65 -0
  82. 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
  83. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Server finishes reloading-2022-12-29 at 02h11m08s477ms UTC/report.txt +6 -0
  84. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Sign in to server successfully-2022-12-29 at 02h14m34s127ms UTC/report.txt +6 -0
  85. 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
  86. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Table MISSING trigger column-2022-12-29 at 02h14m41s898ms UTC/report.txt +33 -0
  87. 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
  88. 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
  89. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Table has trigger column-2022-12-29 at 02h14m39s081ms UTC/report.txt +37 -0
  90. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Test _Then I cannot continue_-2022-12-29 at 02h12m48s119ms UTC/report.txt +9 -0
  91. 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
  92. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/Test _Then I do not continue_-2022-12-29 at 02h12m50s316ms UTC/report.txt +9 -0
  93. 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
  94. 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
  95. 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
  96. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/debug_log.txt +2373 -0
  97. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/handles settings from Github secrets-2022-12-29 at 02h12m13s413ms UTC/report.txt +19 -0
  98. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/report.txt +1439 -0
  99. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/tap element with an error-2022-12-29 at 02h12m18s853ms UTC/report.txt +10 -0
  100. package/alkiln-2022-12-29 at 02h09m19s552ms UTC/tap elements-2022-12-29 at 02h12m16s677ms UTC/report.txt +6 -0
  101. package/alkiln-2023-01-11 at 19h24m55s354ms UTC/I set various values-2023-01-11 at 19h24m56s530ms UTC/report.txt +27 -0
  102. package/alkiln-2023-01-11 at 19h24m55s354ms UTC/I set various values-2023-01-11 at 19h25m07s611ms UTC/report.txt +27 -0
  103. package/alkiln-2023-01-11 at 19h24m55s354ms UTC/debug_log.txt +262 -0
  104. package/alkiln-2023-01-11 at 19h24m55s354ms UTC/report.txt +60 -0
  105. package/alkiln-2023-01-11 at 19h50m26s510ms UTC/debug_log.txt +224 -0
  106. package/alkiln-2023-01-11 at 19h50m26s510ms UTC/report.txt +22 -0
  107. package/alkiln-2023-01-11 at 19h53m45s106ms UTC/I set various values-2023-01-11 at 19h53m46s085ms UTC/report.txt +27 -0
  108. package/alkiln-2023-01-11 at 19h53m45s106ms UTC/I set various values-2023-01-11 at 19h53m57s482ms UTC/report.txt +27 -0
  109. package/alkiln-2023-01-11 at 19h53m45s106ms UTC/debug_log.txt +261 -0
  110. package/alkiln-2023-01-11 at 19h53m45s106ms UTC/report.txt +60 -0
  111. package/cucumber.js +1 -1
  112. package/docassemble/__init__.py +5 -0
  113. package/lib/run_cucumber.js +96 -0
  114. package/lib/scope.js +45 -28
  115. package/lib/steps.js +1 -1
  116. package/lib/utils/files.js +1 -1
  117. package/lib/utils/session_vars.js +5 -3
  118. package/package.json +8 -9
  119. package/setup.py +60 -0
  120. package/tests/features/assembly_line.feature +0 -43
  121. package/tests/features/establishing_steps.feature +0 -62
  122. package/tests/features/example_test.feature +0 -11
  123. package/tests/features/interactive_steps.feature +0 -166
  124. package/tests/features/observation_steps.feature +0 -153
  125. package/tests/features/random_input.feature +0 -31
  126. package/tests/features/reload.feature +0 -155
  127. package/tests/features/reports.feature +0 -557
  128. package/tests/features/some_png_1.png +0 -0
  129. package/tests/features/some_png_2.png +0 -0
  130. package/tests/features/story_table_formats.feature +0 -125
  131. package/tests/features/story_tables.feature +0 -91
@@ -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