3 * Testing behavior for JSWebAssertTest.
6 (function ($, Drupal, drupalSettings) {
11 * @type {Drupal~behavior}
13 * @prop {Drupal~behaviorAttach} attach
14 * Makes changes in the DOM to be able to test the completion of AJAX in assertWaitOnAjaxRequest.
16 Drupal.behaviors.js_webassert_test_wait_for_ajax_request = {
17 attach: function (context) {
18 $('input[name="test_assert_wait_on_ajax_input"]').val('js_webassert_test');
22 })(jQuery, Drupal, drupalSettings);