예제 #1
0
        public void OmadaCasesTest()
        {
            GoToMainURL();

            MainPage.CloseCookieBar();
            FooterMenu.ClickOnCases(false);
            CasesPage.ClickOnDownloadEccoPDF();
            DownloadPDFPage.fillForm("Prezes",
                                     "Wiesław",
                                     "Wszywka",
                                     "*****@*****.**",
                                     "+48 22 666 00 77",
                                     "Testerzy S.A.",
                                     "Poland");
            DownloadPDFPage.ClickDownloadPDF();
            DownloadPDFPage.ClickFinalDownloadLink("ECCO");
            Core.CheckFileDownloaded("Omada-Case-ECCO-Shoes.pdf");
        }
예제 #2
0
        public void OmadaPolicyTest()
        {
            GoToMainURL();

            FooterMenu.ClickOnNewsAndEvents(true);

            Core.SwitchToLastTab();
            PrivacyPolicyPage.CheckPageElements();

            Core.SwitchToFirstTab();
            MainPage.CloseCookieBar();

            //close last tab:
            Core.SwitchToLastTab();
            Core.Driver().Close();

            Core.SwitchToFirstTab();
            //check if the policy bar is not displayed:
            MainPage.checkIfPolicyBarDisplayed(false);
        }