public void WhenTheUserEditsASavedInterpreter() { var user = GetParticipantBy("Interpreter"); _browsers[_c.CurrentUser].Click(SummaryPage.EditParticipantLink(user.Firstname)); _addParticipantSteps.EditAnInterpreter(user.AlternativeEmail); }
public void WhenTheUserEditsANewParticipant() { _bookingDetailsSteps.ClickEdit(); _newUserToEdit = UserManager.GetUserFromDisplayName(_c.Test.HearingParticipants, _c.Test.AddParticipant.Participant.NewUserPrefix); _browsers[_c.CurrentUser].Click(SummaryPage.EditParticipantLink(_newUserToEdit.Firstname)); _addParticipantSteps.EditANewParticipant(_newUserToEdit.AlternativeEmail); }