Example #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)
Example #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)
Example #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)
Example #4
0
 def sports_and_recreation_image_invisibility(self):
     locators = SearchLocators(config=self.config)
     return self.wait_for_invisibility(locators.SPORTS_AND_RECREATION_IMAGE)
Example #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)
Example #6
0
 def online_image_invisibility(self):
     locators = SearchLocators(config=self.config)
     return self.wait_for_invisibility(locators.ONLINE_IMAGE)
Example #7
0
 def fitness_image_invisibility(self):
     locators = SearchLocators(config=self.config)
     return self.wait_for_invisibility(locators.FITNESS_IMAGE)
Example #8
0
 def __init__(self, driver, config):
     super().__init__(driver, config)
     self.driver = driver
     self.config = config
     self.locators = SearchLocators(config=self.config)
Example #9
0
 def beauty_image_visibility(self):
     locators = SearchLocators(config=self.config)
     return self.wait_for(locators.BEAUTY_IMAGE)
Example #10
0
 def wellness_image_visibility(self):
     locators = SearchLocators(config=self.config)
     return self.wait_for(locators.WELLNESS_IMAGE)