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

More random failures related with autocompletion and suggestions box

XMLWordPrintable

      With MDL-59534 we fixed one (more or less) consistent failure, where the, now persistent, see MDL-59365, suggestions box was making the "save changes" button not clickable. What we did was to get rid of the suggestions box by pressing escape.

      But it seems that there are other errors happening, randomly, and because of the pages involved and all them happening since last week... seem to be related to the same "autocomplete suggestions box persistence" hiding / making some other elements hardly accessible (clicked, filled...).

      Here there are some errors, some ended passing after a number of reruns... others seem to be more "consistent"... and all them are in forms having autocomplete/suggestions.

      001 Scenario: Adding a user to one group   # /var/www/html/enrol/tests/behat/add_to_group.feature:26
            And I click on "Save changes" "link" # /var/www/html/enrol/tests/behat/add_to_group.feature:35
              unknown error: Element <a href="#">...</a> is not clickable at point (645, 618). Other element would receive the click: <input type="text" id="form_autocomplete_input-1500047105206" class="form-control" list="form_autocomplete_suggestions-1500047105206" placeholder="" role="combobox" aria-expanded="true" autocomplete="off" autocorrect="off" autocapitalize="off" aria-autocomplete="list" aria-owns="form_autocomplete_suggestions-1500047105206 form_autocomplete_selection-1500047105206" aria-activedescendant="form_autocomplete_suggestions-1500047105206-0">
                (Session info: chrome=58.0.3029.81)
                (Driver info: chromedriver=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5),platform=Linux 4.4.0-72-generic x86_64) (WARNING: The server did not provide any stacktrace information)
              Command duration or timeout: 34 milliseconds
              Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
              System info: host: '8d2e1e74decc', ip: '172.18.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-72-generic', java.version: '1.8.0_121'
              Driver info: org.openqa.selenium.chrome.ChromeDriver
              Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5), userDataDir=/tmp/.org.chromium.Chromium.bHxisM}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=58.0.3029.81, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}]
              Session ID: 27a5256ee06f7df90fd38c1f9ede7b17 (WebDriver\Exception\UnknownError)
       
       
       
       
       
      002 Scenario: Perform an advanced search using tags # /var/www/html/mod/forum/tests/behat/advanced_search.feature:117
            And I press "Save changes"                    # /var/www/html/mod/forum/tests/behat/advanced_search.feature:125
              unknown error: Element <input type="submit" class="btn
                                  btn-primary
                                  
                                  " name="submitbutton" id="id_submitbutton" value="Save changes"> is not clickable at point (559, 438). Other element would receive the click: <form id="mformforum" autocomplete="off" action="post.php" method="post" accept-charset="utf-8" class="mform">...</form>
                (Session info: chrome=58.0.3029.81)
                (Driver info: chromedriver=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5),platform=Linux 4.4.0-72-generic x86_64) (WARNING: The server did not provide any stacktrace information)
              Command duration or timeout: 35 milliseconds
              Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
              System info: host: '8d2e1e74decc', ip: '172.18.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-72-generic', java.version: '1.8.0_121'
              Driver info: org.openqa.selenium.chrome.ChromeDriver
              Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5), userDataDir=/tmp/.org.chromium.Chromium.bHxisM}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=58.0.3029.81, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}]
              Session ID: 27a5256ee06f7df90fd38c1f9ede7b17 (WebDriver\Exception\UnknownError)
       
      2 scenarios (2 failed)
       
       
       
       
      001 Scenario: Forum post edition of custom tags works as expected # /var/www/html/mod/forum/tests/behat/edit_tags.feature:30
            Then I should see "Tag1" in the ".forum-tags" "css_element" # /var/www/html/mod/forum/tests/behat/edit_tags.feature:37
              Css matching locator ".forum-tags" not found. (Behat\Mink\Exception\ElementNotFoundException)
       
       
       
       
       
      002 Scenario: User can be enrolled with javascript enrol element # /var/www/html/enrol/tests/behat/enrol_user.feature:24
            When I enrol "Studie One" user as "Student"                # /var/www/html/enrol/tests/behat/enrol_user.feature:25
              unknown error: Element <button type="button" class="btn btn-primary" data-action="save">...</button> is not clickable at point (600, 423). Other element would receive the click: <div class="modal-footer" data-region="footer">...</div>
                (Session info: chrome=58.0.3029.81)
                (Driver info: chromedriver=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5),platform=Linux 4.4.0-72-generic x86_64) (WARNING: The server did not provide any stacktrace information)
              Command duration or timeout: 35 milliseconds
              Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
              System info: host: '8d2e1e74decc', ip: '172.18.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-72-generic', java.version: '1.8.0_121'
              Driver info: org.openqa.selenium.chrome.ChromeDriver
              Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5), userDataDir=/tmp/.org.chromium.Chromium.AVJGah}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=58.0.3029.81, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}]
              Session ID: fd0c7aac603fd124644a89bacfcca748 (WebDriver\Exception\UnknownError)
      
      

      So it seems that this needs some common solution. maybe we can have a named step to say "And I tell field to stop showing artifacts" (the idea, eh!). And apply it to all the places where those autocomplete fields are causing problems.

      Ciao

            damyon Damyon Wiese
            stronk7 Eloy Lafuente (stronk7)
            Dan Poltawski Dan Poltawski
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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