예제 #1
0
 def get_is_mortgage_debt_cleared_not_applicable_radio_button_state(self):
     return WebDriverWait(self.driver, 10).until(
         EC.element_to_be_clickable(
             LifeCriticalTab.Locators.
             MORTGAGE_AND_DEBT_CLEARED_NOT_APPLICABLE_RADIO_BUTTON)
     ).is_selected()
예제 #2
0
 def get_address_this_value(self):
     return WebDriverWait(self.driver, 10).until(
         EC.element_to_be_clickable(
             LifeCriticalTab.Locators.ADDRESS_THIS_TEXTFIELD)).text
예제 #3
0
 def get_reason_to_not_review_value(self):
     return WebDriverWait(self.driver, 10).until(
         EC.element_to_be_clickable(
             LifeCriticalTab.Locators.REASON_TO_REVIEW)).text
예제 #4
0
 def get_impact_on_dependants_value(self):
     return WebDriverWait(self.driver, 10).until(
         EC.element_to_be_clickable(
             LifeCriticalTab.Locators.IMPACT_ON_DEPENDANTS)).text
예제 #5
0
 def get_impact_on_customer_value(self):
     return WebDriverWait(self.driver, 10).until(
         EC.element_to_be_clickable(
             LifeCriticalTab.Locators.IMPACT_ON_CUSTOMER)).text
예제 #6
0
 def get_cost_of_protection_no_radio_button_state(self):
     return WebDriverWait(self.driver, 10).until(
         EC.element_to_be_clickable(
             LifeCriticalTab.Locators.COST_OF_PROTECTION_NO_RADIO_BUTTON)
     ).is_selected()
예제 #7
0
 def get_monthly_total(self):
     return WebDriverWait(self.driver, 10).until(
         EC.element_to_be_clickable(
             BudgetStage.Income.Locators.MONTHLY_TOTAL)).text
예제 #8
0
 def get_needs_and_priorities_question(self):
     return WebDriverWait(self.driver, 10).until(
         EC.element_to_be_clickable(ProfileStage.NeedsAndPriorities.
                                    Locators.FIRST_QUESTION)).text