@suffolklitlab/alkiln 5.10.2 → 5.10.3

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/CHANGELOG.md CHANGED
@@ -45,6 +45,16 @@ Format:
45
45
 
46
46
  <!-- ## [Unreleased] -->
47
47
 
48
+ ## [5.10.3] - 2024-03-23
49
+
50
+ ### Fixed
51
+
52
+ - Fixes undefined var name when setting long text or ajax combobox value
53
+
54
+ ### Internal
55
+
56
+ - Removes test for text on error pages. That keeps changing every now and then. It would be nice to test that we're catching some text, which we can't do right now. Maybe we should be broader with where we get the text since authors can also change the DOM. At least there are screenshots when possible.
57
+
48
58
  ## [5.10.2] - 2024-02-29
49
59
 
50
60
  ### Fixed
package/lib/scope.js CHANGED
@@ -1985,7 +1985,7 @@ module.exports = {
1985
1985
  is_ajax = elem.className.includes(`da-ajax-combobox`);
1986
1986
 
1987
1987
  if ( is_ajax || text.length > typing_cutoff ) {
1988
- elem.value = answer.slice(0, slice_value); // .slice(0, -3)
1988
+ elem.value = text.slice(0, slice_value); // .slice(0, -3)
1989
1989
  }
1990
1990
 
1991
1991
  return is_ajax;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suffolklitlab/alkiln",
3
- "version": "5.10.2",
3
+ "version": "5.10.3",
4
4
  "description": "Integrated automated end-to-end testing with docassemble, puppeteer, and cucumber.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {