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

Random failures related to tags in multiple activities

    XMLWordPrintable

    Details

      Description

      Recently we have detected a growing number of random failures in behat tests.

      All them related with tags and happening from different activities (book, forum and glossary at very least). Too many to be just a coincidence:

      Book

      001 Scenario: Book chapter edition of standard tags works as expected # /var/www/html/mod/book/tests/behat/edit_tags.feature:45
            Then I should see "OT1" in the ".book-tags" "css_element"       # /var/www/html/mod/book/tests/behat/edit_tags.feature:65
              "OT1" text was not found in the ".book-tags" element
      

      Forum

      001 Scenario: Forum post edition of standard tags works as expected                   # /var/www/html/mod/forum/tests/behat/edit_tags.feature:42
            And I set the field "Enter comma-separated list of new tags" to "OT1, OT2, OT3" # /var/www/html/mod/forum/tests/behat/edit_tags.feature:47
              element not interactable
      

      Glossary

      001 Scenario: Glossary entry edition of standard tags works as expected               # /var/www/html/mod/glossary/tests/behat/edit_tags.feature:45
            And I set the field "Enter comma-separated list of new tags" to "OT1, OT2, OT3" # /var/www/html/mod/glossary/tests/behat/edit_tags.feature:50
              Exception: element not interactable
      

      Wiki

      001 Scenario: Wiki page edition of standard tags works as expected                    # /var/www/html/mod/wiki/tests/behat/edit_tags.feature:47
            And I set the field "Enter comma-separated list of new tags" to "OT1, OT2, OT3" # /var/www/html/mod/wiki/tests/behat/edit_tags.feature:52
              Exception: element not interactable
      

      This is about to find the cause and try to fix it. Seems to be master-only, till now.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: