X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fjs_webassert_test%2Fjs%2Fjs_webassert_test.wait_for_element.js;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fjs_webassert_test%2Fjs%2Fjs_webassert_test.wait_for_element.js;h=4ab7ba4e70fe637e7cf5801582bb5f52a0541f47;hp=e11067b24cf890e81360cfd7286aa950ddc93cf0;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/system/tests/modules/js_webassert_test/js/js_webassert_test.wait_for_element.js b/web/core/modules/system/tests/modules/js_webassert_test/js/js_webassert_test.wait_for_element.js index e11067b24..4ab7ba4e7 100644 --- a/web/core/modules/system/tests/modules/js_webassert_test/js/js_webassert_test.wait_for_element.js +++ b/web/core/modules/system/tests/modules/js_webassert_test/js/js_webassert_test.wait_for_element.js @@ -1,22 +1,14 @@ /** - * @file - * Testing behavior for JSWebAssertTest. - */ +* DO NOT EDIT THIS FILE. +* See the following change record for more information, +* https://www.drupal.org/node/2815083 +* @preserve +**/ (function ($, Drupal, drupalSettings) { - - 'use strict'; - - /** - * @type {Drupal~behavior} - * - * @prop {Drupal~behaviorAttach} attach - * Makes changes in the DOM to be able to test the completion of AJAX in assertWaitOnAjaxRequest. - */ Drupal.behaviors.js_webassert_test_wait_for_element = { - attach: function (context) { + attach: function attach(context) { $('#js_webassert_test_element_invisible').show(); } }; - -})(jQuery, Drupal, drupalSettings); +})(jQuery, Drupal, drupalSettings); \ No newline at end of file