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"); }
public void WhenINavigateToGatalogItem(string catalogItem, string itemSpecific) { _homePageSteps.NavigateTo(catalogItem, itemSpecific); _productListPageSteps.WaitCatalogPageIsDisplayed(); }