You are here

protected function EntityUsageJavascriptTestBase::waitForAjaxToFinish in Entity Usage 8.4

Same name and namespace in other branches
  1. 8 tests/src/FunctionalJavascript/EntityUsageJavascriptTestBase.php \Drupal\Tests\entity_usage\FunctionalJavascript\EntityUsageJavascriptTestBase::waitForAjaxToFinish()
  2. 8.2 tests/src/FunctionalJavascript/EntityUsageJavascriptTestBase.php \Drupal\Tests\entity_usage\FunctionalJavascript\EntityUsageJavascriptTestBase::waitForAjaxToFinish()
  3. 8.3 tests/src/FunctionalJavascript/EntityUsageJavascriptTestBase.php \Drupal\Tests\entity_usage\FunctionalJavascript\EntityUsageJavascriptTestBase::waitForAjaxToFinish()

Waits for jQuery to become ready and animations to complete.

1 call to EntityUsageJavascriptTestBase::waitForAjaxToFinish()
DynamicEntityReferenceTest::testDynamicEntityReferenceTracking in tests/src/FunctionalJavascript/DynamicEntityReferenceTest.php
Tests the tracking of entities through dynamic entity reference fields.

File

tests/src/FunctionalJavascript/EntityUsageJavascriptTestBase.php, line 54

Class

EntityUsageJavascriptTestBase
Base class for Entity Usage Javascript functional tests.

Namespace

Drupal\Tests\entity_usage\FunctionalJavascript

Code

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