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

Random behat failure with scenario "Deleting users who have unread messages sent or received"

    XMLWordPrintable

Details

    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE

    Description

      We have detected a number of random behat failures with the "Deleting users who have unread messages sent or received" scenario. Some times it fails only once, others twice (original + rerun).

      It seems to happen really often with Firefox:

      Link: https://ci.moodle.org/job/S.04.01%20-%20Behat%20-%20Firefox%20+%20Postgres/323/

      Scenario: Deleting users who have unread messages sent or received       # /var/www/html/user/tests/behat/delete_users.feature:62
            And I send "Message 2 from user3 to user4" message to "User Four" user # /var/www/html/user/tests/behat/delete_users.feature:67
              The "((//html/descendant-or-self::*[@data-region = 'message-drawer']/descendant-or-self::*/*[@data-region = 'footer-container']/descendant-or-self::*/*[@data-region = 'view-conversation'])[1]/descendant-or-self::*[@data-action = 'send-message'])[1]" xpath node is not visible and it should be visible
              
              +--[ http://run692f2b997c8ddb51/behatrun1/my/# | MoodleSelenium2Driver ]
              |
              |  <!DOCTYPE html>
              |  <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr" class="yui3-js-enabled"><head>
              |      <title>Dashboard</title>
              |      <link href="http://run692f2b997c8ddb51/behatrun1/theme/image.php/boost/theme/1554787190/favicon" rel="shortcut icon" />
              |      <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
              |  <meta content="moodle, Dashboard" name="keywords" />
              |  <link href="http://run692f2b997c8ddb51/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_1554804706331_8" src="http://run692f2b997c8ddb51/behatrun1/theme/yui_combo.php?m/1554787190/core/event/event-debug.js&amp;m/1554787190/filter_mathjaxloader/loader/loader-debug.js" async=""></script><script charset="utf-8" id="yui_3_17_2_1_1554804706331_19" src="http://run692f2b997c8ddb51/behatrun1/theme/yui_combo.php?3.17.2/event-mousewheel/event-mousewheel.js&amp;3.17.2/event-resize/event-resize.js&amp;3.17....
              |
       
      1 scenario (1 failed)
      34 steps (8 passed, 1 failed, 25 skipped)
      0m39.16s (48.66Mb)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stronk7 Eloy Lafuente (stronk7)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: