Пример #1
0
 def sports_and_recreation_image_visibility(self):
     locators = SearchLocators(config=self.config)
     with allure.step("AND sports and recreation image should be visible"):
         return self.wait_for(locators.SPORTS_AND_RECREATION_IMAGE)
Пример #2
0
 def wellness_image_visibility(self):
     locators = SearchLocators(config=self.config)
     with allure.step("THEN wellness image should be visible"):
         return self.wait_for(locators.WELLNESS_IMAGE)
Пример #3
0
 def beauty_image_visibility(self):
     locators = SearchLocators(config=self.config)
     with allure.step("AND beauty image should be visible"):
         return self.wait_for(locators.BEAUTY_IMAGE)
Пример #4
0
 def sports_and_recreation_image_invisibility(self):
     locators = SearchLocators(config=self.config)
     return self.wait_for_invisibility(locators.SPORTS_AND_RECREATION_IMAGE)
Пример #5
0
 def online_image_visibility(self):
     locators = SearchLocators(config=self.config)
     with allure.step("AND online image should be visible"):
         return self.wait_for(locators.ONLINE_IMAGE)
Пример #6
0
 def online_image_invisibility(self):
     locators = SearchLocators(config=self.config)
     return self.wait_for_invisibility(locators.ONLINE_IMAGE)
Пример #7
0
 def fitness_image_invisibility(self):
     locators = SearchLocators(config=self.config)
     return self.wait_for_invisibility(locators.FITNESS_IMAGE)
Пример #8
0
 def __init__(self, driver, config):
     super().__init__(driver, config)
     self.driver = driver
     self.config = config
     self.locators = SearchLocators(config=self.config)
Пример #9
0
 def beauty_image_visibility(self):
     locators = SearchLocators(config=self.config)
     return self.wait_for(locators.BEAUTY_IMAGE)
Пример #10
0
 def wellness_image_visibility(self):
     locators = SearchLocators(config=self.config)
     return self.wait_for(locators.WELLNESS_IMAGE)