Exemplo n.º 1
0
        public void Test_01_SomeTest()
        {
            var HomePageActions = new HomePageActions();

            HomePageActions.GetPage();
            HomePageActions.PerformSearch(SEARCH_ITEM);
            var SearchResultsPageActions = new SearchResultsPageActions();
            var itemsList = SearchResultsPageActions.GetSearchItems();

            Assert.IsTrue(itemsList.All(i => i.ToLower().Contains(SEARCH_ITEM)));
        }
Exemplo n.º 2
0
        public void WhenIPerformSearchOfTheProduct(string searchCriteria)
        {
            HomePageActions page = new HomePageActions();

            page.PerformSearch(searchCriteria);
        }