Search for wait

  1. Search 7.x for wait
  2. Search 9.5.x for wait
  3. Search 8.9.x for wait
  4. Search 10.3.x for wait
  5. Other projects
Title Object type File name Summary
AjaxTest::assertWaitPageContains function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php Asserts that page contains an expected value after waiting.
AjaxWaitTest class core/tests/Drupal/FunctionalJavascriptTests/AjaxWaitTest.php Tests that unnecessary or untracked XHRs will cause a test failure.
AjaxWaitTest.php file core/tests/Drupal/FunctionalJavascriptTests/AjaxWaitTest.php
AjaxWaitTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/AjaxWaitTest.php The theme to install as the default for testing.
AjaxWaitTest::testUnnecessaryWait function core/tests/Drupal/FunctionalJavascriptTests/AjaxWaitTest.php Tests that an unnecessary wait triggers an error.
AjaxWaitTest::testUntrackedXhr function core/tests/Drupal/FunctionalJavascriptTests/AjaxWaitTest.php Tests that an untracked XHR triggers an error.
CKEditor5TestTrait::waitForEditor function core/modules/ckeditor5/tests/src/Traits/CKEditor5TestTrait.php Waits for CKEditor to initialize.
CommandsTest::assertWaitPageContains function core/tests/Drupal/FunctionalJavascriptTests/Ajax/CommandsTest.php Asserts that page contains a text after waiting.
DatabaseLockBackend::wait function core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php Waits a short amount of time before a second lock acquire attempt.
DocumentElement::waitFor function core/tests/Drupal/Tests/DocumentElement.php
DrupalSelenium2Driver::waitFor function core/tests/Drupal/FunctionalJavascriptTests/DrupalSelenium2Driver.php Waits for a callback to return a truthy result and returns it.
FilterTest::waitForOnlyContentRows function core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/FilterTest.php Waits for only content rows to be visible.
FilterTest::waitForVisibleElementCount function core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/FilterTest.php Waits for the specified number of items to be visible.
HoldTestSubscriber::WAIT constant core/modules/system/tests/modules/hold_test/src/EventSubscriber/HoldTestSubscriber.php Time in microseconds to wait for before checking if the file is updated.
JSWebAssert::assertNoElementAfterWait function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Asserts that no matching element exists on the page after a wait.
JSWebAssert::assertWaitOnAjaxRequest function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for AJAX request to be completed.
JSWebAssert::statusMessageContainsAfterWait function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Asserts that a status message containing given string exists after wait.
JSWebAssert::statusMessageExistsAfterWait function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Asserts that a status message exists after wait.
JSWebAssert::statusMessageNotContainsAfterWait function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Asserts that no status message containing given string exists after wait.
JSWebAssert::statusMessageNotExistsAfterWait function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Asserts that a status message does not exist after wait.
JSWebAssert::waitForButton function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for the button specified by the locator and returns it.
JSWebAssert::waitForElement function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for the specified selector and returns it when available.
JSWebAssert::waitForElementRemoved function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Looks for the specified selector and returns TRUE when it is unavailable.
JSWebAssert::waitForElementVisible function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for the specified selector and returns it when available and visible.
JSWebAssert::waitForField function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for a field with specified locator and returns it when available.
JSWebAssert::waitForHelper function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Wraps waits in a function to catch curl exceptions to continue waiting.
JSWebAssert::waitForId function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for an element by its id and returns it when available.
JSWebAssert::waitForLink function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for a link with specified locator and returns it when available.
JSWebAssert::waitForText function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for the specified text and returns TRUE when it is available.
JSWebAssert::waitOnAutocomplete function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for the jQuery autocomplete delay duration.
JsWebAssertTestForm::addAssertWaitOnAjaxRequest function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Ajax callback for the "Test waitForAjax" button.
JsWebAssertTestForm::addWaitForElementVisible function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Ajax callback for the "Test waitForElementVisible" button.
LayoutBuilderTest::assertOffCanvasFormAfterWait function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php Waits for the specified form and returns it when available and visible.
LockBackendAbstract::wait function core/lib/Drupal/Core/Lock/LockBackendAbstract.php Waits a short amount of time before a second lock acquire attempt.
LockBackendAbstractTest::testWaitFalse function core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php Tests the wait() method when lockMayBeAvailable() returns TRUE.
LockBackendAbstractTest::testWaitTrue function core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php Tests the wait() method when lockMayBeAvailable() returns FALSE.
LockBackendInterface::wait function core/lib/Drupal/Core/Lock/LockBackendInterface.php Waits a short amount of time before a second lock acquire attempt.
MediaJavascriptTestBase::waitUntilVisible function core/modules/media/tests/src/FunctionalJavascript/MediaJavascriptTestBase.php Waits and asserts that a given element is visible.
MediaLibraryTestBase::assertElementExistsAfterWait function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Waits for the specified selector and returns it if not empty.
MediaLibraryTestBase::waitForElementsCount function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Checks for a specified number of specific elements on page after wait.
MediaLibraryTestBase::waitForElementTextContains function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Asserts that text appears in an element after a wait.
MediaLibraryTestBase::waitForFieldExists function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Checks for the existence of a field on page after wait.
MediaLibraryTestBase::waitForNoText function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Asserts that text does not appear on page after a wait.
MediaLibraryTestBase::waitForText function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Asserts that text appears on page after a wait.
MessageCommandTest::waitForMessageRemoved function core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php Asserts that a message of the expected type is removed.
MessageCommandTest::waitForMessageVisible function core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php Asserts that a message of the expected type appears.
NavigationBlockUiTest::assertOffCanvasFormAfterWait function core/modules/navigation/tests/src/FunctionalJavascript/NavigationBlockUiTest.php Waits for the specified form and returns it when available and visible.
NullLockBackend::wait function core/lib/Drupal/Core/Lock/NullLockBackend.php Waits a short amount of time before a second lock acquire attempt.
OffCanvasTestBase::assertElementVisibleAfterWait function core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php Asserts the specified selector is visible after a wait.
OffCanvasTestBase::waitForOffCanvasToClose function core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php Waits for off-canvas dialog to close.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.