Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-49816 Random behat fails (old)
  3. MDL-49372

Random behat fails on nightly while opening menu.

    XMLWordPrintable

    Details

      Description

      Recent integration of MDL-49184 has introduced few random fails while opening menu.

      01. The "((//html//div[contains(concat(' ', normalize-space(@class), ' '), ' block ') and
              (contains(concat(' ', normalize-space(@class), ' '), concat(' ', 'Blog menu', ' ')) or
               descendant::h2[normalize-space(.) = 'Blog menu'] or
               @aria-label = 'Blog menu')])[1]//a[./@href][(((./@id = 'Configure' or contains(normalize-space(string(.)), 'Configure')) or contains(./@title, 'Configure') or contains(./@rel, 'Configure')) or .//img[contains(./@alt, 'Configure')])]|(//html//div[contains(concat(' ', normalize-space(@class), ' '), ' block ') and
              (contains(concat(' ', normalize-space(@class), ' '), concat(' ', 'Blog menu', ' ')) or
               descendant::h2[normalize-space(.) = 'Blog menu'] or
               @aria-label = 'Blog menu')])[1]//*[./@role = 'link'][((./@id = 'Configure' or contains(./@value, 'Configure')) or contains(./@title, 'Configure') or contains(normalize-space(string(.)), 'Configure'))])[1]" xpath node is not visible and it should be visible
          In step `Given I click on "Configure" "link" in the "Blog menu" "block"'.     # behat_general::i_click_on_in_the()
          From scenario `Add a choice activity and complete the activity as a student'. # /var/lib/jenkins/moodle/behat_whole_suite_m27/mod/choice/tests/behat/block_editing.feature:10
          Of feature `Add choice activity'.                                             # /var/lib/jenkins/moodle/behat_whole_suite_m27/mod/choice/tests/behat/block_editing.feature
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rajeshtaneja Rajesh Taneja
              Reporter:
              rajeshtaneja Rajesh Taneja
              Peer reviewer:
              David Monllaó David Monllaó
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: