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

Behat "I select X from the Y singleselect" does not always work without JS

XMLWordPrintable

    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • wip-mdl-50481
    • Easy
    • Hide
      1. run behat with --name="Changing the min or max grade to use updates the grades accordingly" and ensure it passes.

      FYI: As this patch is based on top of MDL-48618, ensure scenario doesn't have a JS tag.

      Show
      run behat with --name="Changing the min or max grade to use updates the grades accordingly" and ensure it passes. FYI: As this patch is based on top of MDL-48618 , ensure scenario doesn't have a JS tag.

      With javascript it works fine, but without the step assumes that there is only one 'Go' button per page, which is not always true. In which case, the first 'Go' button will be pressed and the step will not work.

      This was discovered while working on a behat test for the gradebook in MDL-48618, there are more than one singleselect on the user report.

            rajeshtaneja Rajesh Taneja
            fred Frédéric Massart
            David Monllaó David Monllaó
            Dan Poltawski Dan Poltawski
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.