コード例 #1
0
        /// <summary>
        /// The method chek filter. Select filter time of work, left coust and shave head for man.
        /// After then check the filter result by pattern list.
        /// </summary>
        public void CheckFilter()
        {
            _btFilter.ClickAndWaitToPageLoad();
            _cbLeftCoust.ClickAndWaitToPageLoad();
            _btTimeWorkFilter.ClickAndWaitToPageLoad();
            _cbTimeWork2100.ClickAndWaitToPageLoad();
            _lkFilterForManShowMore.ClickAndWaitToPageLoad();
            _cbFilterForManShaveHead.ClickAndWaitToPageLoad();
            _btShowResult.ClickAndWaitToPageLoad();

            var barbarshopItem     = _mbItemNurseryBarbershop.ElementsList();
            var barbershopNameList = new List <string>();

            foreach (var item in barbarshopItem)
            {
                barbershopNameList.Add(item.Text);
            }
            Assert.IsTrue(barbershopNameList.SequenceEqual(GetDataFromTXTFilter()));
        }