Assert.assertEquals(0, userPicker.getAcceptedSuggestions().size());
Assert.assertFalse(userPicker.getClearSelectionLink().isDisplayed());
// When there is only one suggestion, Enter key should select it.
userPicker.sendKeys("admin").waitForSuggestions().sendKeys(Keys.ENTER);
selectedUsers = userPicker.waitForSuggestionsToFadeOut().getAcceptedSuggestions();
Assert.assertEquals(1, selectedUsers.size());
assertUserElement(selectedUsers.get(0), "Administrator", "Admin", "noavatar.png");
Assert.assertEquals("", userPicker.getValue());
Assert.assertFalse(userPicker.getClearSelectionLink().isDisplayed());
}