예제 #1
0
 def choose_and_fill_dropdown_lca(self, dropdown_id, option_title, **kwargs):
   """Choose and fill comment or url for Assessment dropdown."""
   self.select_ca_dropdown_option(dropdown_id, option_title)
   set_value_for_asmt_ca.SetValueForAsmtDropdown(
       self._driver).fill_dropdown_lca(**kwargs)
   selenium_utils.get_when_clickable(
       self._driver, WidgetInfoAssessment.BUTTON_COMPLETE)
예제 #2
0
 def choose_and_fill_dropdown_lca(self, dropdown, **kwargs):
   """Choose and fill comment or url for Assessment dropdown."""
   self.fill_ca_values({dropdown.title: dropdown.multi_choice_options},
                       is_global=False,
                       is_inline=True)
   set_value_for_asmt_ca.SetValueForAsmtDropdown(
       self._driver).fill_dropdown_lca(**kwargs)
   selenium_utils.get_when_clickable(
       self._driver, locator.WidgetInfoAssessment.BUTTON_COMPLETE)