@suffolklitlab/alkiln 4.6.0 → 4.6.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/CHANGELOG.md CHANGED
@@ -40,6 +40,10 @@ Format:
40
40
  -->
41
41
  <!-- ## [Unreleased] -->
42
42
 
43
+ ## [4.6.1] - 2022-06-28
44
+ ### Fixed
45
+ - Single dropdown fields on pages are now recognized as fields properly
46
+
43
47
  ## [4.6.0] - 2022-06-10
44
48
  ### Added
45
49
  - Steps to test web accessibility either on individual page or for all subsequent pages.
package/lib/scope.js CHANGED
@@ -666,7 +666,7 @@ module.exports = {
666
666
  // All the different types of fields
667
667
  // buttons, canvases, inputs of all kinds, selects (dropdowns), textareas. Are there more?
668
668
  // Will deal with `option` once inside `select`
669
- let all_nodes = $( `#dasigpage, fieldset button, .daquestionactionbutton, fieldset input, .da-form-group input, .da-form-group select, .da-form-group textarea` );
669
+ let all_nodes = $( `#dasigpage, fieldset button, .daquestionactionbutton, fieldset input, .da-form-group input, .da-form-group select, form select, .da-form-group textarea` );
670
670
  for ( let node of all_nodes ) {
671
671
  // Decision: Do not abstract the below. There's too much data to pass around for it to make sense
672
672
  let $node = $( node );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suffolklitlab/alkiln",
3
- "version": "4.6.0",
3
+ "version": "4.6.1",
4
4
  "description": "Integrated automated end-to-end testing with docassemble, puppeteer, and cucumber.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -87,6 +87,10 @@ Scenario: I set text-type values
87
87
  Then the question id should be "button event action"
88
88
  And I tap to continue
89
89
  # Next page
90
+ Then the question id should be "single-dropdown-field"
91
+ And I set the var "single_dropdown_field" to "email"
92
+ And I tap to continue
93
+ # Next page
90
94
  Then the question id should be "the end"
91
95
 
92
96
  @fast @i2 @secret
@@ -68,6 +68,7 @@ Covers story table tests for:
68
68
  | signature_1 | | |
69
69
  | signature_2 | | |
70
70
  | single_quote_dict['single_quote_key']['sq_two'] | true | |
71
+ | single_dropdown_field | email | |
71
72
  | x[i].name.first | Proxyname1 | proxy_list[0].name.first |
72
73
  | x[i].name.first | Proxyname2 | proxy_list[1].name.first |
73
74
  | x.target_number | 2 | proxy_list.target_number |