Beispiel #1
0
            public void Caster_Schedulr_ValidateLeagues()
            {
                _browser.Navigate(_config.Url);
                var      leagues  = _params["Leagues"].AsBsonArray;
                HomePage homePage = new HomePage(_browser);

                homePage.Login(_config.ConfigObject.Users.AdminUser);
                homePage.HoverOverUserProfilePic();
                AdminPage    adminPage    = homePage.ClickOnAdmin();
                SchedulrPage schedulrPage = adminPage.ClickOnSchedulrLink();

                Assert.True(schedulrPage.ValidateLeagues(leagues));
            }
Beispiel #2
0
            public void Caster_Schedulr_ValidateTime()
            {
                _browser.Navigate(_config.Url);
                HomePage homePage = new HomePage(_browser);

                homePage.Login(_config.ConfigObject.Users.AdminUser);
                homePage.HoverOverUserProfilePic();
                AdminPage    adminPage    = homePage.ClickOnAdmin();
                SchedulrPage schedulrPage = adminPage.ClickOnSchedulrLink();
                var          errors       = schedulrPage.ValidateTime();

                Assert.True(string.IsNullOrEmpty(errors), errors);
            }