public void ConfirmFormCityDidntExist() { SelectFrom.Click(); InpSelectFrom.SendKeys(Guid.NewGuid().ToString()); Assert.AreEqual(SelectFormResultItem.Text, "Совпадений не найдено"); }
public IWebElement SelectFromCity(string cityName) { SelectFrom.Click(); InpSelectCity.SendKeys(cityName); return(SelectFormResultItem); }
public void SelectCity(string cityName) { SelectFrom.Click(); InpSelectFrom.SendKeys(cityName); Assert.AreEqual(SelectFormResultItem.Text, cityName); SelectFormResultItem.Click(); }