AjaxBehaviorTest tests without AJAX enabled

Created on 22 December 2022, over 2 years ago
Updated 11 March 2025, 22 days ago

Problem/Motivation

\Drupal\Tests\facets\FunctionalJavascript\AjaxBehaviorTest intends to test AJAX integration for Facets. However, the test uses a View without AJAX enabled.

Steps to reproduce

Add the following line to AjaxBehaviorTest and notice the Facet links do not work with AJAX:

$this->assertSession()->waitForElementVisible('css', '.test-wait', 9999999);

Proposed resolution

Enable AJAX in the AjaxBehaviorTest

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

🇳🇱Netherlands idebr

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇧🇪Belgium borisson_ Mechelen, 🇧🇪

    Since this is in the 2.x version of facets and it is regarding ajax, I'm going to close this issue. We are only supporting ajax with views in facets 3.x.

Production build 0.71.5 2024