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

Random behat errors in participants page

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9
    • 3.9
    • Course

    Description

      The following behat errors appeared in the participants page 1-2 weeks ago.

      • Do not allow a message to be sent as the user does not have the correct capabilities
      • An teacher can add multiple notes
      • All filters can be cleared at once

      A couple of failed runs:

      And this is the output:

       

      Capability test for 'moodle/site:messageanyuser'. Do not allow a message to be sent as the user does not have the correct capabilities (from Capability test for 'moodle_site_messageanyuser')
      And I follow "Student 1": stale element reference: element is not attached to the page document  (Session info: chrome=79.0.3945.117)  (Driver info: chromedriver=79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}),platform=Linux 4.15.0-74-generic x86_64) (WebDriver\Exception\StaleElementReference)
      

       

       

      Add notes to course participants.An teacher can add multiple notesAdd notes to course participants.An teacher can add multiple notes
      And I follow "Student 2": stale element reference: element is not attached to the page document  (Session info: chrome=79.0.3945.117)  (Driver info: chromedriver=79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}),platform=Linux 4.15.0-88-generic x86_64) (WebDriver\Exception\StaleElementReference)
      

       

       

      Course participants can be filtered.All filters can be cleared at onceCourse participants can be filtered.All filters can be cleared at once
      And I should see "Student 4" in the "participants" "table": "Student 4" text was not found in the "participants" element (Behat\Mink\Exception\ExpectationException)
      

        

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              sarjona Sara Arjona (@sarjona)
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Jake Dallimore Jake Dallimore
              CiBoT CiBoT
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 3 hours, 9 minutes
                  1d 3h 9m