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

Random behat failures with some deleted messages and conversations scenarios

    XMLWordPrintable

Details

    • Team Omega radar

    Description

      There are two scenarios failing randomly which cause could be the same:

      Scenario: Check a deleted starred conversation is still starred

      link: https://ci.moodle.org/job/W.03.05%20-%20Behat%20-%20Chrome%20+%20Oracle/1382/

      001 Scenario: Check a deleted starred conversation is still starred # /var/www/html/message/tests/behat/message_delete_conversation.feature:106
            And I send "Hi!" message to "Student 2" user                  # /var/www/html/message/tests/behat/message_delete_conversation.feature:121
              element not interactable
                (Session info: headless chrome=96.0.4664.45) (Facebook\WebDriver\Exception\ElementNotInteractableException)
       
      2 scenarios (1 passed, 1 failed)
      

      Scenario: Check an empty favourite conversation is still favourite

      link: https://ci.moodle.org/job/W.03.05%20-%20Behat%20-%20Chrome%20+%20Oracle/1376/

      001 Scenario: Check an empty favourite conversation is still favourite # /var/www/html/message/tests/behat/delete_messages.feature:248
            And I send "Hi!" message to "Student 2" user                     # /var/www/html/message/tests/behat/delete_messages.feature:265
              element not interactable
                (Session info: headless chrome=96.0.4664.45) (Facebook\WebDriver\Exception\ElementNotInteractableException)
      

      As you can see, the error in both is pretty much the same. Only Oracle, 311_STABLE and up. And, apparently, only Chrome.

      Note that this MAY be similar to MDL-72727 (although the failures there is different).

      Attachments

        Issue Links

          Activity

            People

              lameze Simey Lameze
              stronk7 Eloy Lafuente (stronk7)
              Paul Holden Paul Holden
              Andrew Lyons Andrew Lyons
              CiBoT CiBoT
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Jan/23

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 41 minutes
                  2h 41m