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

Random fails behat: Unable to remove cache/click logout

    XMLWordPrintable

    Details

      Description

      Recently there has been few random failures and they are increasing often in past month. Failures are like:

      BeforeScenario # behat_hooks::before_scenario_hook()
            Warning: rmdir(/store/moodledata/data/behat_behat_whole_suite_m_chrome3/cache/cachestore_file/default_application): Directory not empty in /store/moodle/behat_whole_suite_m_chrome/lib/moodlelib.php line 9143
       
       
      001 Scenario: Allow a single user to have a different password # /store/moodle/behat_whole_suite_m_chrome/mod/lesson/tests/behat/lesson_user_override.feature:131
            And I press "Save and display"                           # /store/moodle/behat_whole_suite_m_chrome/mod/lesson/tests/behat/lesson_user_override.feature:137
       
       
      002 Scenario: Basic forms manipulation # /store/moodle/behat_whole_suite_m_chrome/admin/tool/behat/tests/behat/manipulate_forms.feature:8
            And I press "Update profile"     # /store/moodle/behat_whole_suite_m_chrome/admin/tool/behat/tests/behat/manipulate_forms.feature:18
       
      003 Scenario: Add the recent badges block to a course. # /store/moodle/behat_whole_suite_m_chrome/blocks/badges/tests/behat/block_badges_course.feature:55
            And I set the following fields to these values:  # /store/moodle/behat_whole_suite_m_chrome/blocks/badges/tests/behat/block_badges_course.feature:21
       
      001 Scenario: Non-rated single-answer dropdown multiple choice questions in feedback # /store/moodle/behat_whole_suite_m_parallel_boost/mod/feedback/tests/behat/multichoice.feature:317
            And I log out                                                                  # /store/moodle/behat_whole_suite_m_parallel_boost/mod/feedback/tests/behat/multichoice.feature:390
      The "(//html/.//a
              [./@href][((./@id = 'Log out' or contains(normalize-space(string(.)), 'Log out') or contains(./@title, 'Log out') or contains(./@rel, 'Log out')) or .//img[contains(./@alt, 'Log out')])] | //html/.//*
              [translate(./@role, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'link'][((./@id = 'Log out' or contains(./@value, 'Log out')) or contains(./@title, 'Log out') or contains(normalize-space(string(.)), 'Log out'))])[1]" xpath node is not visible and it should be visible
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rajeshtaneja Rajesh Taneja
                Reporter:
                rajeshtaneja Rajesh Taneja
                Peer reviewer:
                David Monllaó
                Integrator:
                Dan Poltawski
                Tester:
                CiBoT
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jan/17