diff --git a/pages/footer_page.py b/pages/footer_page.py index a54c565b91..68a8156aff 100644 --- a/pages/footer_page.py +++ b/pages/footer_page.py @@ -185,7 +185,10 @@ def click_contact_us_link(self): # Checking images in the Footer @allure.step("Get the list of attribute 'src' values of images in links") def get_images_src(self): - return [image.get_attribute('src') for image in self.get_list_of_images()] + att = [image.get_attribute('src') for image in self.get_list_of_images()] + print(*att, len(att), sep='\n') + return att + # return [image.get_attribute('src') for image in self.get_list_of_images()] @allure.step("Get the list of attribute 'alt' values of images in links") def get_images_alt(self): diff --git a/pages/specialists_page.py b/pages/specialists_page.py index 2a86b72701..d40f4e2a33 100644 --- a/pages/specialists_page.py +++ b/pages/specialists_page.py @@ -160,10 +160,7 @@ def get_text_content_on_page(self): @allure.step("Get the list of name values in specialist cards on the page") def get_name_values_in_cards(self): - text = [name.text for name in self.get_list_of_names_in_cards()] - print(*text) - return text - # return [name.text for name in self.get_list_of_names_in_cards()] + return [name.text for name in self.get_list_of_names_in_cards()] @allure.step("Get the list of profession values in specialist cards on the page") def get_profession_values_in_cards(self): diff --git a/test_data/footer_data.py b/test_data/footer_data.py index 99bffe1697..d5f63c65d0 100644 --- a/test_data/footer_data.py +++ b/test_data/footer_data.py @@ -20,7 +20,13 @@ class FooterData: link_status_codes = (200, 301, 403) s = f"{Links.URL_MAIN_PAGE}logos/" - images_src = (f"{s}logo_ARASAAC_black-6aced95542b919137b28bced5be83596.png", + images_src = (f"{s}logo_ARASAAC_black.png", + f"{s}epam.png", + f"{s}jetbrains-variant-4_.png", + f"{s}reg-ru.svg", + f"{s}selectel.png") + + images_src1 = (f"{s}logo_ARASAAC_black-6aced95542b919137b28bced5be83596.png", f"{s}epam-cd401151c8ee5f14afbba10b72cd5fea.png", f"{s}jetbrains-variant-4_-fb6c06f46c4a6267ac60e84343940d8b.png", f"{s}reg-ru.svg",