Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions pages/exercises_ru_words_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down