Beispiel #1
0
        public void ThenIShouldSeeThatIHaveATypo()
        {
            DillingerSearch search = new DillingerSearch(driver);

            Assert.IsTrue(search.isTypo());
            Thread.Sleep(1000);
        }
Beispiel #2
0
        public void ThenIShouldBeAbleToSeeTheirsWikiPage()
        {
            DillingerSearch search = new DillingerSearch(driver);

            Assert.IsTrue(search.isWiki());
            Thread.Sleep(2000);
        }
Beispiel #3
0
        public void WhenISubmitMySearchWord()
        {
            DillingerSearch search = new DillingerSearch(driver);

            search.SubmitWord();
            Thread.Sleep(2000);
        }
Beispiel #4
0
        public void WhenITypeInTheGoogleSearch(string word)
        {
            DillingerSearch search = new DillingerSearch(driver);

            search.EnterWord(word);
            Thread.Sleep(2000);
        }
Beispiel #5
0
        public void GivenIHaveEnteredGoogle()
        {
            DillingerSearch search = new DillingerSearch(driver);

            driver.Manage().Window.Maximize();
            driver.Navigate().GoToUrl(search.homepage);
        }
Beispiel #6
0
        public void WhenIClickOnTheWikipediaSuggestion()
        {
            DillingerSearch search = new DillingerSearch(driver);

            search.RedirectToWiki();
        }