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); }
public void WhenISelectThatWorkflowToProcessMyExhibit() { _exhibitsPage.SelectProcessExhibitOption(_exhibitDataModel.EclExhibitNumber); Assert.True(_exhibitsPage.IsWorkflowPresentInList(_workflowDataModel.CustomWorkflowName), "A workflow with name '" + _workflowDataModel.CustomWorkflowName + "' is not present in workflow options list as expected."); _exhibitsPage.SelectWorkflow(_workflowDataModel.CustomWorkflowName); }