예제 #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()