Ejemplo n.º 1
0
        public void CheckFantasy()
        {
            FantasyPage fantasyPage = new FantasyPage(driver);

            Assert.NotNull(fantasyPage.Navigate().SubmitHistory());
            Assert.NotNull(fantasyPage.Navigate().SubmitWorldview());
            Assert.NotNull(fantasyPage.Navigate().SubmitNations());
        }
Ejemplo n.º 2
0
        public void FooterFromFantasy()
        {
            FantasyPage fantasyPage = new FantasyPage(driver);

            Assert.AreEqual(fantasyPage.Navigate().ToVk(), "Ирина Пересыпкина | ВКонтакте");
            Assert.AreEqual(fantasyPage.Navigate().ToInstagram(), "Irina Peresypkina (@_iracult) • Фото и видео в Instagram");
            Assert.AreEqual(fantasyPage.Navigate().ToTwitter(), "manaton (@irinka213) | Твиттер");
            Assert.AreEqual(fantasyPage.Navigate().ToGoogle(), "Gmail – электронная почта и бесплатное хранилище от Google");
        }
Ejemplo n.º 3
0
        public void HeaderFromFantasy()//проверка header со страницы Fantasy
        {
            FantasyPage fantasyPage = new FantasyPage(driver);

            Assert.True(fantasyPage.Navigate().ToIndex().AreEqual());
            Assert.True(fantasyPage.Navigate().ToFantasy().AreEqual());
            Assert.True(fantasyPage.Navigate().ToWasteland().AreEqual());
            Assert.True(fantasyPage.Navigate().ToStalker().AreEqual());
            Assert.True(fantasyPage.Navigate().ToRecord().AreEqual());
        }