public void AccessReviewPage_ClickEditContactInformation_WelcomePageOpens() { var reviewPage = new ReviewPage(); reviewPage.OpenSpousePage("Illidan", "Stormrage", "*****@*****.**", "9199199191", "For the Horde, Inc"); reviewPage.OpenBusinessInfoPage("Mirana", "Moon", "*****@*****.**", "9198958597"); reviewPage.OpenReviewPage("Independent", "100000", "Less than 2 months"); reviewPage.EditContactInfoLink.Click(); Assert.AreEqual("Welcome - Guidant Business Financial Survey", reviewPage._driver.Title); reviewPage.Dispose(); }
public void SkipSpousePage_AccessReviewPage_SpouseBallTrackerShowsWhite() { var reviewPage = new ReviewPage(); reviewPage.OpenSpousePage("Illidan", "Stormrage", "*****@*****.**", "9199199191", "For the Horde, Inc"); reviewPage._action.Click(reviewPage.RightArrowKey).Build().Perform(); reviewPage.OpenReviewPage("Independent", "100000", "Less than 2 months"); var spouseTrackerColor = reviewPage._wait.Until(ExpectedConditions.ElementExists( By.XPath("//div[@class='col-lg-4 mt-lg-4 mb-lg-2 text-center d-none d-lg-block']/div[2]"))).GetAttribute("class"); Assert.AreEqual("tracker tracker-lg tracker-lg-white rounded-circle", spouseTrackerColor); reviewPage.Dispose(); }