@suffolklitlab/alkiln 5.13.3-feat-random-4 → 5.13.4-feat-textarea-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/github_server.yml +1 -1
- package/.github/workflows/playground.yml +1 -2
- package/.github/workflows/unit_tests.yml +1 -1
- package/CHANGELOG.md +3 -21
- package/_alkiln_meta/gherkin_parsed_example.json +1546 -0
- package/_alkiln_meta/shift_logs.js +75 -0
- package/action.yml +10 -26
- package/action_for_github_server/action.yml +27 -31
- package/lib/docassemble/setup.js +3 -3
- package/lib/docassemble/takedown.js +2 -2
- package/lib/run_cucumber.js +53 -40
- package/lib/scope.js +12 -33
- package/lib/steps.js +67 -76
- package/lib/utils/Log.js +164 -318
- package/lib/utils/reports.js +25 -42
- package/lib/utils/session_vars.js +57 -77
- package/package.json +7 -18
- package/tests/log_codes/check_codes.sh +13 -17
- package/tests/log_codes/log_code_expected_instances.txt +0 -58
- package/tests/unit_tests/log.test.js +41 -17
- package/lib/globals.js +0 -10
- package/lib/setup/TestGenerator.js +0 -1757
- package/lib/setup/artifacts.js +0 -20
- package/lib/setup/generate.js +0 -42
- package/lib/setup/get_Gherkin_AST.js +0 -26
- package/lib/setup/validate.js +0 -89
- package/lib/utils/get_error_stacks.js +0 -16
- package/lib/utils/set_sources_paths.js +0 -98
- package/tests/unit_tests/constrained_random_answers/invalid.fixtures.js +0 -177
- package/tests/unit_tests/constrained_random_answers/invalid.test.js +0 -251
- package/tests/unit_tests/constrained_random_answers/valid.fixtures.js +0 -973
- package/tests/unit_tests/constrained_random_answers/valid.test.js +0 -563
- /package/docs/{expected_internal_results.md → expected_inernal_results.md} +0 -0
|
@@ -160,7 +160,7 @@ jobs:
|
|
|
160
160
|
#### Developer note: You can probably leave the rest out
|
|
161
161
|
#### To learn more, see https://assemblyline.suffolklitlab.org/docs/alkiln/writing/#optional-inputs
|
|
162
162
|
ALKILN_TAG_EXPRESSION: "${{ env.ALKILN_TAG_EXPRESSION }}"
|
|
163
|
-
ALKILN_VERSION:
|
|
163
|
+
ALKILN_VERSION: "5.13.4-feat-textarea-1"
|
|
164
164
|
|
|
165
165
|
#### Developer note: Example of making an issue when tests fail
|
|
166
166
|
#### that includes the text of the failure output file
|
|
@@ -76,10 +76,9 @@ jobs:
|
|
|
76
76
|
DOCASSEMBLE_DEVELOPER_API_KEY: "${{ env.DOCASSEMBLE_DEVELOPER_API_KEY }}"
|
|
77
77
|
#### Developer note: See https://assemblyline.suffolklitlab.org/docs/alkiln/writing/#optional-inputs
|
|
78
78
|
#### You can probably leave this out
|
|
79
|
-
ALKILN_MAX_RANDOM_TESTS_PER_SCENARIO: 10
|
|
80
79
|
# Internal: docassemble changes sometimes break @a11y tests. That is
|
|
81
80
|
# a da problem, not ours. We will trigger these tests manually when we
|
|
82
81
|
# want to check up on this.
|
|
83
82
|
ALKILN_TAG_EXPRESSION: "${{ env.ALKILN_TAG_EXPRESSION }}"
|
|
84
83
|
#### Developer note: You can probably leave this out
|
|
85
|
-
ALKILN_VERSION:
|
|
84
|
+
ALKILN_VERSION: "5.13.4-feat-textarea-1"
|
package/CHANGELOG.md
CHANGED
|
@@ -47,30 +47,12 @@ Format:
|
|
|
47
47
|
|
|
48
48
|
### Added
|
|
49
49
|
|
|
50
|
-
-
|
|
51
|
-
- Add `ALKILN_MAX_RANDOM_TESTS_PER_SCENARIO` optional environment variable for the above `constrained random answers` Step. Default value is `40` until we hear otherwise.
|
|
52
|
-
- Regular tests that have incorrect syntax will fail more quickly now - very near the start. So will invalid "constrained random test template" files. This will be a little slower for GitHub Sandbox tests right now, but still faster than it has been in the past. Closes [#972](https://github.com/SuffolkLITLab/ALKiln/issues/972).
|
|
53
|
-
|
|
54
|
-
### Changed
|
|
55
|
-
|
|
56
|
-
- Improve report indentation and tweak styling.
|
|
57
|
-
- Clarify some logs, including addressing bite-sized issues like [#981](https://github.com/SuffolkLITLab/ALKiln/issues/981).
|
|
58
|
-
- The report now shows the name of every Step that gets run in a test.
|
|
50
|
+
- Adds a linear Step to properly set multi-line values for `textarea`s (closes [#1003](https://github.com/SuffolkLITLab/ALKiln/issues/1003)). We are unable to fix the current "set variable" linear Step for this. See [this comment on #655](https://github.com/SuffolkLITLab/ALKiln/issues/655#issuecomment-2876491571).
|
|
59
51
|
|
|
60
52
|
### Internal
|
|
61
53
|
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
- Changed: `Log` now prioritizes what folder it stores files in in this order:
|
|
65
|
-
1. Use the argument to use an existing folder and save that to runtime_config.json at root.
|
|
66
|
-
2. Use the argument to make a new folder with that name and save that to runtime_config.json at root.
|
|
67
|
-
3. Use the alread-existing folder name value in runtime_config.json at root
|
|
68
|
-
4. Create a new folder and save that to runtime_config.json at root
|
|
69
|
-
- Changed: Add `.error()` to `Log` for visual clarity when storing an error to throw later. We need to discuss this behavior and its return value. To make that work Logs can now get the `error` prop without throwing an error.
|
|
70
|
-
- Changed: the Story Table step now accepts multiple ids and stops at whatever id it reaches first. I highly recommend that only ALKiln generated tests use this feature. We may avoid documenting it unless authors ask for it.
|
|
71
|
-
- Changed: `.gitignore` and `.npmignore` more things
|
|
72
|
-
- Fixed: log codes checker obob.
|
|
73
|
-
- Fixed: updated `actions/upload-artifact@v3` to `actions/upload-artifact@v4`
|
|
54
|
+
- Changes how Log joins logs.
|
|
55
|
+
- Allows reports to accept log messages as an argument without duplicating metadata text. Debug logs will still save duplicate messages.
|
|
74
56
|
|
|
75
57
|
## [5.13.4] - 2025-01-11
|
|
76
58
|
|