diff --git a/pages/exercises_ru_words_page.py b/pages/exercises_ru_words_page.py index 67e9e69e68..b472bf7ffb 100644 --- a/pages/exercises_ru_words_page.py +++ b/pages/exercises_ru_words_page.py @@ -232,15 +232,13 @@ def click_on_subgroup_link_beloved_home_food_clothes(self): # Checking images on the page @allure.step("Get the list of attribute 'style' values of images in links") def get_links_style(self): - style = [image.get_attribute('style') for image in self.get_list4_of_links()] # print(len(style), *style, sep='\n') - return style + return [image.get_attribute('style') for image in self.get_list4_of_links()] @allure.step("Get the list of sizes of background-images in links") def get_images_sizes(self): - images_size = [image.size for image in self.get_list4_of_links()] # print(len(images_size), *images_size, sep='\n') - return images_size + return [image.size for image in self.get_list4_of_links()] @allure.step("Check changes of images sizes after resizing") def check_size_changes_of_images(self):