Пример #1
0
        public void ConfirmFormCityDidntExist()
        {
            SelectFrom.Click();

            InpSelectFrom.SendKeys(Guid.NewGuid().ToString());

            Assert.AreEqual(SelectFormResultItem.Text, "Совпадений не найдено");
        }
Пример #2
0
        public IWebElement SelectFromCity(string cityName)
        {
            SelectFrom.Click();

            InpSelectCity.SendKeys(cityName);

            return(SelectFormResultItem);
        }
Пример #3
0
        public void SelectCity(string cityName)
        {
            SelectFrom.Click();

            InpSelectFrom.SendKeys(cityName);

            Assert.AreEqual(SelectFormResultItem.Text, cityName);

            SelectFormResultItem.Click();
        }