Exemplo n.º 1
0
 public void WhenIAmOnTheExhibitPage()
 {
     _casesPage = _homePage.GoToCases();
     //Select the case with the exhibit that was processed in the previous step
     _exhibitsPage = _casesPage.SelectCaseByPoliceFileNumber(_casePoliceNumber);
     _exhibitsPage.SelectProcessedExhibitFromListByEclExhibitNumber(_eclExhibitNumber);
 }
 public void ThenProcessingStatisticsDetailsAre(string imageNum, string imageLabel, string multimediaNum, string multimediaLabel, string contactNumber, string contactLabel, string documentNum, string documentLabel)
 {
     _exhibitsPage = _homePage.GoToCaseExhibits(_casePoliceNumber);
     _exhibitsPage.SelectProcessedExhibitFromListByEclExhibitNumber(_eclExhibitNumber);
     SelectFirstMedia();
     AssertProcessingStatisticsCategoryLabels(imageLabel, multimediaLabel, contactLabel, documentLabel);
     AssertProcessingStatisticsCategoryFileNumber(imageNum, multimediaNum, contactNumber, documentNum);
 }
        public void GivenIHaveSavedMyCustomWorkflow()
        {
            SetWorkflowData();

            _exhibitsPage = _homePage.GoToCaseExhibits(_caseDataModel.PoliceFileNumber);

            //TODO OV this options list is configurable, maybe as this test setup we need to make sure we configure the workflow to display the expected list of options.
            _exhibitsPage.SelectProcessExhibitOption(_exhibitDataModel.EclExhibitNumber);
            _exhibitsPage = _exhibitsPage.AddCustomWorkflow(_workflowDataModel);
        }
Exemplo n.º 4
0
 public void WhenIAddANewExhibit()
 {
     _exhibitsPage = _homePage.GoToCaseExhibits(_caseDataModel.PoliceFileNumber);
     _exhibitsPage.AddExhibit(_exhibitDataModel);
 }
Exemplo n.º 5
0
 public void GivenIAmOnTheExhibitPage()
 {
     _exhibitsPage = _homePage.GoToCaseExhibits(_caseDataModel.PoliceFileNumber);
 }