예제 #1
0
        public void NavigateTVLG()
        {
            _homePageSteps.NavigateTo(catalogItem, itemSpecific);
            _productListPageSteps.WaitCatalogPageIsDisplayed();

            var resultList = _productListPageSteps.GetResultItemTitles();

            Assert.IsTrue(resultList.Length > 0, "No elements in result");
            Assert.IsTrue(resultList.All(i => i.Contains(itemSpecific)), "Not All contains product name");
        }
예제 #2
0
 public void WhenINavigateToGatalogItem(string catalogItem, string itemSpecific)
 {
     _homePageSteps.NavigateTo(catalogItem, itemSpecific);
     _productListPageSteps.WaitCatalogPageIsDisplayed();
 }