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

Behat activity visibility test steps fail with labels

    XMLWordPrintable

    Details

      Description

      The following two behat steps do not correctly detect the visibility of labels:

      1. Checks that the specified activity is visible. You need to be in the course page. It can be used being logged as a student and as a teacher on editing mode.
        Then"ACTIVITY_OR_RESOURCE_STRING" activity should be visible
      2. Checks that the specified activity is hidden. You need to be in the course page. It can be used being logged as a student and as a teacher on editing mode.
        Then"ACTIVITY_OR_RESOURCE_STRING" activity should be hidden

      The visible step will pass a hidden label as being visible. The hidden step will fail a hidden label as being not hidden.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                2/Feb/15