@suffolklitlab/alkiln 4.9.3 → 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 (135) hide show
  1. package/.github/workflows/test_tests.yml +8 -6
  2. package/CHANGELOG.md +30 -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 +9 -36
  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 +183 -119
  115. package/lib/steps.js +29 -1
  116. package/lib/utils/files.js +3 -3
  117. package/lib/utils/session_vars.js +5 -3
  118. package/package.json +8 -8
  119. package/setup.py +60 -0
  120. package/tests/unit_tests/fields.fixtures.js +79 -103
  121. package/tests/unit_tests/getAllFields.test.js +18 -13
  122. package/tests/unit_tests/getSafeScenarioFilename.test.js +2 -2
  123. package/tests/unit_tests/html.fixtures.js +0 -1
  124. package/tests/features/assembly_line.feature +0 -43
  125. package/tests/features/establishing_steps.feature +0 -62
  126. package/tests/features/example_test.feature +0 -11
  127. package/tests/features/interactive_steps.feature +0 -134
  128. package/tests/features/observation_steps.feature +0 -153
  129. package/tests/features/random_input.feature +0 -31
  130. package/tests/features/reload.feature +0 -155
  131. package/tests/features/reports.feature +0 -546
  132. package/tests/features/some_png_1.png +0 -0
  133. package/tests/features/some_png_2.png +0 -0
  134. package/tests/features/story_table_formats.feature +0 -125
  135. package/tests/features/story_tables.feature +0 -91
package/setup.py ADDED
@@ -0,0 +1,60 @@
1
+ import os
2
+ import sys
3
+ from setuptools import setup, find_packages
4
+ from fnmatch import fnmatchcase
5
+ from distutils.util import convert_path
6
+
7
+ standard_exclude = ('*.pyc', '*~', '.*', '*.bak', '*.swp*')
8
+ standard_exclude_directories = ('.*', 'CVS', '_darcs', './build', './dist', 'EGG-INFO', '*.egg-info')
9
+ def find_package_data(where='.', package='', exclude=standard_exclude, exclude_directories=standard_exclude_directories):
10
+ out = {}
11
+ stack = [(convert_path(where), '', package)]
12
+ while stack:
13
+ where, prefix, package = stack.pop(0)
14
+ for name in os.listdir(where):
15
+ fn = os.path.join(where, name)
16
+ if os.path.isdir(fn):
17
+ bad_name = False
18
+ for pattern in exclude_directories:
19
+ if (fnmatchcase(name, pattern)
20
+ or fn.lower() == pattern.lower()):
21
+ bad_name = True
22
+ break
23
+ if bad_name:
24
+ continue
25
+ if os.path.isfile(os.path.join(fn, '__init__.py')):
26
+ if not package:
27
+ new_package = name
28
+ else:
29
+ new_package = package + '.' + name
30
+ stack.append((fn, '', new_package))
31
+ else:
32
+ stack.append((fn, prefix + name + '/', package))
33
+ else:
34
+ bad_name = False
35
+ for pattern in exclude:
36
+ if (fnmatchcase(name, pattern)
37
+ or fn.lower() == pattern.lower()):
38
+ bad_name = True
39
+ break
40
+ if bad_name:
41
+ continue
42
+ out.setdefault(package, []).append(prefix+name)
43
+ return out
44
+
45
+ setup(name='docassemble.ALKilnTests',
46
+ version='1.0.0',
47
+ description=('A docassemble extension for testing the ALKiln integrated testing framework.'),
48
+ long_description='# ALKiln support package\r\n\r\nAssembly Line Kiln (ALKiln) is a framework for automatically testing **any** [docassemble](https://docassemble.org/) package using GitHub. ALKiln is being developed as part of the SuffolkLITLab Document Assembly Line project. See [documentation for kiln](https://suffolklitlab.github.io/docassemble-AssemblyLine-documentation/docs/automated_integrated_testing).\r\n\r\nThis package supports ALKiln in different ways.\r\n\r\n## Tool to set up testing\r\n\r\n[Tap here to set up automated integrated testing for your docassemble interview](https://apps-dev.suffolklitlab.org/start/test-setup/).\r\n\r\nThis repo contains a step-by-step form that a developer can use to set up automated integrated testing for **any** docassemble package. It requires, among other things, a docassemble account and a temporary GitHub personal access token with correct permissions. It will add necessary GitHub secrets, make a new branch, push necessary files to that branch, and make a PR with that branch.\r\n\r\n',
49
+ long_description_content_type='text/markdown',
50
+ author='plocket',
51
+ author_email='example@example.com',
52
+ license='The MIT License (MIT)',
53
+ url='https://suffolklitlab.org/docassemble-AssemblyLine-documentation/docs/automated_integrated_testing',
54
+ packages=find_packages(),
55
+ namespace_packages=['docassemble'],
56
+ install_requires=['docassemble.ALToolbox>=0.5.1'],
57
+ zip_safe=False,
58
+ package_data=find_package_data(where='docassemble/ALKilnTests/', package='docassemble.ALKilnTests'),
59
+ )
60
+
@@ -15,7 +15,7 @@ fields.standard = [
15
15
  }
16
16
  ],
17
17
  "type": "checkbox",
18
- "trigger": "direct_standard_fields"
18
+ "trigger": "direct_standard_fields",
19
19
  },
20
20
  {
21
21
  "selector": "#daquestion input[name=\"Y2hlY2tib3hlc19vdGhlcltCJ1kyaGxZMnRpYjNoZmIzUm9aWEpmYjNCMFh6RSdd\"][value=\"True\"][id=\"Y2hlY2tib3hlc19vdGhlcg_0\"][class=\"dafield1 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth\"]",
@@ -25,13 +25,9 @@ fields.standard = [
25
25
  "var": "checkboxes_other['checkbox_other_opt_1']",
26
26
  "value": "True"
27
27
  },
28
- {
29
- "var": "checkboxes_other['r\u0017���1��az����']",
30
- "value": "True"
31
- }
32
28
  ],
33
29
  "type": "checkbox",
34
- "trigger": "direct_standard_fields"
30
+ "trigger": "direct_standard_fields",
35
31
  },
36
32
  {
37
33
  "selector": "#daquestion input[name=\"Y2hlY2tib3hlc19vdGhlcltCJ1kyaGxZMnRpYjNoZmIzUm9aWEpmYjNCMFh6SSdd\"][value=\"True\"][id=\"Y2hlY2tib3hlc19vdGhlcg_1\"][class=\"dafield1 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth\"]",
@@ -41,13 +37,9 @@ fields.standard = [
41
37
  "var": "checkboxes_other['checkbox_other_opt_2']",
42
38
  "value": "True"
43
39
  },
44
- {
45
- "var": "checkboxes_other['r\u0017���1��az����']",
46
- "value": "True"
47
- }
48
40
  ],
49
41
  "type": "checkbox",
50
- "trigger": "direct_standard_fields"
42
+ "trigger": "direct_standard_fields",
51
43
  },
52
44
  {
53
45
  "selector": "#daquestion input[name=\"Y2hlY2tib3hlc19vdGhlcltCJ1kyaGxZMnRpYjNoZmIzUm9aWEpmYjNCMFh6TSdd\"][value=\"True\"][id=\"Y2hlY2tib3hlc19vdGhlcg_2\"][class=\"dafield1 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth\"]",
@@ -57,13 +49,9 @@ fields.standard = [
57
49
  "var": "checkboxes_other['checkbox_other_opt_3']",
58
50
  "value": "True"
59
51
  },
60
- {
61
- "var": "checkboxes_other['r\u0017���1��az����']",
62
- "value": "True"
63
- }
64
52
  ],
65
53
  "type": "checkbox",
66
- "trigger": "direct_standard_fields"
54
+ "trigger": "direct_standard_fields",
67
55
  },
68
56
  {
69
57
  "selector": "#daquestion input[name=\"_ignore1\"][id=\"labelauty-294201\"][class=\"dafield1 danota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth\"]",
@@ -75,7 +63,7 @@ fields.standard = [
75
63
  }
76
64
  ],
77
65
  "type": "checkbox",
78
- "trigger": "direct_standard_fields"
66
+ "trigger": "direct_standard_fields",
79
67
  },
80
68
  {
81
69
  "selector": "#daquestion input[name=\"cmFkaW9feWVzbm8\"][value=\"True\"][id=\"cmFkaW9feWVzbm8_0\"][class=\"da-to-labelauty labelauty da-active-invisible dafullwidth\"]",
@@ -87,7 +75,7 @@ fields.standard = [
87
75
  }
88
76
  ],
89
77
  "type": "radio",
90
- "trigger": "direct_standard_fields"
78
+ "trigger": "direct_standard_fields",
91
79
  },
92
80
  {
93
81
  "selector": "#daquestion input[name=\"cmFkaW9feWVzbm8\"][value=\"False\"][id=\"cmFkaW9feWVzbm8_1\"][class=\"da-to-labelauty labelauty da-active-invisible dafullwidth\"]",
@@ -99,7 +87,7 @@ fields.standard = [
99
87
  }
100
88
  ],
101
89
  "type": "radio",
102
- "trigger": "direct_standard_fields"
90
+ "trigger": "direct_standard_fields",
103
91
  },
104
92
  {
105
93
  "selector": "#daquestion input[name=\"cmFkaW9fb3RoZXI\"][value=\"radio_other_opt_1\"][id=\"cmFkaW9fb3RoZXI_0\"][class=\"da-to-labelauty labelauty da-active-invisible dafullwidth\"]",
@@ -111,7 +99,7 @@ fields.standard = [
111
99
  }
112
100
  ],
113
101
  "type": "radio",
114
- "trigger": "direct_standard_fields"
102
+ "trigger": "direct_standard_fields",
115
103
  },
116
104
  {
117
105
  "selector": "#daquestion input[name=\"cmFkaW9fb3RoZXI\"][value=\"radio_other_opt_2\"][id=\"cmFkaW9fb3RoZXI_1\"][class=\"da-to-labelauty labelauty da-active-invisible dafullwidth\"]",
@@ -123,7 +111,7 @@ fields.standard = [
123
111
  }
124
112
  ],
125
113
  "type": "radio",
126
- "trigger": "direct_standard_fields"
114
+ "trigger": "direct_standard_fields",
127
115
  },
128
116
  {
129
117
  "selector": "#daquestion input[name=\"cmFkaW9fb3RoZXI\"][value=\"radio_other_opt_3\"][id=\"cmFkaW9fb3RoZXI_2\"][class=\"da-to-labelauty labelauty da-active-invisible dafullwidth\"]",
@@ -135,7 +123,7 @@ fields.standard = [
135
123
  }
136
124
  ],
137
125
  "type": "radio",
138
- "trigger": "direct_standard_fields"
126
+ "trigger": "direct_standard_fields",
139
127
  },
140
128
  {
141
129
  "selector": "#daquestion input[name=\"dGV4dF9pbnB1dA\"][id=\"dGV4dF9pbnB1dA\"][class=\"form-control\"]",
@@ -147,7 +135,7 @@ fields.standard = [
147
135
  }
148
136
  ],
149
137
  "type": "text",
150
- "trigger": "direct_standard_fields"
138
+ "trigger": "direct_standard_fields",
151
139
  },
152
140
  {
153
141
  "selector": "#daquestion textarea[name=\"dGV4dGFyZWE\"][id=\"dGV4dGFyZWE\"][class=\"form-control\"]",
@@ -159,7 +147,7 @@ fields.standard = [
159
147
  }
160
148
  ],
161
149
  "type": "",
162
- "trigger": "direct_standard_fields"
150
+ "trigger": "direct_standard_fields",
163
151
  },
164
152
  {
165
153
  "selector": "#daquestion input[name=\"ZGF0ZV9pbnB1dA\"][id=\"ZGF0ZV9pbnB1dA\"][class=\"form-control\"]",
@@ -171,7 +159,7 @@ fields.standard = [
171
159
  }
172
160
  ],
173
161
  "type": "date",
174
- "trigger": "direct_standard_fields"
162
+ "trigger": "direct_standard_fields",
175
163
  },
176
164
  {
177
165
  "selector": "#daquestion select[name=\"ZHJvcGRvd25fdGVzdA\"][id=\"ZHJvcGRvd25fdGVzdA\"][class=\"form-select dasingleselect\"]",
@@ -181,37 +169,21 @@ fields.standard = [
181
169
  "var": "dropdown_test",
182
170
  "value": ""
183
171
  },
184
- {
185
- "var": "dropdown_test",
186
- "value": ""
187
- },
188
172
  {
189
173
  "var": "dropdown_test",
190
174
  "value": "dropdown_opt_1"
191
175
  },
192
- {
193
- "var": "dropdown_test",
194
- "value": "v�)v�'��m�"
195
- },
196
176
  {
197
177
  "var": "dropdown_test",
198
178
  "value": "dropdown_opt_2"
199
179
  },
200
- {
201
- "var": "dropdown_test",
202
- "value": "v�)v�'��m�"
203
- },
204
180
  {
205
181
  "var": "dropdown_test",
206
182
  "value": "dropdown_opt_3"
207
183
  },
208
- {
209
- "var": "dropdown_test",
210
- "value": "v�)v�'��m�"
211
- }
212
184
  ],
213
185
  "type": "",
214
- "trigger": "direct_standard_fields"
186
+ "trigger": "direct_standard_fields",
215
187
  },
216
188
  {
217
189
  "selector": "#daquestion button[name=\"ZGlyZWN0X3N0YW5kYXJkX2ZpZWxkcw\"][value=\"True\"][class=\"btn btn-da btn-primary\"]",
@@ -223,7 +195,7 @@ fields.standard = [
223
195
  }
224
196
  ],
225
197
  "type": "submit",
226
- "trigger": "direct_standard_fields"
198
+ "trigger": "direct_standard_fields",
227
199
  }
228
200
  ]; // ends fields.standard
229
201
 
@@ -276,10 +248,6 @@ fields.show_if = [
276
248
  "var": "showif_checkboxes_other['showif_checkboxes_nota_1']",
277
249
  "value": "True"
278
250
  },
279
- {
280
- "var": "showif_checkboxes_other['�\u001a0��܅�$n�^��赯�']",
281
- "value": "True"
282
- }
283
251
  ],
284
252
  "type": "checkbox",
285
253
  "trigger": "direct_showifs"
@@ -292,10 +260,6 @@ fields.show_if = [
292
260
  "var": "showif_checkboxes_other['showif_checkboxes_nota_2']",
293
261
  "value": "True"
294
262
  },
295
- {
296
- "var": "showif_checkboxes_other['�\u001a0��܅�$n�^��赯�']",
297
- "value": "True"
298
- }
299
263
  ],
300
264
  "type": "checkbox",
301
265
  "trigger": "direct_showifs"
@@ -308,10 +272,6 @@ fields.show_if = [
308
272
  "var": "showif_checkboxes_other['showif_checkboxes_nota_3']",
309
273
  "value": "True"
310
274
  },
311
- {
312
- "var": "showif_checkboxes_other['�\u001a0��܅�$n�^��赯�']",
313
- "value": "True"
314
- }
315
275
  ],
316
276
  "type": "checkbox",
317
277
  "trigger": "direct_showifs"
@@ -420,42 +380,22 @@ fields.show_if = [
420
380
  "var": "showif_dropdown",
421
381
  "value": ""
422
382
  },
423
- {
424
- "var": "showif_dropdown",
425
- "value": ""
426
- },
427
383
  {
428
384
  "var": "showif_dropdown",
429
385
  "value": "showif_dropdown_1"
430
386
  },
431
- {
432
- "var": "showif_dropdown",
433
- "value": "�\u001a0��ݮ�]�\t�"
434
- },
435
387
  {
436
388
  "var": "showif_dropdown",
437
389
  "value": "showif_dropdown_2"
438
390
  },
439
- {
440
- "var": "showif_dropdown",
441
- "value": "�\u001a0��ݮ�]�\t�"
442
- },
443
391
  {
444
392
  "var": "showif_dropdown",
445
393
  "value": "showif_dropdown_3"
446
394
  },
447
- {
448
- "var": "showif_dropdown",
449
- "value": "�\u001a0��ݮ�]�\t�"
450
- },
451
395
  {
452
396
  "var": "showif_dropdown",
453
397
  "value": "showif_dropdown_4"
454
398
  },
455
- {
456
- "var": "showif_dropdown",
457
- "value": "�\u001a0��ݮ�]�\t�"
458
- }
459
399
  ],
460
400
  "type": "",
461
401
  "trigger": "direct_showifs"
@@ -725,10 +665,6 @@ fields.object_dropdown = [
725
665
  "var": "object_dropdown",
726
666
  "value": ""
727
667
  },
728
- {
729
- "var": "object_dropdown",
730
- "value": ""
731
- },
732
668
  {
733
669
  "var": "object_dropdown",
734
670
  "value": "b2JqX29wdF8x"
@@ -766,6 +702,70 @@ fields.object_dropdown = [
766
702
  }
767
703
  ];
768
704
 
705
+ // ============================
706
+ // multiselect created with objects
707
+ // ============================
708
+ // ```
709
+ // - Something: some_var
710
+ // datatype: object
711
+ // choices:
712
+ // - obj1
713
+ // - obj2
714
+ // ```
715
+ fields.object_multiselect = [
716
+ {
717
+ "selector": "#daquestion select[name=\"b2JqZWN0X211bHRpc2VsZWN0\"][id=\"b2JqZWN0X211bHRpc2VsZWN0\"][class=\"form-control damultiselect daobject\"]",
718
+ "tag": "select",
719
+ "guesses": [
720
+ {
721
+ "var": "object_multiselect['b2JqX29wdF8x']",
722
+ "value": "True"
723
+ },
724
+ {
725
+ "var": "object_multiselect['obj_opt_1']",
726
+ "value": "True"
727
+ },
728
+ {
729
+ "var": "object_multiselect['b2JqX29wdF8y']",
730
+ "value": "True"
731
+ },
732
+ {
733
+ "var": "object_multiselect['obj_opt_2']",
734
+ "value": "True"
735
+ },
736
+ {
737
+ "var": "object_multiselect['b2JqX29wdF8z']",
738
+ "value": "True"
739
+ },
740
+ {
741
+ "var": "object_multiselect['obj_opt_3']",
742
+ "value": "True"
743
+ },
744
+ ],
745
+ "type": "",
746
+ "trigger": "object_multiselect"
747
+ },
748
+ {
749
+ "guesses": [
750
+ {
751
+ "value": "True",
752
+ "var": "object_multiselect.gathered"
753
+ }
754
+ ],
755
+ "selector": "#daquestion input[name=\"b2JqZWN0X211bHRpc2VsZWN0LmdhdGhlcmVk\"][value=\"True\"]",
756
+ "tag": "input",
757
+ "trigger": "object_multiselect",
758
+ "type": "hidden"
759
+ },
760
+ {
761
+ "selector": "#daquestion button[class=\"btn btn-da btn-primary\"]",
762
+ "tag": "button",
763
+ "guesses": [],
764
+ "type": "submit",
765
+ "trigger": "object_multiselect"
766
+ },
767
+ ];
768
+
769
769
 
770
770
  // ============================
771
771
  // mixed quotes
@@ -779,10 +779,6 @@ fields.mixed_quotes = [
779
779
  "var": "single_quote_dict['single_quote_key']['sq_one']",
780
780
  "value": "True"
781
781
  },
782
- {
783
- "var": "single_quote_dict['single_quote_key']['���']",
784
- "value": "True"
785
- }
786
782
  ],
787
783
  "type": "checkbox",
788
784
  "trigger": "double_quote_dict['double_quote_key']"
@@ -795,10 +791,6 @@ fields.mixed_quotes = [
795
791
  "var": "single_quote_dict['single_quote_key']['sq_two']",
796
792
  "value": "True"
797
793
  },
798
- {
799
- "var": "single_quote_dict['single_quote_key']['����']",
800
- "value": "True"
801
- }
802
794
  ],
803
795
  "type": "checkbox",
804
796
  "trigger": "double_quote_dict['double_quote_key']"
@@ -811,10 +803,6 @@ fields.mixed_quotes = [
811
803
  "var": "single_quote_dict['single_quote_key']['sq_three']",
812
804
  "value": "True"
813
805
  },
814
- {
815
- "var": "single_quote_dict['single_quote_key']['��톷�']",
816
- "value": "True"
817
- }
818
806
  ],
819
807
  "type": "checkbox",
820
808
  "trigger": "double_quote_dict['double_quote_key']"
@@ -839,10 +827,6 @@ fields.mixed_quotes = [
839
827
  "var": "double_quote_dict[\"double_quote_key\"]['dq_one']",
840
828
  "value": "True"
841
829
  },
842
- {
843
- "var": "double_quote_dict[\"double_quote_key\"]['v��']",
844
- "value": "True"
845
- }
846
830
  ],
847
831
  "type": "checkbox",
848
832
  "trigger": "double_quote_dict['double_quote_key']"
@@ -855,10 +839,6 @@ fields.mixed_quotes = [
855
839
  "var": "double_quote_dict[\"double_quote_key\"]['dq_two']",
856
840
  "value": "True"
857
841
  },
858
- {
859
- "var": "double_quote_dict[\"double_quote_key\"]['v���']",
860
- "value": "True"
861
- }
862
842
  ],
863
843
  "type": "checkbox",
864
844
  "trigger": "double_quote_dict['double_quote_key']"
@@ -871,10 +851,6 @@ fields.mixed_quotes = [
871
851
  "var": "double_quote_dict[\"double_quote_key\"]['dq_three']",
872
852
  "value": "True"
873
853
  },
874
- {
875
- "var": "double_quote_dict[\"double_quote_key\"]['v�톷�']",
876
- "value": "True"
877
- }
878
854
  ],
879
855
  "type": "checkbox",
880
856
  "trigger": "double_quote_dict['double_quote_key']"
@@ -1,11 +1,15 @@
1
1
  const chai = require('chai');
2
2
  const expect = chai.expect;
3
+ const deepEqualInAnyOrder = require('deep-equal-in-any-order');
4
+ chai.use(deepEqualInAnyOrder);
3
5
  // We need jest or something, right? To do fancy stuff.
4
6
 
5
7
  const html = require('./html.fixtures.js');
6
8
  const fields = require('./fields.fixtures.js');
7
9
  const scope = require('../../lib/scope.js');
8
10
  const getAllFields = scope.getAllFields;
11
+
12
+ chai.config.truncateThreshold = 0
9
13
  // TODO: Rearrange fixtures so related fixtures are next to each other? e.g.
10
14
  // buttons_yesno.html, buttons_yesno.fields, buttons_yesno.table, buttons_yesno.matches
11
15
  // May make more files both to make and to import, but may be more useful
@@ -29,7 +33,9 @@ const getAllFields = scope.getAllFields;
29
33
  it(`creates the right data for standard fields`, async function() {
30
34
  // 18 fields (03/15/21)
31
35
  let result = await getAllFields( scope, { html: html.standard });
32
- expect( result ).to.deep.equal( fields.standard );
36
+ //console.log(`${ JSON.stringify(result) }`);
37
+ //console.log(`-----------------\n${ JSON.stringify(fields.standard) }`);
38
+ expect( result ).to.deep.equalInAnyOrder( fields.standard );
33
39
  });
34
40
 
35
41
 
@@ -38,7 +44,7 @@ it(`creates the right data for standard fields`, async function() {
38
44
  // ============================
39
45
  it(`creates the right data for 'show if' fields`, async function() {
40
46
  let result = await getAllFields( scope, { html: html.show_if });
41
- expect( result ).to.deep.equal( fields.show_if );
47
+ expect( result ).to.deep.equalInAnyOrder( fields.show_if );
42
48
  });
43
49
 
44
50
 
@@ -48,25 +54,25 @@ it(`creates the right data for 'show if' fields`, async function() {
48
54
  it(`creates the right data for one continue button`, async function() {
49
55
  // `continue button field:`
50
56
  let result = await getAllFields( scope, { html: html.button_continue });
51
- expect( result ).to.deep.equal( fields.button_continue );
57
+ expect( result ).to.deep.equalInAnyOrder( fields.button_continue );
52
58
  });
53
59
 
54
60
  it(`creates the right data for yesnomaybe buttons`, async function() {
55
61
  // `yesnomaybe:`
56
62
  let result = await getAllFields( scope, { html: html.buttons_yesnomaybe });
57
- expect( result ).to.deep.equal( fields.buttons_yesnomaybe );
63
+ expect( result ).to.deep.equalInAnyOrder( fields.buttons_yesnomaybe );
58
64
  });
59
65
 
60
66
  it(`creates the right data for other mutiple choice continue buttons`, async function() {
61
67
  // `field:` and `buttons:`
62
68
  let result = await getAllFields( scope, { html: html.buttons_other });
63
- expect( result ).to.deep.equal( fields.buttons_other );
69
+ expect( result ).to.deep.equalInAnyOrder( fields.buttons_other );
64
70
  });
65
71
 
66
72
  it(`creates the right data for an event action button`, async function() {
67
73
  // `field:` and `action buttons:`
68
74
  let result = await getAllFields( scope, { html: html.buttons_event_action });
69
- expect( result ).to.deep.equal( fields.buttons_event_action );
75
+ expect( result ).to.deep.equalInAnyOrder( fields.buttons_event_action );
70
76
  });
71
77
 
72
78
 
@@ -76,7 +82,7 @@ it(`creates the right data for an event action button`, async function() {
76
82
  // x[i].name.first
77
83
  it(`creates the right data for a multi-proxy name (x[i])`, async function() {
78
84
  let result = await getAllFields( scope, { html: html.proxies_xi });
79
- expect( result ).to.deep.equal( fields.proxies_xi );
85
+ expect( result ).to.deep.equalInAnyOrder( fields.proxies_xi );
80
86
  });
81
87
 
82
88
  // Multiple proxies by the same name are on the list (because of a loop)
@@ -84,7 +90,7 @@ it(`creates the right data for a multi-proxy name (x[i])`, async function() {
84
90
  it(`creates the right data for a multi-proxy name (x[i]) again for consistency`, async function() {
85
91
  // same data as `proxies_xi`, but have this here for consistency
86
92
  let result = await getAllFields( scope, { html: html.proxies_multi });
87
- expect( result ).to.deep.equal( fields.proxies_multi );
93
+ expect( result ).to.deep.equalInAnyOrder( fields.proxies_multi );
88
94
  });
89
95
 
90
96
 
@@ -94,7 +100,7 @@ it(`creates the right data for a multi-proxy name (x[i]) again for consistency`,
94
100
  it(`creates the right data for a signature field`, async function() {
95
101
  // `field:` and `action buttons:`
96
102
  let result = await getAllFields( scope, { html: html.signature });
97
- expect( result ).to.deep.equal( fields.signature );
103
+ expect( result ).to.deep.equalInAnyOrder( fields.signature );
98
104
  });
99
105
 
100
106
 
@@ -109,7 +115,7 @@ it(`creates the right data for a signature field`, async function() {
109
115
  // ```
110
116
  it(`creates the right data for a 'choices:' field`, async function() {
111
117
  let result = await getAllFields( scope, { html: html.choices });
112
- expect( result ).to.deep.equal( fields.choices );
118
+ expect( result ).to.deep.equalInAnyOrder( fields.choices );
113
119
  });
114
120
 
115
121
 
@@ -125,10 +131,9 @@ it(`creates the right data for a 'choices:' field`, async function() {
125
131
  // ```
126
132
  it(`creates the right data for a dropdown created with an object`, async function() {
127
133
  let result = await getAllFields( scope, { html: html.object_dropdown });
128
- expect( result ).to.deep.equal( fields.object_dropdown );
134
+ expect( result ).to.deep.equalInAnyOrder(fields.object_dropdown );
129
135
  });
130
136
 
131
-
132
137
  // ============================
133
138
  // DOM for mixed quotes test in getMatchingRows.test.js
134
139
  // ============================
@@ -138,5 +143,5 @@ it(`creates the right data for a dropdown created with an object`, async functio
138
143
  // following test is mostly useful for that second purpose.
139
144
  it(`creates the right data for a question whose table will have mixed quotes`, async function() {
140
145
  let result = await getAllFields( scope, { html: html.mixed_quotes });
141
- expect( result ).to.deep.equal( fields.mixed_quotes );
146
+ expect( result ).to.deep.equalInAnyOrder( fields.mixed_quotes );
142
147
  });
@@ -9,9 +9,9 @@
9
9
 
10
10
  let test_filename = function ( expected_prefix, result ) {
11
11
  /* Test a name to see if it's valid output with a language defined. */
12
- let expected_name_regex_str = `^${ expected_prefix }-${ names.base_filename }-\.{40}$`;
12
+ let expected_name_regex_str = `^${ expected_prefix }-${ names.base_filename }-\.{32}$`;
13
13
  if ( expected_prefix == `` ) {
14
- expected_name_regex_str = `^${ names.base_filename }-\.{40}$`;
14
+ expected_name_regex_str = `^${ names.base_filename }-\.{32}$`;
15
15
  }
16
16
  let regex = new RegExp( expected_name_regex_str );
17
17
 
@@ -727,7 +727,6 @@ html.object_dropdown = `
727
727
  </form>
728
728
  </div>`;
729
729
 
730
-
731
730
  html.mixed_quotes = `
732
731
  <div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
733
732
  <div data-variable="ZG91YmxlX3F1b3RlX2RpY3RbJ2RvdWJsZV9xdW90ZV9rZXknXQ" id="trigger" aria-hidden="true" style="display: none;"></div>
@@ -1,43 +0,0 @@
1
- @assembly_line
2
- Feature: Assembly Line package-specific Steps
3
-
4
- # In tag names, 'al' is for 'assembly line'
5
-
6
- # Note: the first test for this suite is the first test in this file and we're having timeout issues, so we're trying to give the server longer to load.
7
-
8
- @fast @al1
9
- Scenario: I have two name parts
10
- Given the max secs for each step is 120
11
-   Given I start the interview at "AL_tests"
12
- And I set the name of "users[0]" to "Uli User"
13
- And I tap to continue
14
- And I set the address of "users[0]" to "120 Tremont Street, Unit 2, Boston, MA 02108"
15
- And I tap to continue
16
- And I set the name of "users[1]" to "Uli2 User2"
17
- And I set the var "users[i].proxy_var" to "Mixed proxy var step test"
18
- And I tap to continue
19
- Then the question id should be "end"
20
-
21
- @fast @al2
22
- Scenario: I have three name parts
23
-   Given I start the interview at "AL_tests"
24
- And I set the name of "users[0]" to "Uli Udo User"
25
- And I tap to continue
26
- And I set the address of "users[0]" to "120 Tremont Street, Unit 2, Boston, MA 02108"
27
- And I tap to continue
28
- And I set the name of "users[1]" to "Uli2 User2"
29
- And I set the var "users[i].proxy_var" to "Mixed proxy var step test"
30
- And I tap to continue
31
- Then the question id should be "end"
32
-
33
- @fast @al3
34
- Scenario: I have four name parts
35
-   Given I start the interview at "AL_tests"
36
- And I set the name of "users[0]" to "Uli Udo User Sr"
37
- And I tap to continue
38
- And I set the address of "users[0]" to "120 Tremont Street, Unit 2, Boston, MA 02108"
39
- And I tap to continue
40
- And I set the name of "users[1]" to "Uli2 User2"
41
- And I set the var "users[i].proxy_var" to "Mixed proxy var step test"
42
- And I tap to continue
43
- Then the question id should be "end"