public virtual void TestSetup() { App = AppInitializer.StartApp(Platform); WeatherPage = new WeatherPage(App, Platform); ForecastPage = new ForecastPage(App, Platform); }
public void TapCrashButton() { //Arrange //Act WeatherPage.TapForecastTab(); ForecastPage.TapCrashButton(); //Assert }
void ToggleScreens(bool isToggleScreensEnabled) { if (!isToggleScreensEnabled) { return; } if (WeatherPage.IsWeatherPageVisible()) { WeatherPage.TapForecastTab(); ForecastPage.TapWeatherTab(); } else { ForecastPage.TapWeatherTab(); WeatherPage.TapForecastTab(); } }