Пример #1
0
        public void TapCrashButton()
        {
            //Arrange

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

            //Assert
        }
Пример #2
0
        void ToggleScreens(bool isToggleScreensEnabled)
        {
            if (!isToggleScreensEnabled)
            {
                return;
            }

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