Exemple #1
0
 public void BeforeEachTest()
 {
     Settings.AppContext  = AppInitializer.StartApp(_platform);
     _savedSearchesScreen = new SavedSearchesScreen(Settings.AppContext);
     _homeScreen          = new HomeScreen(Settings.AppContext);
     _drawer   = new Drawer(Settings.AppContext);
     locations = new LocationsScreen(Settings.AppContext);
     _homeScreen.SelectLocation("LKQ London");
     //_homeScreen.SetPreferredLocation();
 }
Exemple #2
0
        public void BeforeEachTest()
        {
            Settings.AppContext = ConfigureApp
                                  .Android
                                  .EnableLocalScreenshots()
                                  .ApkFile("../../com.lkqcorp.rebuilders.qc.apk")
                                  .StartApp(Xamarin.UITest.Configuration.AppDataMode.DoNotClear);

            _searchScreen = new SearchScreen(Settings.AppContext);
            _homeScreen   = new HomeScreen(Settings.AppContext);
            if (_homeScreen.IsLocationSet() == false)
            {
                _homeScreen.SelectLocation("LKQ London");
                //_homeScreen.SetPreferredLocation();
            }
        }