SuffolkLITLab / ALKiln

Integrated automated end-to-end testing with docassemble, puppeteer, and cucumber.
https://assemblyline.suffolklitlab.org/docs/alkiln/intro
MIT License
14 stars 4 forks source link

Test: `choices` with `group` #821

Open plocket opened 10 months ago

plocket commented 10 months ago

With and without the usual multiselect, object multiselect (not yet working), and other datatypes.

mandatory: True
question: What is your favorite fruit?
fields:
  - Fruit: favorite_fruit
    datatype: multiselect
    choices:
      - label: Fuji Apple
        value: fuji_apple
        group: Apple
      - label: Red Delicious Apple
        value: red_delicious_apple
        group: Apple
      - label: Peach
        value: peach
        group: Other
      - label: Pear
        value: pear
        group: Other