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

discussion_navigation.feature fails on a fast machine.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      run following and ensure it don't fail.
      NOTE: replace the path to behat.yml with your's.

      while [ $? -eq 0 ]; do vendor/bin/behat --config /home/rajesh/moodles/im/moodledata_behat/postgres/behat/behat.yml mod/forum/tests/behat/discussion_navigation.feature; done;

      Show
      run following and ensure it don't fail. NOTE: replace the path to behat.yml with your's. while [ $? -eq 0 ]; do vendor/bin/behat --config /home/rajesh/moodles/im/moodledata_behat/postgres/behat/behat.yml mod/forum/tests/behat/discussion_navigation.feature; done;
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull Master Branch:
      wip-mdl-55337

      Description

      One more use case where non-js feature fails on a fast machine.

      After replacing hdd with ssd on nightly02 following scenario started failing randomly and the reason is the timestamp for post the same.

      rajesh@raji:/var/www/html/im$ vendor/bin/behat --config /home/rajesh/moodles/im/moodledata_behat/postgres/behat/behat.yml mod/forum/tests/behat/discussion_navigation.feature
      Moodle 3.2dev (Build: 20160721), 90a8bdbfc0082651d0a60a4396947ce9cf5d43e5
      Php: 7.0.8.0.0.16.04.1, pgsql: 9.5.3, OS: Linux 4.4.0-31-generic x86_64
      Server OS "Linux", Browser: "firefox"
      Started at 26-07-2016, 10:05
      ...........................F-------................................... 70
      ................................
       
      --- Failed steps:
       
          And I should not see "Discussion 2" # /home/rajesh/moodles/im/moodle/mod/forum/tests/behat/discussion_navigation.feature:64
            "Discussion 2" text was found in the page (Behat\Mink\Exception\ExpectationException)
       
      3 scenarios (2 passed, 1 failed)
      102 steps (94 passed, 1 failed, 7 skipped)
      0m16.91s (58.41Mb)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Sep/16