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

Random behat fails in alphachooser

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Initialise Behat.
      2. Run selenium.
      3. Copy alpha_chooser_test.sh to your moodle root directory and make it executable (e.g. chmod +x alpha_chooser_test.sh)
      4. Run alpha_chooser_test.sh from CLI.
        • Confirm that all tests pass.

      Note: You may edit and increase the iteration count in the script from 10 to anything you want.

      Show
      Initialise Behat. Run selenium. Copy alpha_chooser_test.sh to your moodle root directory and make it executable (e.g. chmod +x alpha_chooser_test.sh) Run alpha_chooser_test.sh from CLI. Confirm that all tests pass. Note: You may edit and increase the iteration count in the script from 10 to anything you want.
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-59658-master

      Description

      ---Running behat Process 1 again for failed steps---
      Moodle 3.3.1+ (Build: 20170727), eb560d07452d8b76bbf995221c94d06a46a3b096
      Php: 7.0.16.4.1, mysqli: 5.7.18, OS: Linux 4.4.0-83-generic x86_64
      Server OS "Linux", Browser: "firefox"
      Started at 28-07-2017, 19:55
      ...................................................................... 70
      .........F--.......................................................... 140
      .........................................................
       
      --- Failed steps:
       
      001 Scenario: Filter users on course participants page # /var/www/html/moodle/lib/tests/behat/alpha_chooser.feature:188
            And I should see "Astudent Astudent"             # /var/www/html/moodle/lib/tests/behat/alpha_chooser.feature:242
              "Astudent Astudent" text was not found in the page
              
              +--[ http://172.18.0.8/moodle/behatrun1/user/index.php?contextid=168025&roleid=0&id=169000&perpage=20&search&silast | MoodleSelenium2Driver ]
              |
              |  <!DOCTYPE html>
              |  <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr" class="yui3-js-enabled"><head>
              |      <title>C1: Participants</title>
              |      <link href="http://172.18.0.8/moodle/behatrun1/theme/image.php/boost/theme/1501222246/favicon" rel="shortcut icon" />
              |      <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
              |  <meta content="moodle, C1: Participants" name="keywords" />
              |  <link href="http://172.18.0.8/moodle/behatrun1/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.css" type="text/css" rel="stylesheet" /><script charset="utf-8" id="yui_3_17_2_1_1501243011589_8" src="http://172.18.0.8/moodle/behatrun1/theme/yui_combo.php?m/1501222246/core/event/event-debug.js&amp;m/1501222246/filter_mathjaxloader/loader/loader-debug.js" async=""></script><script charset="utf-8" id="yui_3_17_2_1_1501243011589_19" src="http://172.18.0.8/moodle/behatrun1/lib/javascript.php/1501222246/user/module.js" async=""></script><script charset="utf-8" id="yui_3_17_2_1_15...
              |
       
      6 scenarios (5 passed, 1 failed)
      197 steps (194 passed, 1 failed, 2 skipped)
      4m32.27s (65.76Mb)
      

      http://nightly.test.in.moodle.com:8080/job/M33.02%20Pull,%20Setup%20and%20run%20all%20behat%20features%20in%20firefox-linux%20-%20Parallel/47/consoleFull#L2,306

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jpataleta Jun Pataleta
                Reporter:
                dobedobedoh Andrew Nicols
                Peer reviewer:
                Andrew Nicols
                Integrator:
                Dan Poltawski
                Tester:
                Mark Nelson
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Sep/17