You are here

protected function InlineEntityFormTestBase::getXpathForAutoCompleteInput in Inline Entity Form 8

Returns xpath selector to the first input with an auto-complete.

Return value

string The xpath selector for the first input with an auto-complete.

4 calls to InlineEntityFormTestBase::getXpathForAutoCompleteInput()
ComplexWidgetTest::checkExistingValidationExpectation in tests/src/FunctionalJavascript/ComplexWidgetTest.php
Check existing node field validation.
ComplexWidgetTest::openMultiExistingForm in tests/src/FunctionalJavascript/ComplexWidgetTest.php
Opens the existing node form on the "multi" field.
ComplexWidgetTest::testEmptyField in tests/src/FunctionalJavascript/ComplexWidgetTest.php
Tests if form behaves correctly when field is empty.
TranslationTest::testTranslation in tests/src/FunctionalJavascript/TranslationTest.php
Tests translating inline entities.

File

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

Class

InlineEntityFormTestBase
Base Class for Inline Entity Form Tests.

Namespace

Drupal\Tests\inline_entity_form\FunctionalJavascript

Code

protected function getXpathForAutoCompleteInput() {
  return '(//input[@data-autocomplete-path])';
}