public void WhenTheUserSendsAParticipantEvent() { SelectAConference(); GetTheConferenceDetailsById(); VerifyHearingDetails(); VerifyParticipantDetails(); _participantId = GetParticipantId(); _participantId.Should().NotBeEmpty(); _participantState = ParticipantState.InHearing; _commonSharedSteps.WhenTheUserSelectsTheOptionFromTheDropdown(_browser.Driver, EventsPage.ParticipantEventDropdown(_participantId), "Transfer"); _browser.Driver.WaitUntilVisible(EventsPage.ParticipantTransferFromTextfield(_participantId)).Displayed.Should().BeTrue(); SetTheTransferFromAndTo("WaitingRoom", "HearingRoom"); _browser.Click(EventsPage.ParticipantSendEventButton(_participantId)); }
public void WhenTheUserAttemptsToSendATransferEventWithABlankTransferFromAndTo() { SelectAConference(); GetTheConferenceDetailsById(); VerifyHearingDetails(); VerifyParticipantDetails(); _participantId = GetParticipantId(); _participantId.Should().NotBeEmpty(); _participantState = ParticipantState.InHearing; _commonSharedSteps.WhenTheUserSelectsTheOptionFromTheDropdown(_browser.Driver, EventsPage.ParticipantEventDropdown(_participantId), "Transfer"); _browser.Driver.WaitUntilVisible(EventsPage.ParticipantTransferFromTextfield(_participantId)).Displayed.Should().BeTrue(); ClearTheTransferFromAndToTextFields(); }