Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300678

Frequent random fail in \Drupal\Tests\media_library\FunctionalJavascript\MediaLibraryTest

$
0
0

Problem/Motivation

Seen two different version of it probably around 5 times over the weekend:

https://www.drupal.org/pift-ci-job/1294225
https://www.drupal.org/pift-ci-job/1293378

1) Drupal\Tests\media_library\FunctionalJavascript\MediaLibraryTest::testWidgetUpload
WebDriver\Exception\UnknownError: unknown error: Element is not clickable at point (188, 631)
  (Session info: headless chrome=74.0.3729.157)
  (Driver info: chromedriver=2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb),platform=Linux 4.9.0-0.bpo.6-amd64 x86_64)

/var/www/html/vendor/instaclick/php-webdriver/lib/WebDriver/Exception.php:155
/var/www/html/vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php:157
/var/www/html/vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php:218
/var/www/html/vendor/instaclick/php-webdriver/lib/WebDriver/Container.php:224
/var/www/html/vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php:775
/var/www/html/vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php:763
/var/www/html/vendor/behat/mink/src/Element/NodeElement.php:153
/var/www/html/vendor/behat/mink/src/Element/NodeElement.php:161
/var/www/html/vendor/behat/mink/src/Element/TraversableElement.php:115
/var/www/html/core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTest.php:1055

And number 2:
https://www.drupal.org/pift-ci-job/1293997

1) Drupal\Tests\media_library\FunctionalJavascript\MediaLibraryTest::testWidgetOEmbed
Behat\Mink\Exception\ElementNotFoundException: Form field with id|name|label|value "Select Another video" not found.

/var/www/html/vendor/behat/mink/src/WebAssert.php:638
/var/www/html/vendor/behat/mink/src/WebAssert.php:710
/var/www/html/core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTest.php:1333

Proposed resolution

?

Remaining tasks

It is possible that it will not occur anymore. #2901792: Disable all animations in Javascript testing could solve the problem but we should track this issue.

There might be others but they become way way rarer once that patch is applied.


Viewing all articles
Browse latest Browse all 300678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>