public void PRC_ProjectDashboard_ChangeQCToTraining_ShouldReturnToTrainingState() { TestHelper.UpdateWorkflowState(WorkflowStateQcSetReviewCompleted); CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl); CommonActions.WaitForLoadPcDashboardPage(driver); ProjectDashBoardActions.GoBackToTraining(driver); CommonActions.WaitForLoadPage(driver); CommonActions.WaitForLoadPcDashboardPage(driver); ProjectDashBoardActions.VerifyTrainingState(driver); }
public void PRC_ProjectDashboard_ViewAllDocuments_ShouldShowAllDocsInDocList() { TestHelper.UpdateWorkflowState(WorkflowStateQcSetReviewCompleted); CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl); CommonActions.WaitForLoadPcDashboardPage(driver); ProjectDashBoardActions.ViewAllDocuments(driver); CommonActions.WaitForLoadPage(driver); analysisSetReviewActions.IsAtDocListPage(); analysisSetReviewActions.VerifyAllDocuments(); }
public void PRC_ProjectDashboard_AddDocumentsToProjectByAll_ShouldDisplayUpdatedTotalProjectDocumentsCount() { TestHelper.UpdateWorkflowState(workflowStateProjectCreated); CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl); ProjectDashBoardActions.SelectAddDocuments(driver); CommonActions.WaitForLoadPage(driver); CreateProjectActions.ClickCreateButton(driver); //Click Create CommonActions.WaitForLoadPage(driver); ProjectDashBoardActions.VerifyTotalProjectDocumentsCount(driver); }
public void PRC_ProjectDashboard_AfterControlSetReviewCompleted_ShouldDisplayControlSetSummary() { TestHelper.UpdateWorkflowState(workflowStateControSetReviewNotStarted); CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl); this.analysisSetReviewActions.WaitForLoadPage(); this.analysisSetReviewActions.ClickStartReviewButton(); this.analysisSetReviewActions.WaitForLoadPage(); this.analysisSetReviewActions.DisableAutoAdvance(); this.analysisSetReviewActions.ReviewAllDocumentsToDisplayFinishPopup(); this.analysisSetReviewActions.VerifyFinishPopup(); this.analysisSetReviewActions.ClickOkOnFinishPopup(); CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl); ProjectDashBoardActions.VerifyControlSetSummary(driver); }
public void PRC_ProjectDashboard_AddDocumentsToProjectClickOnCancelButton_ShouldRedirectToAdminDashboard() { TestHelper.UpdateWorkflowState(workflowStateProjectCreated); CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl); CommonActions.WaitForLoadPage(driver); ProjectDashBoardActions.SelectAddDocuments(driver); CommonActions.WaitForLoadPage(driver); CreateProjectActions.clickCancelBtn(driver); CommonActions.WaitForLoadPage(driver); ProjectDashBoardActions.VerifyTotalProjectDocumentsCountAfterCancel(driver); }