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

"A user can navigate between discussions with visible groups" fails randomly.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Run following behat scenario in a loop and make sure it pass all the time.
        "A user can navigate between discussions with visible groups"

        while [[ $? -eq 0 ]]; do vendor/bin/behat --config /home/rajesh/moodles/im/moodledata_behat/mariadb/behat/behat.yml --name "A user can navigate between discussions with visible groups" --verbose; done
        

      Show
      Run following behat scenario in a loop and make sure it pass all the time. "A user can navigate between discussions with visible groups" while [[ $? -eq 0 ]]; do vendor/bin/behat --config /home/rajesh/moodles/im/moodledata_behat/mariadb/behat/behat.yml --name "A user can navigate between discussions with visible groups" --verbose; done
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:
      wip-mdl-51285

      Description

      After MDL-51088 got fixed, "A user can navigate between discussions with visible groups" scenario started failing randomly.

      Reason being discussions are being ordered by time and 1-2 discussions are being generated at same time (sometime).

      There are 2 ways to solve it:

      1. Add id to order with timecreated.
      2. Add wait in scenario.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Nov/15