Exemplo n.º 1
0
 public bool IsUserLoggedOut()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_DROPDOWN_ACCT_ICON);
     ClickDropDownAcctIcon();
     DriverActions.waitForElementVisibleAndEnabled(BY_ACCT_LOGIN_LINK);
     return(DriverActions.IsElementPresent(BY_ACCT_LOGIN_LINK));
 }
 public void ClickLoadSavedBuildButton()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_LOAD_SAVED_BUTTON);
     DriverActions.waitForElementToBeEnabled(BY_LOAD_SAVED_BUTTON);
     DriverActions.WaitForCanvassToComplete();
     DriverActions.clickElement(BY_LOAD_SAVED_BUTTON);
 }
Exemplo n.º 3
0
 public void ClickAcctLoggedInIcon()
 {
     DriverActions.waitForAjaxRequestToComplete();
     WebDriverExtensions.WaitForPageLoaded(Driver);
     DriverActions.WaitForCanvassToComplete();
     DriverActions.waitForElementVisibleAndEnabled(BY_ACCT_LOGGED_IN_ICON);
     DriverActions.clickElement(BY_ACCT_LOGGED_IN_ICON);
 }
Exemplo n.º 4
0
        public void ClickFooterNextButton()
        {
            if (IsWidgetContainerDisplayed())
            {
                DriverActions.clickElement(BY_FOOTER_WIDGET_CARET);
            }

            DriverActions.waitForElementVisibleAndEnabled(BY_FOOTER_NEXT_BUTTON);
            DriverActions.clickElement(BY_FOOTER_NEXT_BUTTON);
        }
Exemplo n.º 5
0
 public void WaitForChooseColorTitleToDisplay()
 {
     WebDriverExtensions.WaitForPageLoaded(Driver);
     DriverActions.waitForElementVisibleAndEnabled(BY_CHOOSE_COLOR_TITLE);
 }
Exemplo n.º 6
0
 public void WaitForTrimPageToLoad()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_TRIM_PAGE_TITLE);
 }
Exemplo n.º 7
0
 public void OpenBuildSummary()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_OPEN_BUILD_SUMMARY);
     DriverActions.clickElement(BY_OPEN_BUILD_SUMMARY);
 }
Exemplo n.º 8
0
 public void ClickFooterStartingPrice()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_FOOTER_STARTING_PRICE);
     DriverActions.clickElement(BY_FOOTER_STARTING_PRICE);
 }
 public void WaitForGemConfirmationPageToLoad()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_GEM_BUILD_CONF_PAGE);
 }
Exemplo n.º 10
0
 public void WaitForColorPageToLoad()
 {
     WebDriverExtensions.WaitForPageLoaded(Driver);
     DriverActions.waitForElementVisibleAndEnabled(BY_NEXT_BUTTON);
 }
Exemplo n.º 11
0
 public void WaitForDealerNameToBeDisplayed()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_SELECTED_DEALER_NAME);
 }
Exemplo n.º 12
0
 public void WaitForCloseIconToBeEnabled()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_HEADER_CLOSE_ICON);
 }
Exemplo n.º 13
0
 public void WaitForTrimsPageToLoad()
 {
     WebDriverExtensions.WaitForPageLoaded(Driver);
     DriverActions.waitForElementVisibleAndEnabled(BY_TRIM_CARDS);
 }
Exemplo n.º 14
0
 public void WaitForEnginePageToLoad()
 {
     WebDriverExtensions.WaitForPageLoaded(Driver);
     DriverActions.waitForElementVisibleAndEnabled(BY_WHOLEGOOD_ENGINE);
 }
Exemplo n.º 15
0
 public void WaitForLoginModuleEnabled()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_LOGIN_CONTAINER);
     DriverActions.waitForElementVisibleAndEnabled(BY_EMAIL_FIELD);
 }
Exemplo n.º 16
0
 public void WaitForNavigationBarToLoad()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_NAVIGATION_BAR);
 }
Exemplo n.º 17
0
 public void WaitForPackagesPageToLoad()
 {
     WebDriverExtensions.WaitForPageLoaded(Driver);
     DriverActions.waitForElementVisibleAndEnabled(BY_PACKAGE_CATEGORY_CONTAINER);
 }
 public void WaitForBuildPageToLoad()
 {
     WebDriverExtensions.WaitForPageLoaded(Driver);
     DriverActions.WaitForCanvassToComplete();
     DriverActions.waitForElementVisibleAndEnabled(BY_FULL_SCREEN_BUTTON);
 }
 public void WaitForCategoryPageToLoad()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_CATEGORY_PAGE_TITLE);
 }
 public bool IsVirtualKeyboardDisplayed()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_VIRTUAL_KYB);
     return(DriverActions.IsElementPresent(BY_VIRTUAL_KYB));
 }
Exemplo n.º 21
0
 public void ClickFooterPaymentCalculator()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_FOOTER_PAYMENT_CALC);
     DriverActions.clickElement(BY_FOOTER_PAYMENT_CALC);
     DriverActions.waitForAjaxRequestToComplete();
 }
 public void ClickColorFromNavigationBar()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_NAVIGATION_COLOR);
     DriverActions.clickElement(BY_NAVIGATION_COLOR);
 }
Exemplo n.º 23
0
 public void ClickFooterBuildSummaryToggle()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_BUILD_SUMMARY_TOGGLE);
     DriverActions.clickElement(BY_BUILD_SUMMARY_TOGGLE);
 }
 public void ClickTrimFromNavigationBar()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_NAVIGATION_TRIM);
     DriverActions.clickElement(BY_NAVIGATION_TRIM);
 }
Exemplo n.º 25
0
 public void WaitForBuildPageToLoad()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_FULL_SCREEN_BUTTON);
     DriverActions.waitForElementVisibleAndEnabled(BY_FLICKITY_SLIDER_BUTTON);
 }
 public void ClickModelsFromNavigationBar()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_NAVIGATION_MODELS);
     DriverActions.clickElement(BY_NAVIGATION_MODELS);
 }
 public void ClickCategoriesFromNavigationBar()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_NAVIGATION_CATEGORIES);
     DriverActions.clickElement(BY_NAVIGATION_CATEGORIES);
 }
 public void WaitforCarouselItemstoLoad()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_BUILD_CAROUSEL_FIRST_ITEM);
 }
Exemplo n.º 29
0
 public void WaitForSaveModalBodyToLoad()
 {
     DriverActions.waitForElementVisibleAndEnabled(BY_SAVE_MODAL_BODY);
 }
Exemplo n.º 30
0
 public void WaitForColorsPageToLoad()
 {
     WebDriverExtensions.WaitForPageLoaded(Driver);
     DriverActions.waitForElementVisibleAndEnabled(BY_WHOLEGOOD_COLORS_CONTAINER);
 }