Exemple #1
0
        public void GoogleSearchParticularResourceMustReturnExpectedResourceLinkAtTheTop(string expectedLinkText)
        {
            var searchRequest = new SearchRequest
            {
                SearchString = expectedLinkText
            };

            searchRequestManager.SubmitSearchRequest(searchRequest);

            var firstResultLink = searchRequestManager.FindFirstResultElementLink();

            Assertions.CheckLinkElementContainsExpectedText(firstResultLink, expectedLinkText);
        }