You are here

protected function InlineEntityFormTestBase::waitForRowByTitle in Inline Entity Form 8

Wait for an IEF table row to appear.

Parameters

string $title: The title of the row for which to wait.

9 calls to InlineEntityFormTestBase::waitForRowByTitle()
ComplexWidgetTest::checkNestedNodeEditing in tests/src/FunctionalJavascript/ComplexWidgetTest.php
Checks that nested IEF entity references can be edited and saved.
ComplexWidgetTest::testDuplicatingEntities in tests/src/FunctionalJavascript/ComplexWidgetTest.php
Tests if duplicating entities works.
ComplexWidgetTest::testEditedInlineEntityValidation in tests/src/FunctionalJavascript/ComplexWidgetTest.php
Tests if a referenced content can be edited.
ComplexWidgetTest::testEntityCreation in tests/src/FunctionalJavascript/ComplexWidgetTest.php
Tests creation of entities.
ComplexWidgetTest::testEntityEditingAndRemoving in tests/src/FunctionalJavascript/ComplexWidgetTest.php
Tests if editing and removing entities work.

... See full list

File

tests/src/FunctionalJavascript/InlineEntityFormTestBase.php, line 207

Class

InlineEntityFormTestBase
Base Class for Inline Entity Form Tests.

Namespace

Drupal\Tests\inline_entity_form\FunctionalJavascript

Code

protected function waitForRowByTitle(string $title) {
  $this
    ->assertNotEmpty($this
    ->assertSession()
    ->waitForElement('xpath', '//td[@class="inline-entity-form-node-label" and text()="' . $title . '"]'));
}