public void AddButtonTest_OpenSearchPage()
        {
            var locationWeatherListPage = new LocationWeatherListPage(DriverInstance);

            locationWeatherListPage.ClickAddLocationButton();

            SearchLocationListPage searchLocationPage = new SearchLocationListPage(DriverInstance);

            Assert.IsTrue(searchLocationPage.IsOppened());
        }
        public void AddButtonTest_ReternCitys()
        {
            var cityName = "Lviv";

            var locationWeatherListPage = new LocationWeatherListPage(DriverInstance);

            locationWeatherListPage.ClickAddLocationButton();


            SearchLocationListPage searchLocationPage = new SearchLocationListPage(DriverInstance);
            var firstItem = searchLocationPage.SetValueToSearch(cityName).ClickSearchButton()
                            .GetSearchResultLocationNames().First();

            Assert.AreEqual(cityName, firstItem);
        }
        public void OpenListOfLocationsPage()
        {
            var locationWeatherListPage = new LocationWeatherListPage(DriverInstance);

            Assert.IsTrue(locationWeatherListPage.IsOppened());
        }