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

Participants block Behat failures on clean

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: User management
    • Labels:
    • Testing Instructions:
      Hide
      1. Initialise Behat to run on all themes:

        php admin/tool/behat/cli/init.php -a
        

        (For a faster run time, use -j=n, where n is the number of parallel runs.)

      2. Run the following Behat test and confirm that everything passes:

        php admin/tool/behat/cli/run.php --tags="@core_course,@block,@core_group"
        

        Note: block_calendar failures may be encountered, but that's a separate issue.

      Show
      Initialise Behat to run on all themes: php admin/tool/behat/cli/init.php -a (For a faster run time, use -j= n , where n is the number of parallel runs.) Run the following Behat test and confirm that everything passes: php admin/tool/behat/cli/run.php --tags="@core_course,@block,@core_group" Note: block_calendar failures may be encountered, but that's a separate issue.
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-59726-master

      Description

      Moodle 3.4dev (Build: 20170804), 8146b1f06de51d1ca6b4043bc524ed2fe26aaa72
      Php: 7.0.20, pgsql: 9.6.3, OS: Darwin 16.7.0 x86_64
      Server OS "Darwin", Browser: "firefox"
      Started at 04-08-2017, 14:52
      .....................F...........
       
      --- Failed steps:
       
      001 Scenario: Student can follow participants link and be directed to the correct page # /Users/nicols/Sites/moodles/im/moodle/blocks/participants/tests/behat/block_participants_course.feature:28
            Then I should see "All participants" in the "#page-content" "css_element"        # /Users/nicols/Sites/moodles/im/moodle/blocks/participants/tests/behat/block_participants_course.feature:32
              "All participants" text was not found in the "#page-content" element (Behat\Mink\Exception\ExpectationException)
       
      3 scenarios (2 passed, 1 failed)
      33 steps (32 passed, 1 failed)
      0m23.38s (54.82Mb)
      

        Attachments

          Activity

            People

            Assignee:
            jpataleta Jun Pataleta
            Reporter:
            dobedobedoh Andrew Nicols
            Peer reviewer:
            Simey Lameze
            Integrator:
            Andrew Nicols
            Tester:
            Adrian Greeve
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Nov/17