public void CheckStalker() { StalkerPage stalkerPage = new StalkerPage(driver); Assert.NotNull(stalkerPage.Navigate().SubmitHistory()); Assert.NotNull(stalkerPage.Navigate().SubmitGroup()); Assert.NotNull(stalkerPage.Navigate().SubmitAnomalies()); Assert.NotNull(stalkerPage.Navigate().SubmitMutant()); }
public void FooterFromStalker() { StalkerPage stalkerPage = new StalkerPage(driver); Assert.AreEqual(stalkerPage.Navigate().ToVk(), "Ирина Пересыпкина | ВКонтакте"); Assert.AreEqual(stalkerPage.Navigate().ToInstagram(), "Irina Peresypkina (@_iracult) • Фото и видео в Instagram"); Assert.AreEqual(stalkerPage.Navigate().ToTwitter(), "manaton (@irinka213) | Твиттер"); Assert.AreEqual(stalkerPage.Navigate().ToGoogle(), "Gmail – электронная почта и бесплатное хранилище от Google"); }
public void HeaderFromStalker()//проверка header со страницы Stalker { StalkerPage stalkerPage = new StalkerPage(driver); Assert.True(stalkerPage.Navigate().ToIndex().AreEqual()); Assert.True(stalkerPage.Navigate().ToFantasy().AreEqual()); Assert.True(stalkerPage.Navigate().ToWasteland().AreEqual()); Assert.True(stalkerPage.Navigate().ToStalker().AreEqual()); Assert.True(stalkerPage.Navigate().ToRecord().AreEqual()); }