def write_a_review(self, rating, body):
     self.set_review_rating(rating)
     self.enter_review_with_text(body)
     self.selenium.find_element(*self._submit_review_button_locator).click()
     self.wait_for_notification('Your review was successfully posted. Thanks!')
     from pages.desktop.consumer_pages.details import Details
     return Details(self.testsetup)
示例#2
0
    def write_a_review(self, rating, body):
        self.set_review_rating(rating)

        self.delete_review()
        self.enter_review_with_text(body)
        self.selenium.find_element(*self._submit_review_button_locator).click()
        from pages.desktop.consumer_pages.details import Details
        return Details(self.testsetup)
示例#3
0
 def click_name(self):
     self._root_element.find_element(*self._name_locator).click()
     from pages.desktop.consumer_pages.details import Details
     return Details(self.testsetup, self.name)
示例#4
0
 def click_app(self):
     app_name = self.name
     self._root_element.click()
     from pages.desktop.consumer_pages.details import Details
     return Details(self.testsetup, app_name)
示例#5
0
 def click_name(self):
     name = self.name
     self.find_element(*self._name_locator).click()
     from pages.desktop.consumer_pages.details import Details
     return Details(self.testsetup, name, first_access=True)
示例#6
0
 def click_on_first_app(self):
     self.selenium.find_element(*self._first_app_locator).click()
     from pages.desktop.consumer_pages.details import Details
     return Details(self.testsetup)