// Delete the first selected user.
selectedUsers.get(0).delete();
Assert.assertFalse(userPicker.getClearSelectionLink().isDisplayed());
// Select another user.
userPicker.sendKeys("admin").waitForSuggestions().sendKeys(Keys.ENTER).waitForSuggestionsToFadeOut();
selectedUsers = userPicker.getAcceptedSuggestions();
Assert.assertEquals(2, selectedUsers.size());
assertUserElement(selectedUsers.get(0), "Eduard Moraru", "Enygma2002");
assertUserElement(selectedUsers.get(1), "Administrator", "Admin", "noavatar.png");
Assert.assertEquals("", userPicker.getValue());