@suffolklitlab/alkiln 5.0.0-pre-8 → 5.0.0-pre-9
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 +2 -0
- package/lib/scope.js +7 -0
- package/npm-shrinkwrap.json +524 -1174
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -65,12 +65,14 @@ Format:
|
|
|
65
65
|
- Shorten path names to try to accommodate limitations of windows systems while still keeping enough useful information to help devs identify the test outputs. https://github.com/SuffolkLITLab/ALKiln/issues/618
|
|
66
66
|
- Updated field decoding to handle new object field encoding. See [#711](https://github.com/SuffolkLITLab/ALKiln/issues/711)
|
|
67
67
|
- Allow multiple languages to be tested again. See [#713](https://github.com/SuffolkLITLab/ALKiln/issues/713).
|
|
68
|
+
- Fill in time fields correctly. See [#726](https://github.com/SuffolkLITLab/ALKiln/pull/726).
|
|
68
69
|
|
|
69
70
|
### Security
|
|
70
71
|
- Pass docassemble API keys through HTTP headers instead of as parameters.
|
|
71
72
|
- Parameters to certain HTTP requests are printed directly in docassemble's
|
|
72
73
|
uWSGI log, leaking API keys to actors with log access on your docassemble
|
|
73
74
|
server
|
|
75
|
+
- Update dependencies. See [#727](https://github.com/SuffolkLITLab/ALKiln/pull/727).
|
|
74
76
|
|
|
75
77
|
## [4.11.1] - 2023-03-21
|
|
76
78
|
### Changed
|
package/lib/scope.js
CHANGED
|
@@ -1755,6 +1755,13 @@ module.exports = {
|
|
|
1755
1755
|
}
|
|
1756
1756
|
await scope.setText( scope, { handle, answer: answer_date });
|
|
1757
1757
|
await scope.afterStep(scope, { waitForShowIf: true });
|
|
1758
|
+
} else if (type == `time`) {
|
|
1759
|
+
// Authors should enter the time like 12:34 PM, but we shouldn't type ":", space, or M.
|
|
1760
|
+
let answer_time = answer.replace(":", "").replace(" ", "").replace("M", "");
|
|
1761
|
+
await handle.focus();
|
|
1762
|
+
await handle.type( answer );
|
|
1763
|
+
await handle.press("Enter");
|
|
1764
|
+
await scope.afterStep(scope, { waitForShowIf: true });
|
|
1758
1765
|
} else {
|
|
1759
1766
|
await scope.setText( scope, { handle, answer });
|
|
1760
1767
|
await scope.afterStep(scope, { waitForShowIf: true });
|