@suffolklitlab/alkiln 5.16.1 → 5.17.0

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.
@@ -31,9 +31,6 @@ jobs:
31
31
  && github.event.pull_request.head.repo.fork
32
32
  )
33
33
  runs-on: ubuntu-latest
34
- strategy:
35
- matrix:
36
- node-version: [24.x]
37
34
 
38
35
  steps:
39
36
  # Place the root directory in this branch to access relative paths to
@@ -36,9 +36,6 @@ jobs:
36
36
  && github.event.pull_request.head.repo.fork
37
37
  )
38
38
  runs-on: ubuntu-latest
39
- strategy:
40
- matrix:
41
- node-version: [24.x]
42
39
 
43
40
  #### Developer note: You can probably leave out these specific
44
41
  #### environment variables. You may not even need the `env`
@@ -27,9 +27,6 @@ jobs:
27
27
  && github.event.pull_request.head.repo.fork
28
28
  )
29
29
  runs-on: ubuntu-latest
30
- strategy:
31
- matrix:
32
- node-version: [24.x]
33
30
 
34
31
  env:
35
32
  #### Developer note: We recommend turning these into environment
package/CHANGELOG.md CHANGED
@@ -43,7 +43,23 @@ Format:
43
43
  -
44
44
  -->
45
45
 
46
- <!-- ## [Unreleased] -->
46
+ ## [Unreleased]
47
+
48
+ ## [5.17.0] - 2026-09-10
49
+
50
+ ### Changed
51
+
52
+ - GitHub action release: Restored our GitHub action's default for ALKiln version to the latest version 5 again. Released first on GitHub actions. NPM release will come in time, but npm has no impact on GitHub action releases.
53
+
54
+ ### Fixed
55
+
56
+ - Fixed GitHub+You action outdated docassemble cli version causing Scenario timeouts.
57
+ - Part 1 of detecting custom AL error screen: Story Table now catches `al_custom_error_screen` error. Previously, Story Tables that ran into this screen would get stuck on the AL error page infinitely. Next steps: Linear Steps may need additional development. Currently linear Steps succeed even when they run into AL's error page. That bears additional discussion. See [issue #656](https://github.com/SuffolkLITLab/ALKiln/issues/656) and [PR #1116](https://github.com/SuffolkLITLab/ALKiln/pull/1116).
58
+
59
+ ### Internal
60
+
61
+ - Simplify workflow files by removing `node` env setup (leaving it to the actions)
62
+ - Updated both of our actions' dependencies (the checkout, setup-node, setup-python, upload-artifacts, download-artifacts actions). Closes [#1095](https://github.com/suffolkLITLab/aLKiln/issues/1095). Once again, action related.
47
63
 
48
64
  ## [5.16.1] - 2026-06-01
49
65
 
package/action.yml CHANGED
@@ -14,7 +14,7 @@ inputs:
14
14
  ALKILN_VERSION:
15
15
  description: 'Version of ALKiln to get from npm.'
16
16
  required: false
17
- default: '5.15.4'
17
+ default: '^5.0.0'
18
18
  MAX_SECONDS_FOR_SETUP:
19
19
  description: "Amount of time to give the Project to upload your package's GitHub code."
20
20
  required: false
@@ -32,7 +32,7 @@ inputs:
32
32
  DOCASSEMBLECLI_VERSION:
33
33
  description: "The version of docassemblecli to install."
34
34
  required: false
35
- default: "0.0.17"
35
+ default: "0.0.25"
36
36
  ALKILN_MAX_RANDOM_TESTS_PER_SCENARIO:
37
37
  description: "The maximum number of tests ALKiln will generate for every Scenario that can generate tests."
38
38
  required: false
@@ -59,7 +59,7 @@ runs:
59
59
  using: "composite"
60
60
  steps:
61
61
  # Place the root directory in this branch
62
- - uses: actions/checkout@v4
62
+ - uses: actions/checkout@v7
63
63
 
64
64
  # Set environment variables
65
65
  - name: "💡 ALK0023 INFO: Set environment variables"
@@ -111,7 +111,7 @@ runs:
111
111
 
112
112
  # Install ALKiln during GitHub workflow
113
113
  - name: "💡 ALK0025 INFO: Set up node"
114
- uses: actions/setup-node@v5
114
+ uses: actions/setup-node@v6
115
115
  with:
116
116
  node-version: "24.x"
117
117
  package-manager-cache: false
@@ -155,7 +155,7 @@ runs:
155
155
 
156
156
  # Install package on playground
157
157
  # Don't rely on the environment's version of python
158
- - uses: actions/setup-python@v5
158
+ - uses: actions/setup-python@v6
159
159
  if: ${{ inputs.INSTALL_METHOD == 'playground' }}
160
160
  with:
161
161
  python-version: '3.10'
@@ -213,7 +213,7 @@ runs:
213
213
  # Upload artifacts that subscribers can download on the Actions summary page
214
214
  - name: "💡 ALK0033 INFO: Upload artifacts folder"
215
215
  if: ${{ always() }}
216
- uses: actions/upload-artifact@v4
216
+ uses: actions/upload-artifact@v7
217
217
  with:
218
218
  name: ${{ env.ARTIFACT_FOLDER }}
219
219
  path: ./alkiln-*
@@ -221,7 +221,7 @@ runs:
221
221
  # Download artifacts folder internally to create action output
222
222
  - name: "💡 ALK0183 INFO: Get uploaded artifacts folder"
223
223
  if: ${{ always() }}
224
- uses: actions/download-artifact@v4
224
+ uses: actions/download-artifact@v8
225
225
  with:
226
226
  name: ${{ env.ARTIFACT_FOLDER }}
227
227
 
@@ -49,7 +49,7 @@ runs:
49
49
  using: "composite"
50
50
  steps:
51
51
  # Place the root directory in this branch
52
- - uses: actions/checkout@v4
52
+ - uses: actions/checkout@v7
53
53
 
54
54
  - shell: bash
55
55
  run: |
@@ -253,7 +253,7 @@ runs:
253
253
  done
254
254
 
255
255
  # Don't rely on the environment's version of python
256
- - uses: actions/setup-python@v5
256
+ - uses: actions/setup-python@v6
257
257
  with:
258
258
  python-version: '3.10'
259
259
  # No output
@@ -285,7 +285,7 @@ runs:
285
285
  echo "$(docker output docassemble_container)" >> "${{ env.DEBUG_LOGS_PATH }}"
286
286
  - name: "💡 ALK0020 INFO: Upload artifacts folder"
287
287
  if: ${{ always() && env.OUTPUT_DOCKER == 'true' }}
288
- uses: actions/upload-artifact@v4
288
+ uses: actions/upload-artifact@v7
289
289
  with:
290
290
  name: ${{ env.GITHUB_SERVER_ARTIFACT_NAME }}
291
291
  path: ${{ env.DEBUG_LOGS_PATH }}
package/lib/scope.js CHANGED
@@ -2673,6 +2673,8 @@ module.exports = {
2673
2673
  // The below does not work if there's not a space between ':' and 'none'
2674
2674
  simple_user_error: await scope.page.$$(`xpath/.//*[contains(@class, "da-has-error")][not(contains(@style,"display: none"))]`),
2675
2675
  system_error: await scope.page.$$(`xpath/.//meta[@content="docassemble: Error"]` ),
2676
+ // Hardcoding the `al_custom_error_action` screen (that's what the base64 here is). It hides actual errors and looks like a continue screen, but isn't.
2677
+ al_custom_error: await scope.page.$$('.question-custom-error-action .daattributions #trigger[data-variable="YWxfY3VzdG9tX2Vycm9yX2FjdGlvbg"]'),
2676
2678
  };
2677
2679
 
2678
2680
  let error_handlers = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suffolklitlab/alkiln",
3
- "version": "5.16.1",
3
+ "version": "5.17.0",
4
4
  "description": "Integrated automated end-to-end testing with docassemble, puppeteer, and cucumber.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {