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

Various Behat failures related to BigBlueButton

    XMLWordPrintable

Details

    Description

      This failure has been happening consistently on Firefox browser and Classic theme.

      First time it appeared in a build: https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/28653/

      Other failed builds:

      Failing Scenarios

      • Test that the meeting has the right lock setting..Teacher should be able to set the right lock feature in a given meeting #1
      • Test that meeting roles are sent to the server.Users should receive the appropriate role when joining the meeting #1

      Console output

      Inspecting the console output of failed builds I could see the following failures:

      001 Example: | disablemic      | 1     | disableMic : enabled | # /var/www/html/mod/bigbluebuttonbn/tests/behat/lock_settings.feature:36
            And I click on "Join session" "link"                      # /var/www/html/mod/bigbluebuttonbn/tests/behat/lock_settings.feature:29
              The element reference of <a class="btn btn-primary bbb-btn-action" href="http://webserverf3095a6c4ac1d2b9/behatrun1/mod/bigbluebuttonbn/bbb_view.php?action=join&id=111000&bn=336000"> is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed (Facebook\WebDriver\Exception\StaleElementReferenceException)
       
      002 Example: | disableprivatechat | 1     | disablePrivateChat : enabled | # /var/www/html/mod/bigbluebuttonbn/tests/behat/lock_settings.feature:37
            And I click on "Join session" "link"                                 # /var/www/html/mod/bigbluebuttonbn/tests/behat/lock_settings.feature:29
              The element reference of <a class="btn btn-primary bbb-btn-action" href="http://webserverf3095a6c4ac1d2b9/behatrun1/mod/bigbluebuttonbn/bbb_view.php?action=join&id=111000&bn=336000"> is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed (Facebook\WebDriver\Exception\StaleElementReferenceException)
       
      003 Example: | disablepublicchat | 1     | disablePublicChat : enabled | # /var/www/html/mod/bigbluebuttonbn/tests/behat/lock_settings.feature:38
            And I click on "Join session" "link"                               # /var/www/html/mod/bigbluebuttonbn/tests/behat/lock_settings.feature:29
              The element reference of <a class="btn btn-primary bbb-btn-action" href="http://webserver8f1b44569a7bd617/behatrun3/mod/bigbluebuttonbn/bbb_view.php?action=join&id=111000&bn=336000"> is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed (Facebook\WebDriver\Exception\StaleElementReferenceException)
       
      004 Example: | role:student |         | editingteacher | VIEWER      | # /var/www/html/mod/bigbluebuttonbn/tests/behat/meeting_roles.feature:38
            And I click on "Join session" "link"                             # /var/www/html/mod/bigbluebuttonbn/tests/behat/meeting_roles.feature:30
              The element reference of <a class="btn btn-primary bbb-btn-action" href="http://webserver763516aad1aeb0b9/behatrun3/mod/bigbluebuttonbn/bbb_view.php?action=join&id=110000&bn=335000"> is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed (Facebook\WebDriver\Exception\StaleElementReferenceException)
       
      005 Scenario: I set the completion type to custom completion # /var/www/html/mod/bigbluebuttonbn/tests/behat/completion.feature:33
            Then I should see "Done: Participate in 1 chat(s)"     # /var/www/html/mod/bigbluebuttonbn/tests/behat/completion.feature:63
              "Done: Participate in 1 chat(s)" text was not found in the page (Behat\Mink\Exception\ExpectationException)
       
      006 Scenario: Recordings are not listed until we can fetch their metadata, then they are listed # /var/www/html/mod/bigbluebuttonbn/tests/behat/recordings.feature:36
            Then I should see "Recording 3"                                                           # /var/www/html/mod/bigbluebuttonbn/tests/behat/recordings.feature:43
              "Recording 3" text was not found in the page (Behat\Mink\Exception\ExpectationException)
      
      

      Inspecting the affected page on the "Acceptance test site" there are some JS errors on the console:

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              lameze Simey Lameze
              Simey Lameze Simey Lameze
              Ilya Tregubov Ilya Tregubov
              CiBoT CiBoT
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours, 20 minutes
                  1d 2h 20m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.