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

Random failure with Timeline block - problem with buttons

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.9, 3.7.5
    • Fix Version/s: None
    • Labels:
      None

      Description

      This issue covers random failures when playing with the buttons in the timeline block. 2 problems have been detected that may be cause by the same cause:

      • Link having "25" not found. Random, detected with 36/37 stable for now...
      • Button "5" not clickable

      Link to run: https://ci.moodle.org/job/W37.03.03%20-%20Behat%20-%20Chrome%20+%20MariaDB%20(lowest)/197/

      001 Scenario: All in date view no next                      # /var/www/html/blocks/timeline/tests/behat/block_timeline_dates.feature:76
            When I click on "25" "link" in the "Timeline" "block" # /var/www/html/blocks/timeline/tests/behat/block_timeline_dates.feature:81
              The "((//html/.//*[@data-block][contains(concat(' ', normalize-space(@class), ' '), concat(' ', 'Timeline', ' ')) or
                   descendant::*[self::h2|self::h3|self::h4|self::h5][normalize-space(.) = 'Timeline']  or
                   @aria-label = 'Timeline'])[1]/.//a
              [./@href][((./@id = '25' or contains(normalize-space(string(.)), '25') or contains(./@title, '25') or contains(./@rel, '25')) or .//*[(contains(concat(' ', @class, ' '), ' icon ') or name() = 'img') and (contains(./@alt, '25') or contains(./@title, '25'))])] | (//html/.//*[@data-block][contains(concat(' ', normalize-space(@class), ' '), concat(' ', 'Timeline', ' ')) or
                   descendant::*[self::h2|self::h3|self::h4|self::h5][normalize-space(.) = 'Timeline']  or
                   @aria-label = 'Timeline'])[1]/.//*
              [translate(./@role, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'link'][((./@id = '25' or contains(./@value, '25')) or contains(./@title, '25') or contains(normalize-space(string(.)), '25'))])[1]" xpath node is not visible and it should be visible
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            stronk7 Eloy Lafuente (stronk7)
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: