Exemplo n.º 1
0
        public void PerformSearch_TextShouldMatch()
        {
            var searchText = "Hello World";

            using (var steps = new DemoSteps())
            {
                steps
                .GivenIUseChromeWebDriver()
                .WhenISearch(searchText)
                .ThenSearchBarShouldMatch(searchText);
            }
        }
Exemplo n.º 2
0
        public void SearchSuggestionsShouldStartWithSearch()
        {
            var searchText = "Hello World";

            using (var steps = new DemoSteps())
            {
                steps
                .GivenIUseChromeWebDriver()
                .WhenISearch(searchText)
                .WhenIClickSearchBar()
                .ThenSearchSuggestionsShouldStartWith("somethingsearchText");
            }
        }