Search for js
Title | Object type | File name | Summary |
---|---|---|---|
JsOptimizer::optimize | function | core/ |
Optimizes an asset. |
JsOptimizer::__construct | function | core/ |
Constructs a new JsOptimizer object. |
JsOptimizerUnitTest | class | core/ |
Tests the JS asset optimizer. |
JsOptimizerUnitTest.php | file | core/ |
|
JsOptimizerUnitTest::$optimizer | property | core/ |
A JS asset optimizer. |
JsOptimizerUnitTest::providerTestClean | function | core/ |
Provides data for the JS asset cleaning test. |
JsOptimizerUnitTest::providerTestOptimize | function | core/ |
Provides data for the JS asset optimize test. |
JsOptimizerUnitTest::setUp | function | core/ |
|
JsOptimizerUnitTest::testClean | function | core/ |
Tests cleaning of a JS asset group containing 'type' => 'file'. |
JsOptimizerUnitTest::testOptimize | function | core/ |
Tests cleaning of a JS asset group containing 'type' => 'file'. |
JsTestingAjaxRequestTestHooks | class | core/ |
Hook implementations for js_testing_ajax_request_test. |
JsTestingAjaxRequestTestHooks.php | file | core/ |
|
JsTestingAjaxRequestTestHooks::pageAttachments | function | core/ |
Implements hook_page_attachments(). |
JsTestingLogTestHooks | class | core/ |
Hook implementations for js_testing_log_test. |
JsTestingLogTestHooks.php | file | core/ |
|
JsTestingLogTestHooks::jsSettingsAlter | function | core/ |
Implements hook_js_settings_alter(). |
JsTestingLogTestHooks::pageAttachments | function | core/ |
Implements hook_page_attachments(). |
JSTranslationTest | class | core/ |
Tests for CKEditor 5 plugins using Drupal's translation system. |
JSTranslationTest.php | file | core/ |
|
JSTranslationTest::$modules | property | core/ |
Modules to install. |
JSTranslationTest::setUp | function | core/ |
|
JSTranslationTest::test | function | core/ |
Integration test to ensure that CKEditor 5 Plugins translations are loaded. |
JSWebAssert | class | core/ |
Defines a class with methods for asserting presence of elements during tests. |
JSWebAssert.php | file | core/ |
|
JSWebAssert::assertEscaped | function | core/ |
Passes if the raw text IS found escaped on the loaded page. |
JSWebAssert::assertExpectedAjaxRequest | function | core/ |
Asserts that an AJAX request has been completed. |
JSWebAssert::assertNoElementAfterWait | function | core/ |
Asserts that no matching element exists on the page after a wait. |
JSWebAssert::assertNoEscaped | function | core/ |
Passes if the raw text IS NOT found escaped on the loaded page. |
JSWebAssert::assertNotVisibleInViewport | function | core/ |
Tests that a node, or its specific corner, is not visible in the viewport. |
JSWebAssert::assertVisibleInViewport | function | core/ |
Tests that a node, or its specific corner, is visible in the viewport. |
JSWebAssert::assertWaitOnAjaxRequest | function | core/ |
Waits for AJAX request to be completed. |
JSWebAssert::buildJavascriptStatusMessageSelector | function | core/ |
Builds a xpath selector for a message with given type and text. |
JSWebAssert::checkNodeVisibilityInViewport | function | core/ |
Check the visibility of a node, or its specific corner. |
JSWebAssert::escapeHtml | function | core/ |
Escapes HTML for testing. |
JSWebAssert::isExceptionNotClickable | function | core/ |
Determines if an exception is due to an element not being clickable. |
JSWebAssert::statusMessageContains | function | core/ |
Asserts that a status message containing a given string exists. |
JSWebAssert::statusMessageContainsAfterWait | function | core/ |
Asserts that a status message containing given string exists after wait. |
JSWebAssert::statusMessageExistsAfterWait | function | core/ |
Asserts that a status message exists after wait. |
JSWebAssert::statusMessageNotContains | function | core/ |
Asserts that a status message containing a given string does not exist. |
JSWebAssert::statusMessageNotContainsAfterWait | function | core/ |
Asserts that no status message containing given string exists after wait. |
JSWebAssert::statusMessageNotExistsAfterWait | function | core/ |
Asserts that a status message does not exist after wait. |
JSWebAssert::waitForButton | function | core/ |
Waits for the button specified by the locator and returns it. |
JSWebAssert::waitForElement | function | core/ |
Waits for the specified selector and returns it when available. |
JSWebAssert::waitForElementRemoved | function | core/ |
Looks for the specified selector and returns TRUE when it is unavailable. |
JSWebAssert::waitForElementVisible | function | core/ |
Waits for the specified selector and returns it when available and visible. |
JSWebAssert::waitForField | function | core/ |
Waits for a field with specified locator and returns it when available. |
JSWebAssert::waitForHelper | function | core/ |
Wraps waits in a function to catch curl exceptions to continue waiting. |
JSWebAssert::waitForId | function | core/ |
Waits for an element by its id and returns it when available. |
JSWebAssert::waitForLink | function | core/ |
Waits for a link with specified locator and returns it when available. |
JSWebAssert::waitForText | function | core/ |
Waits for the specified text and returns TRUE when it is available. |
Pagination
- Previous page
- Page 23
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.