コード例 #1
0
        public void PRC_TrainingAdminDashboard_ClickDocLinksInPredictionDiscrepanciesWidget_ShouldDisplayDocsInDocList()
        {
            TestHelper.UpdateWorkflowState(WorkflowStateTrainingCompleted);

            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);

            this.analysisSetReviewActions.WaitForLoadPage();

            this.analysisSetReviewActions.ActivateTrainingTab();

            TrainingSetDashboardActions.ClickOnTruePositivesLink(driver);

            TrainingSetDashboardActions.ClickOnProjectDashboardLink(driver);

            this.analysisSetReviewActions.ActivateTrainingTab();

            TrainingSetDashboardActions.ClickOnFalseNegativesLink(driver);

            TrainingSetDashboardActions.ClickOnProjectDashboardLink(driver);

            this.analysisSetReviewActions.ActivateTrainingTab();

            TrainingSetDashboardActions.ClickOnFalsePositivesLink(driver);

            TrainingSetDashboardActions.ClickOnProjectDashboardLink(driver);
            this.analysisSetReviewActions.ActivateTrainingTab();

            TrainingSetDashboardActions.ClickOnTrueNegativesLink(driver);

            TrainingSetDashboardActions.ClickOnProjectDashboardLink(driver);
            this.analysisSetReviewActions.ActivateTrainingTab();

            TrainingSetDashboardActions.VerifyPredictionDiscrepanciesWidget(driver);
        }
コード例 #2
0
 public void PRC_TrainingAdminDashboard_SecondRoundCompleted_DisplayPredictDiscrepanciesAhead()
 {
     TestHelper.UpdateWorkflowState(WorkflowStateTrainingCompleted);
     CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);
     this.analysisSetReviewActions.WaitForLoadPage();
     TrainingSetDashboardActions.VerifyPredictDiscrepanciesAhead(driver);
 }
コード例 #3
0
        public void PRC_TrainingAdminDashboard_ReviewAllDocuments_ShouldFinishTrainingSetReview()
        {
            TestHelper.UpdateWorkflowState(WorkflowStateTrainingNotStarted);

            CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);
            CommonActions.WaitForLoadPcDashboardPage(driver);

            this.analysisSetReviewActions.ClickTrainingSetStartReviewButton();
            this.analysisSetReviewActions.WaitForLoadPage();

            this.analysisSetReviewActions.ReviewAllDocumentsAutoAdvanceToDisplayFinishPopup();
            this.analysisSetReviewActions.WaitForLoadPage();

            TrainingSetDashboardActions.ClickContinueTrainingReviewButton(driver);
            this.analysisSetReviewActions.WaitForLoadPage();

            this.analysisSetReviewActions.ReviewAllDocumentsAutoAdvanceToDisplayFinishPopup();
            this.analysisSetReviewActions.WaitForLoadPage();

            TrainingSetDashboardActions.ClickFinishTrainingReviewButton(driver);
            this.analysisSetReviewActions.WaitForLoadPage();

            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);
            TrainingSetDashboardActions.VerifyRunPredictionsEnabled(driver);
        }
コード例 #4
0
        public void PRC_TrainingAdminDashboard_CheckDiscrepaniesWhenTrainingSetReviewStarted_ShouldDisplayTrainingSetReviewInProgressText()
        {
            TestHelper.UpdateWorkflowState(WorkflowStateTrainingInProgress);

            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);
            this.analysisSetReviewActions.WaitForLoadPage();
            TrainingSetDashboardActions.ClickTrainingTab(driver);
            this.analysisSetReviewActions.WaitForLoadPage();
            TrainingSetDashboardActions.VerifyPredictDiscrepanciesInProgressStatus(driver);
        }
コード例 #5
0
        public void PRC_TrainingAdminDashboard_VerifyTrainingTrendInProgressStatus_ShouldDisplayTrainingTrendStatus()
        {
            TestHelper.UpdateWorkflowState(WorkflowStateTrainingInProgress);

            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);
            this.analysisSetReviewActions.WaitForLoadPage();
            TrainingSetDashboardActions.ClickTrainingTab(driver);
            this.analysisSetReviewActions.WaitForLoadPage();
            TrainingSetDashboardActions.VerifyTrainingTrendsInProgressStatus(driver);
        }
コード例 #6
0
        public void PRC_TrainingAdminDashboard_VerifyChartViewinTrainngTrend_ShouldDisplayChart()
        {
            TestHelper.UpdateWorkflowState(WorkflowStateTrainingCompleted);

            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);
            this.analysisSetReviewActions.WaitForLoadPage();
            TrainingSetDashboardActions.ClickTrainingTab(driver);
            this.analysisSetReviewActions.WaitForLoadPage();
            TrainingSetDashboardActions.VerifyTrainingTrendsChart(driver);
        }
コード例 #7
0
 public void PRC_TrainingSetReview_ContinueReviewDocuments_ShouldDisplayFinishPopup()
 {
     TestHelper.UpdateWorkflowState(WorkflowStateTrainingInProgress);
     CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);
     this.analysisSetReviewActions.ActivateTrainingTab();
     TrainingSetDashboardActions.ClickOnContinueReview(driver);
     this.analysisSetReviewActions.DisableAutoAdvance();
     this.analysisSetReviewActions.ReviewAllDocumentsToDisplayFinishPopup();
     TrainingSetDashboardActions.ClickProjectDashboard(driver);
 }
コード例 #8
0
 public void PRC_TrainingAdminDashboard_SchedulePredictAllLater_ShouldDisplayPredictAllAsCompleted()
 {
     TestHelper.UpdateWorkflowState(WorkflowStateTrainingCompleted);
     CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);
     CommonActions.WaitForLoadPcDashboardPage(driver);
     this.analysisSetReviewActions.ActivateTrainingTab();
     TrainingSetDashboardActions.ClickRunPredictionsButton(driver);
     TrainingSetDashboardActions.SelectLaterOptionInPopup(driver);
     TestHelper.UpdateWorkflowState(workflowStateQCSetNotCreated);
     TrainingSetDashboardActions.ClickOnConfirmButtonInPredictAllDocumentsPopup(driver);
     TrainingSetDashboardActions.VerifyPredictAllIsCompleted(driver);
 }
コード例 #9
0
        public void PRC_TrainingAdminDashboard_SecondRoundCompleted_ShouldDisplayPredictAhead()
        {
            TestHelper.UpdateWorkflowState(WorkflowStateTrainingCompleted);

            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);

            TrainingSetDashboardActions.VerifyRollingAverageChart(driver);

            CommonActions.WaitForElement(driver);
            TrainingSetDashboardActions.ClickTrainingTableView(driver);
            CommonActions.WaitForElement(driver);

            TrainingSetDashboardActions.VerifyRollingAverageTable(driver);
        }
コード例 #10
0
 public void PRC_TrainingAdminDashboard_AfterPredictAll_ShouldSelectStatisticalSampleAndCreateVerificationSet()
 {
     TestHelper.UpdateWorkflowState(workflowStateQCSetNotCreated);
     CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);
     this.analysisSetReviewActions.ActivateTrainingTab();
     TrainingSetDashboardActions.ClickOnCreateVerificationSet(driver);
     TrainingSetDashboardActions.CheckVerificationSetPopup(driver);
     TrainingSetDashboardActions.ClickCancelButtonInCreateVerificationSetPopup(driver);
     TrainingSetDashboardActions.VerifyCreateVerificationSetIsEnabled(driver);
     TrainingSetDashboardActions.ClickOnCreateVerificationSet(driver);
     TrainingSetDashboardActions.CheckVerificationSetPopup(driver);
     TrainingSetDashboardActions.EnterVerificationSetName(driver);
     TrainingSetDashboardActions.SelectStatisticalSampleOption(driver);
     TrainingSetDashboardActions.ClickCreateButtonInCreateVerificationSetPopup(driver);
     TrainingSetDashboardActions.VerifyVerificationSetIsCreated(driver);
 }
コード例 #11
0
 public void PRC_TrainingAdminDashboard_AfterPredictAll_ShouldSelectFixedSizeAndCreateVerificationSet()
 {
     TestHelper.UpdateWorkflowState(workflowStateQCSetNotCreated);
     CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);
     this.analysisSetReviewActions.ActivateTrainingTab();
     TrainingSetDashboardActions.ClickOnCreateVerificationSet(driver);
     TrainingSetDashboardActions.CheckVerificationSetPopup(driver);
     TrainingSetDashboardActions.EnterVerificationSetName(driver);
     TrainingSetDashboardActions.SelectFixedSizeOption(driver);
     TrainingSetDashboardActions.ClickCreateButtonInCreateVerificationSetPopup(driver);
     TrainingSetDashboardActions.VerifyVerificationSetIsCreated(driver);
     TestHelper.UpdateWorkflowState(WorkflowStateQcSetReviewNotStarted);
     CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);
     this.analysisSetReviewActions.ActivateVerificationTab();
     TrainingSetDashboardActions.ClickOnStartReview(driver);
     this.analysisSetReviewActions.WaitForLoadPage();
     this.analysisSetReviewActions.DisableAutoAdvance();
     this.analysisSetReviewActions.ClickProjectDashboardLink();
     this.analysisSetReviewActions.WaitForLoadPage();
     CommonActions.ClickTab(driver, CommonActions.VerificationTabId);
     TrainingSetDashboardActions.VerifyVerificationsetReviewInProgressState(driver);
 }
コード例 #12
0
 public void PRC_TrainingSetReview_VerifyCodingSummary_ShouldDisplayDocList()
 {
     TestHelper.UpdateWorkflowState(WorkflowStateTrainingInProgress);
     CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);
     this.analysisSetReviewActions.ActivateTrainingTab();
     this.analysisSetReviewActions.WaitForLoadPage();
     TrainingSetDashboardActions.ClickRelevantCodingSummary(driver);
     this.analysisSetReviewActions.WaitForLoadPage();
     CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);;
     this.analysisSetReviewActions.ActivateTrainingTab();
     TrainingSetDashboardActions.ClickNotRelevantCodingSummary(driver);
     this.analysisSetReviewActions.WaitForLoadPage();
     CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);
     this.analysisSetReviewActions.ActivateTrainingTab();
     TrainingSetDashboardActions.ClickSkippedCodingSummary(driver);
     this.analysisSetReviewActions.WaitForLoadPage();
     CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);
     this.analysisSetReviewActions.ActivateTrainingTab();
     TrainingSetDashboardActions.ClickNotCodedCodingSummary(driver);
     this.analysisSetReviewActions.WaitForLoadPage();
     CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);
     this.analysisSetReviewActions.ActivateTrainingTab();
 }
コード例 #13
0
        public void PRC_TrainingAdminDashboard_ClickOnTableViewInTrainingSummary_ShouldDisplayTable()
        {
            TestHelper.UpdateWorkflowState(WorkflowStateTrainingCompleted);

            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);

            TrainingSetDashboardActions.ClickOnTrainingTab(driver);

            TrainingSetDashboardActions.ClickOnTableView(driver);

            TrainingSetDashboardActions.ClickOnRoundLink(driver);

            this.analysisSetReviewActions.IsAtDocListPage();

            TrainingSetDashboardActions.ClickOnProjectDashboardLink(driver);

            TrainingSetDashboardActions.ClickOnTrainingTab(driver);

            TrainingSetDashboardActions.ClickOnTableView(driver);

            TrainingSetDashboardActions.ClickOnRelevantLink(driver);

            this.analysisSetReviewActions.IsAtDocListPage();

            TrainingSetDashboardActions.ClickOnProjectDashboardLink(driver);

            TrainingSetDashboardActions.ClickOnTrainingTab(driver);

            TrainingSetDashboardActions.ClickOnTableView(driver);

            TrainingSetDashboardActions.ClickOnNotRelevantLink(driver);

            this.analysisSetReviewActions.IsAtDocListPage();

            TrainingSetDashboardActions.VerifyNotRelevantDocuments(driver);
        }