Esempio n. 1
0
        public void WhenTheUserRemovesInterpreter()
        {
            var role = "Interpreter";

            _browsers[_c.CurrentUser].Click(SummaryPage.RemoveParticipantLink(GetParticipantBy(role).Firstname));
            _browsers[_c.CurrentUser].Click(SummaryPage.RemoveParticipant);
            RemoveParticipant(GetParticipantBy(role));
        }
Esempio n. 2
0
        public void WhenTheUserRemovesParticipant()
        {
            var participant = GetParticipantBy("Litigant in person");

            _browsers[_c.CurrentUser].Click(SummaryPage.RemoveParticipantLink(participant.Firstname));
            _browsers[_c.CurrentUser].Driver.WaitUntilVisible(SummaryPage.RemoveInterpreterMessage).Displayed.Should().BeTrue();
            _browsers[_c.CurrentUser].Click(SummaryPage.RemoveInterpreter);
            RemoveParticipant(participant);
            RemoveParticipant(GetParticipantBy("Interpreter"));
        }