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);
 }
Пример #4
0
 private void ClickAllocate()
 {
     _browser.Click(AllocateUsersPage.AllocateButton);
     _browser.Driver.WaitUntilVisible(AllocateUsersPage.CompletedTitle).Displayed.Should().BeTrue();
 }
Пример #5
0
 private void ClickNextButton() => _browser.Click(LoginPage.Next);
Пример #6
0
 private void ClickBook()
 {
     _browser.Click(CreateHearingPage.BookAndConfirmButton);
 }
Пример #7
0
 public void WhenTheUserClicksTheButton(UserBrowser browser, string label)
 {
     browser.Driver.WaitUntilVisible(CommonLocators.ButtonWithInnerText(label)).Displayed.Should().BeTrue();
     browser.Click(CommonLocators.ButtonWithInnerText(label));
 }
Пример #8
0
        public void WhenTheUserDeletesTheNewlyCreatedHearing()
        {
            var hearingId = GetTheHearingId();

            _browser.Click(HomePage.DeleteButton(hearingId));
        }