Пример #1
0
        public void ProgDirectorCanCreateEditAndFinalizeAgenda()
        {
            /// 1. Login as a program director
            LoginPage           LP = Navigation.GoToLoginPage(browser);
            CBDProgDirectorPage PP = LP.LoginAsExistingUser(UserUtils.UserRole.PD, UserUtils.ProgDirector1Login, "test");

            /// 2. Create an upcoming agenda, then choose this agenda in the Meeting Agenda dropdown
            /// 4. Click on the Set Status button and then set the status of the learner to stage 23
            /// 5. Finalize the Agenda
            PP.CreateChangeAndFinalizeAgendaForLearner(userFullNamePerBrowser, "Reviewed", "High", "_TA_AStatic User_CC_001", "Progressing as Expected",
                                                       "Promote Learner - to Stage 3");

            // Cleanup data by setting the learner back to stage 2
            PP.CreateChangeAndFinalizeAgendaForLearner(userFullNamePerBrowser, null, null, null, "Progressing as Expected",
                                                       "Promote Learner - to Stage 2");
        }
Пример #2
0
        // This test cant be run in parallel across browsers because agendas in the Meeting Agenda dropdown may get mixed up between parallel runs.
        // See RCPSC-547 for the status of a redesign that would fix that
        public void ProgDirectorCanCreateEditAndFinalizeAgenda()
        {
            // Only running this test in Chrome because it is a long test and we can not run it in parallel. Whenever JIRA task
            // https://code.premierinc.com/issues/browse/RCPSC-547 is complete, we can run this test in parallel because
            // the UI will be redesigned so that the agendas will not get mixed up during parallel runs
            if (BrowserName == BrowserNames.Chrome)
            {
                /// 1. Login as a program director
                LoginPage           LP = Navigation.GoToLoginPage(browser);
                CBDProgDirectorPage PP = LP.LoginAsExistingUser(UserUtils.UserRole.PD, UserUtils.ProgDirector1Login, ConfigurationManager.AppSettings["LoginPassword"]);

                /// 2. Create an upcoming agenda, then choose this agenda in the Meeting Agenda dropdown
                /// 4. Click on the Set Status button and then set the status of the learner to stage 23
                /// 5. Finalize the Agenda
                PP.CreateChangeAndFinalizeAgendaForLearner(learner1FullNamePerBrowser, "Reviewed", "High", "_TA_AStatic User_CC_001", "Progressing as Expected",
                                                           "Promote Learner - to Stage 3");

                // Cleanup data by setting the learner back to stage 2
                PP.CreateChangeAndFinalizeAgendaForLearner(learner1FullNamePerBrowser, null, null, null, "Progressing as Expected",
                                                           "Promote Learner - to Stage 2");
            }
        }