示例#1
0
        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);
        }
示例#2
0
        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();
        }
示例#3
0
        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);
        }
示例#4
0
        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);
        }
示例#5
0
        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);
        }