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

Behat failure on managing tags feature

XMLWordPrintable

    • MOODLE_31_STABLE

      Selenium 2.45.0

      Note that this test passes on Selenium 2.47.1

       
      07. Element not found with xpath, (//html/.//*[self::input | self::textarea | self::select][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'hidden')][(((./@id = 'New name for tag Cat' or ./@name = 'New name for tag Cat') or ./@id = //label[contains(normalize-space(string(.)), 'New name for tag Cat')]/@for) or ./@placeholder = 'New name for tag Cat')] | .//label[contains(normalize-space(string(.)), 'New name for tag Cat')]//.//*[self::input | self::textarea | self::select][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'hidden')])[1]
          
          Unable to locate element: {"method":"xpath","selector":"(//html/.//*[self::input | self::textarea | self::select][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'hidden')][(((./@id = 'New name for tag Cat' or ./@name = 'New name for tag Cat') or ./@id = //label[contains(normalize-space(string(.)), 'New name for tag Cat')]/@for) or ./@placeholder = 'New name for tag Cat')] | .//label[contains(normalize-space(string(.)), 'New name for tag Cat')]//.//*[self::input | self::textarea | self::select][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'hidden')])[1]"}
          For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
          Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
          System info: host: 'marina-desktop', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-68-generic', java.version: '1.7.0_80'
          Driver info: driver.version: unknown
          In step `And I press key "13" in the field "New name for tag Cat"'.                                     # behat_forms::i_press_key_in_the_field()
          From scenario `Renaming the tag using quick edit field on tag manage page'.                             # /home/marina/repositories/mysql_master/moodle/tag/tests/behat/edit_tag.feature:134
          Of feature `Users can edit tags to add description or rename'.                                          # /home/marina/repositories/mysql_master/moodle/tag/tests/behat/edit_tag.feature
      

      or sometimes:

      01. Element is no longer attached to the DOM
          For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
          Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
          System info: host: 'marina-desktop', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-68-generic', java.version: '1.7.0_80'
          Driver info: driver.version: unknown
          In step `And I press key "13" in the field "New name for tag Cat"'.         # behat_forms::i_press_key_in_the_field()
          From scenario `Renaming the tag using quick edit field on tag manage page'. # /home/marina/repositories/mysql_master/moodle/tag/tests/behat/edit_tag.feature:134
          Of feature `Users can edit tags to add description or rename'.              # /home/marina/repositories/mysql_master/moodle/tag/tests/behat/edit_tag.feature
      

            Unassigned Unassigned
            marina Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.