public void Verify_MultiYard_SavedSearch()
        {
            LocationsScreen locations = new LocationsScreen(Settings.AppContext);

            Settings.AppContext.Tap(_searchScreen.SearchButton);
            Settings.AppContext.Tap(_searchScreen.LocationsPicker);
            Settings.AppContext.WaitForElement(c => c.Switch());

            locations.AddAllLocationsToSearch();
            Settings.AppContext.WaitForElement(_searchScreen.SaveSearchButton);
            _searchScreen.SearchScreenLoaded();
            Settings.AppContext.Tap(_searchScreen.SaveSearchButton);

            _entryDialog.WaitToAppear();
            var entryText = _entryDialog.GetEntryText();

            Settings.AppContext.Screenshot("Verifying the Saved Search name is as expected");
            _entryDialog.TapAcceptButton();

            _drawer.NavigateTo("Saved Searches");

            WaitToAppear();
            var texts = GetItemLabels().Select(c => c.Text).ToArray();

            Assert.IsTrue(texts.Any(c => string.Equals(c, entryText)), $"The saved search \"{entryText}\" should exist in the saved searches screen.");
            Settings.AppContext.Screenshot("Verify that the name of the Saved Search includes number of locations instead of location name");
        }
 public SearchScreen(IApp app) : base(app)
 {
     _locationsScreen = new LocationsScreen(app);
     _pickerDialog    = new PickerDialog(app);
     _detailsScreen   = new VehicleDetailsScreen(app);
     _resultsScreen   = new SearchResultsScreen(app);
     _entryDialog     = new EntryDialog(app);
     _drawer          = new Drawer(app);
     Successful       = false;
 }