EntityReferenceAdminTest fails often

Created on 10 October 2023, about 1 year ago
Updated 13 October 2023, about 1 year ago

Problem/Motivation

https://git.drupalcode.org/project/drupal/-/jobs/158531

Testing
    Drupal\Tests\field\FunctionalJavascript\EntityReference\EntityReferenceAdminTest
    E                                                                   1 / 1
    (100%)
    
    Time: 00:36.646, Memory: 4.00 MB
    
    There was 1 error:
    
    1)
    Drupal\Tests\field\FunctionalJavascript\EntityReference\EntityReferenceAdminTest::testFieldAdminHandler
    WebDriver\Exception\CurlExec: Curl error thrown for http GET to
    http://localhost:9515/session/000a93fe3b5318b13503f52d7f290081/element/0.18232889582179612-4/selected
    
    Retries: 10 and last result:
    {"sessionId":"000a93fe3b5318b13503f52d7f290081","status":10,"value":{"message":"stale
    element reference: element is not attached to the page document\n  (Session
    info: headless chrome=106.0.5249.103)\n  (Driver info:
    chromedriver=106.0.5249.61
    (511755355844955cd3e264779baf0dd38212a4d0-refs/branch-heads/5249@{#569}),platform=Linux
    5.4.241-150.347.amzn2.x86_64 x86_64)"}}
    
    /builds/project/drupal/vendor/instaclick/php-webdriver/lib/WebDriver/Exception.php:198
    /builds/project/drupal/core/tests/Drupal/FunctionalJavascriptTests/WebDriverCurlService.php:146
    /builds/project/drupal/vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php:125
    /builds/project/drupal/vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php:231
    /builds/project/drupal/vendor/instaclick/php-webdriver/lib/WebDriver/Container.php:241
    /builds/project/drupal/vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php:1112
    /builds/project/drupal/vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php:652
    /builds/project/drupal/core/tests/Drupal/FunctionalJavascriptTests/DrupalSelenium2Driver.php:166
    /builds/project/drupal/core/tests/Drupal/FunctionalJavascriptTests/DrupalSelenium2Driver.php:200
    /builds/project/drupal/core/tests/Drupal/FunctionalJavascriptTests/DrupalSelenium2Driver.php:143
    /builds/project/drupal/vendor/behat/mink/src/Element/NodeElement.php:105
    /builds/project/drupal/core/modules/field/tests/src/FunctionalJavascript/EntityReference/EntityReferenceAdminTest.php:323
    /builds/project/drupal/vendor/phpunit/phpunit/src/Framework/TestResult.php:728

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.2

Component
PHPUnit 

Last updated 1 day ago

Created by

🇬🇧United Kingdom catch

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

Comments & Activities

Production build 0.71.5 2024