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

[random test failure] Random error in layout_builder FunctionalJavascript tests

$
0
0

Problem/Motivation

Some of the functional JavaScript tests in the Layout Builder module are causing intermittent failures (errors, not failed assertions):

https://www.drupal.org/pift-ci-job/2306318
https://www.drupal.org/pift-ci-job/2311368
https://www.drupal.org/pift-ci-job/2311855 -- Test against HEAD

The failing tests include

  • AjaxBlockTest
  • ContentPreviewToggleTest
  • LayoutBuilderTest

Steps to reproduce

For example, https://www.drupal.org/pift-ci-job/2311855 failed with

There was 1 error:

1) Drupal\Tests\layout_builder\FunctionalJavascript\AjaxBlockTest::testAddAjaxBlock
Behat\Mink\Exception\ElementNotFoundException: Form field with id|name|label|value "settings[ajax_test]" not found.

/var/www/html/vendor/behat/mink/src/WebAssert.php:636
/var/www/html/core/tests/Drupal/Tests/WebAssert.php:1075
/var/www/html/core/modules/layout_builder/tests/src/FunctionalJavascript/AjaxBlockTest.php:86
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:703

ERRORS!
Tests: 1, Assertions: 10, Errors: 1.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 291815

Trending Articles



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