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

Behat fails on badges test every time when doing full single-thread run but works fine when running test alone or having parallel run

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Update behat.yml to only contain below features:

      1. blocks/badges/tests/behat/block_badges.feature
      2. badges/tests/behat/award_badge.feature

      Ensure before patch award_badges.feature should fail, after patch it should pass.

      Show
      Update behat.yml to only contain below features: blocks/badges/tests/behat/block_badges.feature badges/tests/behat/award_badge.feature Ensure before patch award_badges.feature should fail, after patch it should pass.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull Master Branch:
      wip-mdl-55117

      Description

      Following behat fails were observed while running single run on master.

          And I should not see "Discussion 2" # /home/rajesh/moodles/test/moodle/mod/forum/tests/behat/discussion_navigation.feature:64
            "Discussion 2" text was found in the page (Behat\Mink\Exception\ExpectationException)
       
          Then I should see "Course Badge" # /home/rajesh/moodles/test/moodle/badges/tests/behat/award_badge.feature:229
            "Course Badge" text was not found in the page (Behat\Mink\Exception\ExpectationException)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rajeshtaneja Rajesh Taneja
              Reporter:
              rajeshtaneja Rajesh Taneja
              Peer reviewer:
              Marina Glancy
              Integrator:
              Dan Poltawski
              Tester:
              Jake Dallimore
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Nov/16