Esempio n. 1
0
        public virtual void TestSetup()
        {
            App = AppInitializer.StartApp(Platform);

            WeatherPage  = new WeatherPage(App, Platform);
            ForecastPage = new ForecastPage(App, Platform);
        }
Esempio n. 2
0
        public void TapCrashButton()
        {
            //Arrange

            //Act
            WeatherPage.TapForecastTab();
            ForecastPage.TapCrashButton();

            //Assert
        }
Esempio n. 3
0
        void ToggleScreens(bool isToggleScreensEnabled)
        {
            if (!isToggleScreensEnabled)
            {
                return;
            }

            if (WeatherPage.IsWeatherPageVisible())
            {
                WeatherPage.TapForecastTab();
                ForecastPage.TapWeatherTab();
            }
            else
            {
                ForecastPage.TapWeatherTab();
                WeatherPage.TapForecastTab();
            }
        }