Exemple #1
0
        public void EarlyYearsProvisionSectionCheck()
        {
            NavigateToReturnPage();
            Wait.WaitTillAllAjaxCallsComplete();
            EarlyYearsProvisionSection earlyYearsProvision = new EarlyYearsProvisionSection();

            earlyYearsProvision.OpenSection();
            Wait.WaitTillAllAjaxCallsComplete();
            Assert.IsTrue(earlyYearsProvision.HasRecords());
        }
Exemple #2
0
        public void EarlyYearsBasicDetailsSectionCheck()
        {
            SeleniumHelper.Login(SeleniumHelper.iSIMSUserType.ReturnsManager);
            AutomationSugar.NavigateMenu(DataExchangeElement.MenuTopLevel, DataExchangeElement.MenuCategory, DataExchangeElement.MenuItem);
            var censusTripletPage = new CensusPage();

            censusTripletPage.SearchCriteria.ReturnTypeVersionDropdown = DataExchangeElement.CensusTestTargetVersion;
            var censusSearchTiles = censusTripletPage.SearchCriteria.Search();
            var censusPage        = censusSearchTiles.SingleOrDefault(x => true).Click <CensusPage>();
            EarlyYearsProvisionSection earlyYearsProvisionSection = new EarlyYearsProvisionSection();

            earlyYearsProvisionSection.OpenSection();
            Assert.IsTrue(earlyYearsProvisionSection.HasRecords());
        }