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

edit_guide.feature fails on a slow machine

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Run following behat and make sure it passes all the time.
        while [ $? -eq 0 ]; do vendor/bin/behat --config /store/moodledata/data/behat_behat_whole_suite_m_parallel/behat/behat.yml grade/grading/form/guide/tests/behat/edit_guide.feature; done
      2. To be performed by test master: Compare nightly results with previous parallel runs, both in number of rerun features (to see if setting the focus always leads to windows fighting) and execution time. If there are not noticeable problems, the test can be passed. With any of the 2 above hurting, we'll need to reconsider this.
      Show
      Run following behat and make sure it passes all the time. while [ $? -eq 0 ]; do vendor/bin/behat --config /store/moodledata/data/behat_behat_whole_suite_m_parallel/behat/behat.yml grade/grading/form/guide/tests/behat/edit_guide.feature; done To be performed by test master: Compare nightly results with previous parallel runs, both in number of rerun features (to see if setting the focus always leads to windows fighting) and execution time. If there are not noticeable problems, the test can be passed. With any of the 2 above hurting, we'll need to reconsider this.
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      wip-mdl-55258-m

      Description

      Following fail was observed after the nightly02 ssd crashed and replaced with HDD (which is slow.)

      Reason this is failing is, after confirming the dialogue the screen is scrolled and save button should be pressed. While pressing save button, it fails sometimes because of machine being slow.

      jenkins@nightly02:/var/www/html/behat_whole_suite_m_parallel$ vendor/bin/behat --config /store/moodledata/data/behat_behat_whole_suite_m_parallel/behat/behat.yml /store/moodle/behat_whole_suite_m_parallel/grade/grading/form/guide/tests/behat/edit_guide.feature:52
      Moodle 3.2dev (Build: 20160714), 36a19ecc26d9299af09e7bec9e8dfa99729e1973
      Php: 7.0.4.7.2.1, pgsql: 9.5.3, OS: Linux 4.4.0-21-generic x86_64
      Server OS "Linux", Browser: "firefox"
      Started at 18-07-2016, 08:53
      ..........................F---------
       
      --- Failed steps:
       
          And I should see "WARNING: Your marking guide has a maximum grade of 70 points" # /store/moodle/behat_whole_suite_m_parallel/grade/grading/form/guide/tests/behat/edit_guide.feature:60
            "WARNING: Your marking guide has a maximum grade of 70 points" text was not found in the page (Behat\Mink\Exception\ExpectationException)
       
      1 scenario (1 failed)
      36 steps (26 passed, 1 failed, 9 skipped)
      0m46.19s (42.21Mb)
      
      

        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