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 11.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 a deprecation error.
AjaxWaitTest::testUntrackedXhr function core/tests/Drupal/FunctionalJavascriptTests/AjaxWaitTest.php Tests that an untracked XHR triggers a deprecation error.
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.
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.
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.
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.
OffCanvasTestBase::waitForOffCanvasToOpen function core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php Waits for off-canvas dialog to open.
OffCanvasTestTrait::waitForOffCanvasArea function core/modules/system/tests/src/Traits/OffCanvasTestTrait.php Waits for the off-canvas area to appear, resized and visible.
PersistentDatabaseLockBackend::wait function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Waits a short amount of time before a second lock acquire attempt.
TableDragTest::waitUntilDraggingCompleted function core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php Waits until the dragging operations are finished on a row handle.
TestWaitTerminateMiddleware class core/lib/Drupal/Core/Test/StackMiddleware/TestWaitTerminateMiddleware.php Acquire a lock to signal request termination to the test runner.
TestWaitTerminateMiddleware.php file core/lib/Drupal/Core/Test/StackMiddleware/TestWaitTerminateMiddleware.php
TestWaitTerminateMiddleware::handle function core/lib/Drupal/Core/Test/StackMiddleware/TestWaitTerminateMiddleware.php
TestWaitTerminateMiddleware::__construct function core/lib/Drupal/Core/Test/StackMiddleware/TestWaitTerminateMiddleware.php Constructs a test wait terminate stack middleware object.
WaitTerminateTestTrait trait core/tests/Drupal/Tests/WaitTerminateTestTrait.php Provides a method to enforce that requests will wait for the terminate event.
WaitTerminateTestTrait.php file core/tests/Drupal/Tests/WaitTerminateTestTrait.php
WaitTerminateTestTrait::setWaitForTerminate function core/tests/Drupal/Tests/WaitTerminateTestTrait.php Specify that subsequent requests must wait for the terminate event.

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