Verified Commit f8988342 authored by Jibran Ijaz's avatar Jibran Ijaz Committed by Jibran Ijaz
Browse files

Issue #2283919 by jibran: Fixed failing HEAD after chrome update

parent b16f9385
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -172,14 +172,14 @@ class DynamicEntityReferenceTest extends WebDriverTestBase {
    $entity_type_field->selectOption('user');
    $this->performAutocompleteQuery($autocomplete_query, $autocomplete_field);
    $this->selectAutocompleteOption();
    $assert_session->pageTextContains($this->anotherUser->label());
    $this->assertStringContainsString($this->anotherUser->label(), $autocomplete_field->getValue());
    // Change to entity_test, this should automatically clear the autocomplete
    // field.
    $entity_type_field->selectOption('entity_test');
    $this->assertEmpty($autocomplete_field->getValue());
    $this->performAutocompleteQuery($autocomplete_query, $autocomplete_field);
    $this->selectAutocompleteOption();
    $assert_session->pageTextContains($this->testEntity->label());
    $this->assertStringContainsString($this->testEntity->label(), $autocomplete_field->getValue());
  }

  /**
@@ -277,7 +277,7 @@ class DynamicEntityReferenceTest extends WebDriverTestBase {
  }

  /**
   * Peforms an autocomplete query on an element.
   * Performs an autocomplete query on an element.
   *
   * @param string $autocomplete_query
   *   String to search for.