// Ensure that the user does have access to the autocompletion.
// Ensure that the user does have access to the autocompletion.
$this->assertSession()->elementsCount('xpath','//input[@id="edit-uid-0-target-id" and contains(@data-autocomplete-path, "/entity_reference_autocomplete/user/default")]',1);