You are here

protected function EntityBrowserWebDriverTestBase::waitForAjaxToFinish in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 tests/src/FunctionalJavascript/EntityBrowserWebDriverTestBase.php \Drupal\Tests\entity_browser\FunctionalJavascript\EntityBrowserWebDriverTestBase::waitForAjaxToFinish()

Waits for jQuery to become ready and animations to complete.

18 calls to EntityBrowserWebDriverTestBase::waitForAjaxToFinish()
CardinalityTest::openIframe in tests/src/FunctionalJavascript/CardinalityTest.php
Helper function for repetitive task.
CardinalityTest::testEntityReferenceWidget in tests/src/FunctionalJavascript/CardinalityTest.php
Tests Entity Reference widget.
EntityBrowserTest::testDropdownWidgetSelector in tests/src/FunctionalJavascript/EntityBrowserTest.php
Tests dropdown widget selector.
EntityBrowserTest::testEntityBrowserWidgetContext in tests/src/FunctionalJavascript/EntityBrowserTest.php
Tests the EntityBrowserWidgetContext default argument plugin.
EntityBrowserTest::testMultiCardinalityField in tests/src/FunctionalJavascript/EntityBrowserTest.php
Tests the field widget with a multi-cardinality field.

... See full list

File

tests/src/FunctionalJavascript/EntityBrowserWebDriverTestBase.php, line 191

Class

EntityBrowserWebDriverTestBase
Base class for Entity browser Javascript functional tests.

Namespace

Drupal\Tests\entity_browser\FunctionalJavascript

Code

protected function waitForAjaxToFinish() {
  $this
    ->assertSession()
    ->assertWaitOnAjaxRequest();
}