public void Test_AccountCartOpen() { _navPanel = new NavigationPanel(driver); wait.Until(d => _navPanel.IsNavigationPanelOpened()); _navPanel.OpenMore(wait) .OpenLoginPage(wait) .LogIn(TestEmail, TestPassword, wait); var cartPage = _navPanel .OpenCart(wait); var actualTitle = cartPage.GetTitle(wait); StringAssert.AreEqualIgnoringCase(ExpectedEmptyCartTitle, actualTitle); }
public void Test_AccountWishListOpen() { _navPanel = new NavigationPanel(driver); wait.Until(d => _navPanel.IsNavigationPanelOpened()); _navPanel.OpenMore(wait) .OpenLoginPage(wait) .LogIn(TestEmail, TestPassword, wait); var localWishList = _navPanel .OpenWishLists(wait) .OpenGuestWishList(wait); var actualTitle = localWishList.EmptyTitle.Text; StringAssert.AreEqualIgnoringCase(ExpectedEmptyWishListTitle, actualTitle); }