$this->assertFieldByXPath('//input[@id="edit-test-field-0-target-id" and contains(@class, "form-autocomplete")]',NULL,'The autocomplete input element appears.');
$new_title=$this->randomMachineName();
@@ -86,7 +100,7 @@ public function testAutoCreate() {
// Assert referenced node does not exist.
$base_query=\Drupal::entityQuery('node');
$base_query
->condition('type',$this->referenced_type)
->condition('type',$this->referencedType)
->condition('title',$new_title);
$query=clone$base_query;
@@ -97,7 +111,7 @@ public function testAutoCreate() {