Пример #1
0
 def click_search_button(self):
     Button(self.search_button).click()
Пример #2
0
 def search_button_should_be_disabled(self):
     Button(self.search_button).should_be_disabled()
Пример #3
0
 def search_button_should_be_visable(self):
     Button(self.search_button).should_be_visible()
Пример #4
0
 def _add_room(self):
     Button(self.add_room_button).click()
Пример #5
0
 def _remove_room(self):
     Button(self.remove_room_button).click()
Пример #6
0
 def _add_child_guest(self):
     Button(self.add_child_button).click()
Пример #7
0
 def _remove_child_guest(self):
     Button(self.remove_child_button).click()
Пример #8
0
 def _add_adult_guest(self):
     Button(self.add_adult_button).click()
Пример #9
0
 def _remove_adult_guest(self):
     Button(self.remove_adult_button).click()
Пример #10
0
 def remove_adult_button_should_be_visible(self):
     Button(self.remove_adult_button).should_be_visible()
Пример #11
0
 def remove_room_button_should_be_visible(self):
     Button(self.remove_room_button).should_be_visible()
Пример #12
0
 def add_room_button_should_be_visible(self):
     Button(self.add_room_button).should_be_visible()
Пример #13
0
 def change_language_to(self, language):
     Button(self.select_language).click()
     language = self.element.span_by_lang(language)
     Button(language).click()
Пример #14
0
 def add_adult_button_should_be_visible(self):
     Button(self.add_adult_button).should_be_visible()
Пример #15
0
 def remove_room_button_should_be_disabled(self):
     Button(self.remove_room_button).should_be_disabled_by_class()
Пример #16
0
 def add_room_button_should_be_disabled(self):
     Button(self.add_room_button).should_be_disabled_by_class()