public SettingsScreen TapSettings() { Settings.AppContext.Tap(DrawerButton); SettingsScreen settings = new SettingsScreen(Settings.AppContext); return(settings); }
public void NavigateToSettings() { SettingsScreen settings = new SettingsScreen(Settings.AppContext); drawer.NavigateTo("Settings"); Settings.AppContext.WaitForElement(settings.pkPreferredLocationQuery); Settings.AppContext.Screenshot("Verify settings screen loaded correctly"); }
public void BeforeEachTest() { { path = "../../com.lkqcorp.rebuilders.qc.apk"; Settings.AppContext = ConfigureApp .Android .EnableLocalScreenshots() .ApkFile(path) .StartApp(AppDataMode.DoNotClear); homeScreen = new HomeScreen(Settings.AppContext); searchResults = new SearchResultsScreen(Settings.AppContext); settings = new SettingsScreen(Settings.AppContext); drawer = new Drawer(Settings.AppContext); _savedSearchesScreen = new SavedSearchesScreen(Settings.AppContext); _pickerDialog = new PickerDialog(Settings.AppContext); if (homeScreen.IsLocationSet() == false) { homeScreen.SelectLocation("LKQ London"); } } }