Exemple #1
0
 public ProgressionSteps(
     TestContext testContext,
     BrowserSteps browserSteps,
     LoginSteps loginSteps,
     CheckingVideoHearingSteps checkingVideoHearingSteps,
     CheckYourComputerSteps checkYourComputerSteps,
     SwitchOnCameraMicrophoneSteps switchOnCameraMicrophoneSteps,
     TestYourEquipmentSteps testYourEquipmentSteps,
     CameraWorkingSteps cameraWorkingSteps,
     MicrophoneWorkingSteps microphoneWorkingSteps,
     VideoWorkingSteps videoWorkingSteps,
     ThankYouSteps thankYouSteps,
     ThankYouRepSteps thankYouRepSteps)
 {
     _c                             = testContext;
     _browsersSteps                 = browserSteps;
     _loginSteps                    = loginSteps;
     _checkingVideoHearingSteps     = checkingVideoHearingSteps;
     _checkYourComputerSteps        = checkYourComputerSteps;
     _switchOnCameraMicrophoneSteps = switchOnCameraMicrophoneSteps;
     _testYourEquipmentSteps        = testYourEquipmentSteps;
     _cameraWorkingSteps            = cameraWorkingSteps;
     _microphoneWorkingSteps        = microphoneWorkingSteps;
     _videoWorkingSteps             = videoWorkingSteps;
     _thankYouSteps                 = thankYouSteps;
     _thankYouRepSteps              = thankYouRepSteps;
 }
Exemple #2
0
 public RepresentativeQuestionnaireSteps(LoginSteps loginSteps, TestContext testContext, BrowserContext browserContext, ErrorMessage errorMessage, InformationSteps information, ScenarioContext scenarioContext) : base(testContext, browserContext, information, scenarioContext)
 {
     _information                 = information;
     _browserContext              = browserContext;
     _aboutVideoHearings          = new DecisionJourney(browserContext, RepresentativePageUrl.AboutVideoHearings);
     _aboutYouAndYouClient        = new DecisionJourney(browserContext, RepresentativePageUrl.AboutYouAndYourClient, RepresentativeQuestionKeys.AboutYourClient);
     _aboutYou                    = new DecisionJourney(browserContext, RepresentativePageUrl.AboutYou, RepresentativeQuestionKeys.AboutYou);
     _accessToRoom                = new DecisionJourney(browserContext, RepresentativePageUrl.AccessToRoom, RepresentativeQuestionKeys.AccessToRoom);
     _aboutYourClient             = new DecisionJourney(browserContext, RepresentativePageUrl.AboutYourClient, RepresentativeQuestionKeys.AboutYourClient);
     _clientAttendance            = new DecisionJourney(browserContext, RepresentativePageUrl.ClientAttendance, RepresentativeQuestionKeys.ClientAttendance);
     _hearingSuitability          = new DecisionJourney(browserContext, RepresentativePageUrl.HearingSuitability, RepresentativeQuestionKeys.HearingSuitability);
     _yourComputer                = new DecisionJourney(browserContext, RepresentativePageUrl.YourComputerRep, RepresentativeQuestionKeys.YourComputer);
     _aboutYourComputer           = new DecisionJourney(browserContext, RepresentativePageUrl.AboutYourComputerRep, RepresentativeQuestionKeys.AboutYourComputer);
     _questionnaireCompleted      = new DecisionJourney(browserContext, RepresentativePageUrl.QuestionnaireCompleted);
     _thankYou                    = new Page(browserContext, RepresentativePageUrl.ThankYouRep);
     _pleaseContactUs             = new Page(browserContext, RepresentativePageUrl.PleaseContactUs);
     _checkYourComputer           = new DecisionJourney(browserContext, PageUri.CheckYourComputer);
     _switchOnCameraAndMicrophone = new DecisionJourney(browserContext, PageUri.SwitchOnCameraAndMicrophone);
     _testYourEquipment           = new DecisionJourney(browserContext, PageUri.TestYourEquipment);
     _cameraWorking               = new DecisionJourney(browserContext, PageUri.CameraWorking);
     _microphoneWorking           = new DecisionJourney(browserContext, PageUri.MicrophoneWorking);
     _videoWorking                = new DecisionJourney(browserContext, PageUri.VideoWorking);
     _signInOnComputer            = new Page(browserContext, PageUri.SignInOncomputer);
     _signBackIn                  = new Page(browserContext, PageUri.SignBackIn);
     _equipmentBlocked            = new Page(browserContext, PageUri.EquipmentBlocked);
     _testContext                 = testContext;
     _representativeParticipantId = _testContext.RepresentativeParticipantId;
     _loginSteps                  = loginSteps;
 }
Exemple #3
0
 public InformationSteps(BrowserContext browserContext, LoginSteps loginSteps, UseCameraMicrophone useCameraMicrophone)
 {
     _aboutHearings             = new JourneyStepPage(browserContext, PageUri.AboutHearingsPage);
     _differentHearingTypesPage = new JourneyStepPage(browserContext, PageUri.DifferentHearingTypesPage);
     _exploreCourtBuildingPage  = new JourneyStepPage(browserContext, PageUri.ExploreCourtBuildingPage);
     _courtBuildingVideoPage    = new VideoContentPage(browserContext, PageUri.CourtBuildingVideoPage);
     _exploreVideoHearing       = new JourneyStepPage(browserContext, PageUri.ExploreVideoHearing);
     _useCameraMicrophonePage   = useCameraMicrophone;
     _loginSteps            = loginSteps;
     _mediaError            = new Page(browserContext, PageUri.MediaErrorPage);
     _participantView       = new VideoContentPage(browserContext, PageUri.ParticipantViewPage);
     _helpTheCourtDecide    = new JourneyStepPage(browserContext, PageUri.HelpTheCourtDecidePage);
     _aboutVideoHearing     = new JourneyStepPage(browserContext, RepresentativePageUrl.AboutVideoHearings);
     _aboutYou              = new JourneyStepPage(browserContext, RepresentativePageUrl.AboutYou);
     _aboutYouAndYourClient = new JourneyStepPage(browserContext, RepresentativePageUrl.AboutYouAndYourClient);
 }
 public IndividualQuestionnaireSteps(LoginSteps loginSteps, TestContext testContext, BrowserContext browserContext, InformationSteps information, ScenarioContext scenarioContext) : base(testContext, browserContext, information, scenarioContext)
 {
     _aboutYou               = new DecisionJourney(browserContext, PageUri.AboutYouPage);
     _interpreter            = new DecisionJourney(browserContext, PageUri.InterpreterPage);
     _yourComputer           = new DecisionJourney(browserContext, PageUri.YourComputerPage);
     _aboutYourComputer      = new DecisionJourney(browserContext, PageUri.AboutYourComputerPage);
     _information            = information;
     _yourInternetConnection = new DecisionJourney(browserContext, PageUri.YourInternetConnectionPage);
     _accessToRoom           = new DecisionJourney(browserContext, PageUri.AccessToARoomPage);
     _consent                     = new DecisionJourney(browserContext, PageUri.ConsentPage);
     _checkYourComputer           = new DecisionJourney(browserContext, PageUri.CheckYourComputer);
     _switchOnCameraAndMicrophone = new DecisionJourney(browserContext, PageUri.SwitchOnCameraAndMicrophone);
     _testYourEquipment           = new DecisionJourney(browserContext, PageUri.TestYourEquipment);
     _cameraWorking               = new DecisionJourney(browserContext, PageUri.CameraWorking);
     _microphoneWorking           = new DecisionJourney(browserContext, PageUri.MicrophoneWorking);
     _videoWorking                = new DecisionJourney(browserContext, PageUri.VideoWorking);
     _signInOnComputer            = new DecisionJourney(browserContext, PageUri.SignInOncomputer);
     _signBackIn                  = new DecisionJourney(browserContext, PageUri.SignBackIn);
     _testContext                 = testContext;
     _individualParticipantId     = _testContext.IndividualParticipantId;
     _loginSteps                  = loginSteps;
 }