osem-fcy/app/views/admin/survey_questions
Andrew Kvalheim 3e7be52586 Associate form label with its control
Resolves:

    Failures:

      1) Survey as an organizer create a survey
         Failure/Error: select 'boolean', from: 'Type of Question:', visible: false # Hidden by bootstrap-select

         Capybara::ElementNotFound:
           Unable to find select box "Type of Question:" that is not disabled and Unable to find input box with datalist completion "Type of Question:" that is not disabled
         # ./spec/features/surveys_spec.rb:24:in `block (3 levels) in <top (required)>'
         # ------------------
         # --- Caused by: ---
         # Capybara::ElementNotFound:
         #   Unable to find select box "Type of Question:" that is not disabled
         #   ./spec/features/surveys_spec.rb:24:in `block (3 levels) in <top (required)>'

    Failed examples:

    rspec ./spec/features/surveys_spec.rb:15 # Survey as an organizer create a survey
2022-03-16 14:12:01 -07:00
..
_form.html.haml Associate form label with its control 2022-03-16 14:12:01 -07:00
edit.html.haml Add surveys; custom generated by admins 2018-07-03 08:46:15 +03:00
new.html.haml Add missing view for survey question creation 2022-03-16 13:37:00 -07:00