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

Behat: Delete activity step does not work without actions menu open

    XMLWordPrintable

    Details

      Description

      When trying to use the step 'Given I delete "activityname" activity' in my own Behat tests it was failing.

      I took a look into the issue and discovered that this step only works if you call the step 'I open "activityname" actions menu' beforehand.

      This is unintuitive, not mentioned in the comments, and doesn't work like other steps like 'Given I duplicate "activityname"'.

      I am submitting a patch to update this step to take care of the activity menu inside the step itself.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Sep/14