public void ThenIShouldLandToTradeSummaryPage() { Driver.GetDriver().Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(30); Assert.IsTrue(Pages.TradeSummaryPage().GetTradePanelLabel(), "Trade Summary Page Navigation title"); }
public void ThenIShouldSeeTradeHeader() { Wait.Until(x => (x.Title != Pages.TradeSummaryPage().Title)); Assert.AreEqual(Pages.TradeSummaryPage().Title, Driver.GetDriver().Title, "trade header is different"); }