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

Random behat failures in various block_myoverview scenarios

    XMLWordPrintable

Details

    • Moppies Kanban, Moppies Kanban

    Description

      Immediate after upgrading to W3C drivers, some new random failures were detected in various scenarios of the block_myoverview. Main ones being:

      • Next page button should be disabled when on the last page of courses (10 times). (link to build)
      • Next and previous page buttons should both be enabled when not on last or first page of courses (7 times). (link to build)

      Not sure about the branches where they happen, the 2 links above are 39_STABLE.

      Errors in output are like this:

      001 Scenario: Next and previous page buttons should both be enabled when not on last or first page of courses # /var/www/html/blocks/myoverview/tests/behat/block_myoverview_pagination.feature:154
            And I wait until ".block_myoverview [data-control='next']" "css_element" exists                         # /var/www/html/blocks/myoverview/tests/behat/block_myoverview_pagination.feature:184
              The '.block_myoverview [data-control='next']' element does not exist and should (Behat\Mink\Exception\ExpectationException)
       
      2 scenarios (1 passed, 1 failed)
      30 steps (22 passed, 1 failed, 7 skipped)
      0m24.46s (52.18Mb)
      

      Ciao

      Attachments

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              stronk7 Eloy Lafuente (stronk7)
              Amaia Anabitarte Amaia Anabitarte
              Jun Pataleta Jun Pataleta
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Jul/21

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 6 minutes
                  3h 6m