Fix intermittent test failures issues with MultiselectDropdownViewsJavascriptTest

Created on 12 May 2024, about 2 months ago
Updated 23 May 2024, about 1 month ago

Problem/Motivation

Test Drupal\Tests\multiselect_dropdown\FunctionalJavascript\MultiselectDropdownViewsJavascriptTest::testDialogPersists intermittently fails with message

WebDriver\Exception\CurlExec: Curl error thrown for http POST to http://localhost:9515/session/3b72d2ec7bf3d0559bcf17f8947cd97f/execute with params: {"script":"return arguments[0].getAttribute(\"aria-expanded\")","args":[{"element-6066-11e4-a52e-4f735466cecf":"f.7034136BCFE3A79AC341E4471ADBB7DF.d.855FC96926F94689261AC8E893C7DEE0.e.18","ELEMENT":"f.7034136BCFE3A79AC341E4471ADBB7DF.d.855FC96926F94689261AC8E893C7DEE0.e.18"}]}
Retries: 10 and last result:
{"sessionId":"3b72d2ec7bf3d0559bcf17f8947cd97f","status":10,"value":{"message":"stale element reference: stale element not found in the current frame\n  (Session info: chrome-headless-shell=123.0.6312.58)\n  (Driver info: chromedriver=123.0.6312.58 (6b4b19e9dfbb93aa414dc045bd445287977d8d7a-refs/branch-heads/6312_46@{#3}),platform=Linux 5.4.266-178.365.amzn2.x86_64 x86_64)"}}
/builds/project/multiselect_dropdown/vendor/instaclick/php-webdriver/lib/WebDriver/Exception.php:198
/builds/project/multiselect_dropdown/web/core/tests/Drupal/FunctionalJavascriptTests/WebDriverCurlService.php:152
/builds/project/multiselect_dropdown/vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php:125
/builds/project/multiselect_dropdown/vendor/instaclick/php-webdriver/lib/WebDriver/Session.php:455
/builds/project/multiselect_dropdown/vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php:326
/builds/project/multiselect_dropdown/vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php:301
/builds/project/multiselect_dropdown/vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php:546
/builds/project/multiselect_dropdown/vendor/behat/mink/src/Element/NodeElement.php:142
/builds/project/multiselect_dropdown/vendor/behat/mink/src/WebAssert.php:673
/builds/project/multiselect_dropdown/tests/src/FunctionalJavascript/MultiselectDropdownViewsJavascriptTest.php:99
/builds/project/multiselect_dropdown/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States benabaird

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024