Ejemplo n.º 1
0
        public void CheckStrictlyNeccessaryCookiesTab()
        {
            LoginPage loginPage = new LoginPage(driver);

            loginPage.NavigateToLoginPage();
            loginPage.LoadComplete(10);
            loginPage.OpenCookiePanel();
            CookieSettingsPanel cookie_settings = new CookieSettingsPanel(driver);

            DemoHelper.Pause();
            cookie_settings.AccessStrictlyNecessaryCokkies();
            Assert.IsTrue(cookie_settings.GetCookiePresentationTitle(StrictlyNeccessaryCookiTitle));
        }
Ejemplo n.º 2
0
        public void CheckCookiesDetailsDisplaysCorrectCookieList()
        {
            LoginPage loginPage = new LoginPage(driver);

            loginPage.NavigateToLoginPage();
            loginPage.LoadComplete(10);
            loginPage.OpenCookiePanel();
            CookieSettingsPanel cookie_settings = new CookieSettingsPanel(driver);

            cookie_settings.AccessStrictlyNecessaryCokkies();
            cookie_settings.NavigateToCookieDetailPanel();
            cookie_settings.AccessCookieListForEachCategory("First Party Cookies View Cookies");
            Assert.IsTrue(cookie_settings.CheckCorrectCookiesListIsDisplayed(strictlyNecessary_FirstParty_cookies));
        }
Ejemplo n.º 3
0
        public void FilterCookies()
        {
            LoginPage loginPage = new LoginPage(driver);

            loginPage.NavigateToLoginPage();
            loginPage.LoadComplete(10);
            loginPage.OpenCookiePanel();
            CookieSettingsPanel cookie_settings = new CookieSettingsPanel(driver);

            cookie_settings.AccessStrictlyNecessaryCokkies();
            cookie_settings.NavigateToCookieDetailPanel();
            cookie_settings.OpenCookiesFilterPane();
            cookie_settings.ClicktrictlyNecessaryCookiesFilterOption();
            cookie_settings.ClickFunctionalCookiesFilterOption();
            cookie_settings.ApplyCookieFilters();
            cookie_settings.AccessCookieListForEachCategory("First Party Cookies View Cookies");
            Assert.IsTrue(cookie_settings.CheckCorrectCookiesListIsDisplayed(functionalCookies_FirstParty_cookies));
            DemoHelper.Pause(5000);
        }