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

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

XMLWordPrintable

    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • wip-mdl-51285
    • 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

      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.

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            cameron1729 cameron1729
            David Monllaó David Monllaó
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.