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

Behat test in blocks_admin_bookmarks failing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Inactive
    • Affects Version/s: 3.6
    • Fix Version/s: None
    • Component/s: Blocks
    • Labels:
    • Affected Branches:
      MOODLE_36_STABLE

      Description

      When running behat test 

      blocks/admin_bookmarks/tests/behat/bookmark_admin_pages.feature errors appear due a New Settings page appearing.

      This page will interfere with the common flow of the test, so it will fail with this message:

       

      001 Scenario: Admin page can be accessed through bookmarks block               #blocks/admin_bookmarks/tests/behat/bookmark_admin_pages.feature:22
            And I click on "Scheduled tasks" "link" in the "Admin bookmarks" "block" #blocks/admin_bookmarks/tests/behat/bookmark_admin_pages.feature:26
              Block matching locator "'Admin bookmarks'" not found. (Behat\Mink\Exception\ElementNotFoundException)
       
      002 Scenario: Admin page can be removed from bookmarks                         #blocks/admin_bookmarks/tests/behat/bookmark_admin_pages.feature:30
            And I click on "Scheduled tasks" "link" in the "Admin bookmarks" "block" #blocks/admin_bookmarks/tests/behat/bookmark_admin_pages.feature:34
              Block matching locator "'Admin bookmarks'" not found. (Behat\Mink\Exception\ElementNotFoundException)
      

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              juanibarral Juan Ibarra
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m