Пример #1
0
        public void FavoriteRegionPage_FavoriteRegionDetailsIsWorking_DisplayWeatherPage()
        {
            var weatherPageObject = new WeatherPageObject(app);

            weatherPageObject.SubmitLogin("123", "456");
            weatherPageObject.SubmitFavoriteRegion("quebec");
            weatherPageObject.FavoriteRegion();

            var NameDisplayed = weatherPageObject.IsNameDisplayed("Quebec");

            Assert.IsTrue(NameDisplayed);
        }
Пример #2
0
        public void FavoriteRegionPage_RemoveRegionIsWorking_DisplayFavoriteRegionPage()
        {
            var weatherPageObject = new WeatherPageObject(app);

            weatherPageObject.SubmitLogin("123", "456");
            weatherPageObject.SubmitFavoriteRegion("quebec");
            weatherPageObject.FavoriteRegion();
            weatherPageObject.RemoveRegion();

            var NameDisplayed = weatherPageObject.IsNameDisplayed(UiText.REGION_REMOVED);

            Assert.IsTrue(NameDisplayed);
        }