public void VerifyAccessoriesPageGEMUIElements() { Assert.IsTrue(IsChooseAccessoriesTitleDisplayed(), "Accessories page title is not present"); Assert.IsTrue(HeaderModule.IsNavigationBarBrandNameDisplayed(), "Navigation bar is not displayed"); Assert.IsTrue(HeaderModule.IsHeaderSignInIconDisplayed(), "Header Sign in is not present"); Assert.IsTrue(HeaderModule.IsAccountHeaderIconDisplayed(), "Account icon is not displayed"); Assert.IsTrue(Toolbar.IsToolbarDisplayed(), "Toolbar is not displayed"); Assert.IsTrue(FooterModule.IsNextOpenBuildSummaryDisplayed(), "Build Summary/Next button not displayed"); Assert.IsTrue(FooterModule.IsStartingPriceDisplayed(), "Starting price is not displayed"); }
public void VerifyHeaderItemsForDealerExp() { Assert.IsFalse(HeaderModule.IsHeaderCloseIconDisplayed(), string.Format(ICON_NOT_EXPECTED_ERROR, "close")); Assert.IsFalse(HeaderModule.IsHeaderSignInIconDisplayed(), string.Format(ICON_NOT_EXPECTED_ERROR, "sign in")); Assert.IsFalse(HeaderModule.IsAccountHeaderIconDisplayed(), string.Format(ICON_NOT_EXPECTED_ERROR, "account")); }