Beispiel #1
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);
        }
Beispiel #2
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);
        }