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 ReSignBackIn() { var timeOut = _browser.TargetDevice == TargetDevice.Tablet ? 60 : 30; _browser.Click(LoginPage.ReSignInButton(_username)); EnterPassword(_password, timeOut); ClickSignInButton(); }
private void ClickDelete() { _browser.Click(DeleteHearingPage.DeleteButton); }
private void ClickAllocate() { _browser.Click(AllocateUsersPage.AllocateButton); _browser.Driver.WaitUntilVisible(AllocateUsersPage.CompletedTitle).Displayed.Should().BeTrue(); }
private void ClickNextButton() => _browser.Click(LoginPage.Next);
private void ClickBook() { _browser.Click(CreateHearingPage.BookAndConfirmButton); }
public void WhenTheUserClicksTheButton(UserBrowser browser, string label) { browser.Driver.WaitUntilVisible(CommonLocators.ButtonWithInnerText(label)).Displayed.Should().BeTrue(); browser.Click(CommonLocators.ButtonWithInnerText(label)); }
public void WhenTheUserDeletesTheNewlyCreatedHearing() { var hearingId = GetTheHearingId(); _browser.Click(HomePage.DeleteButton(hearingId)); }