This shows up in our Drupal 10 tests on GitLabCI.

It's apparently related to running on GitLabCI. Never had this problem on DrupalCI.

3) Drupal\Tests\rules\FunctionalJavascript\EventBundleTest::testEventBundleSelection
RuntimeException: Unable to complete AJAX request.
/builds/project/rules/web/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php:117
/builds/project/rules/web/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php:38
/builds/project/rules/tests/src/FunctionalJavascript/EventBundleTest.php:64
/builds/project/rules/vendor/phpunit/phpunit/src/Framework/TestResult.php:729

Issue fork rules-3458065

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

TR created an issue. See original summary.

TR credited vishalkhode.

tr’s picture

A change was proposed by @vishalkhode in an unrelated issue here:
https://git.drupalcode.org/project/rules/-/merge_requests/28#note_328660

I have created an MR with that change - lets see what the testbot says...

  • TR committed 131998b7 on 4.0.x
    Issue #3458065 by vishalkhode: Fix Javascript test failure
    
tr’s picture

Status: Active » Fixed

Yes, that eliminated the testing error. Merged.

tr’s picture

Issue summary: View changes

  • TR committed 23735ff1 on 8.x-3.x
    Issue #3458065 by vishalkhode: Fix Javascript test failure
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.