Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-43713

Support multiple option select boxes in behat

    Details

    • Testing Instructions:
      Hide

      1) Copy the attached feature file to the dirroot of the site.

      2) Execute with firefox, chrome, ie, phantomjs. It covers all the cases implemented by this issue. Should end with 0 failures. Note there are failures with safari, in "verify that every set operation clears previous one", but it's in a case not used in core (multiple editions of multi-select without saving the form).

      /vendor/bin/behat --config path/to/your/config \
          /full/path/to/the/attached/feature/file/multiple_select.feature
      

      3) Run the whole behat suite against all browsers. There should not be any regression in existing uses of select boxes.

      That's all. Thanks!

      Show
      1) Copy the attached feature file to the dirroot of the site. 2) Execute with firefox, chrome, ie, phantomjs. It covers all the cases implemented by this issue. Should end with 0 failures. Note there are failures with safari, in "verify that every set operation clears previous one", but it's in a case not used in core (multiple editions of multi-select without saving the form). /vendor/bin/behat --config path/to/your/config \ /full/path/to/the/attached/feature/file/multiple_select.feature 3) Run the whole behat suite against all browsers. There should not be any regression in existing uses of select boxes. That's all. Thanks!
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Was working on when I decided to select 2 values from a multiple list box. And then realized it was impossible. I tried with all these:

      • I fill the moodle form with (table)
      • I fill in "FIELD_STRING" with "VALUE_STRING"
      • I select "OPTION_STRING" from "SELECT_STRING"

      And all them, when selecting the second option, unselects the previous one.

      Looking to this now....

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: