Exemplo n.º 1
0
        public void GoToCurrentWeatherTabTest()
        {
            var locationPageObject = new LocationPageObject(App);
            var currentWeatherPage = locationPageObject.TapCurrentWeatherTab();

            Assert.False(currentWeatherPage.IsWeatherDataDisplayed(""));
        }
Exemplo n.º 2
0
        private LocationPageObject EnterLocation(string location)
        {
            var locationPageObject = new LocationPageObject(App);

            Assert.False(locationPageObject.IsSearchButtonEnabled());
            locationPageObject.EnterLocation(location);
            Assert.True(locationPageObject.IsSearchButtonEnabled());
            return(locationPageObject);
        }
Exemplo n.º 3
0
        public void SwipeToCurrentWeatherTabTest()
        {
            if (OniOS)
            {
                Assert.Ignore("Tabbed Page does not support swiping for iOS.");
            }

            var locationPageObject = new LocationPageObject(App);
            var currentWeatherPage = locationPageObject.SwipeToCurrentWeatherTab();

            Assert.False(currentWeatherPage.IsWeatherDataDisplayed(""));
        }