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

    • MOODLE_31_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • wip-mdl-55117
    • 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.

    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

              rajeshtaneja Rajesh Taneja
              rajeshtaneja Rajesh Taneja
              Marina Glancy Marina Glancy
              Dan Poltawski Dan Poltawski
              Jake Dallimore Jake Dallimore
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Nov/16