Skip to content

Commit a94f299

Browse files
ref test_hpa_03_03_verify_auth_external_links_lead_to_proper_pages, test_hpa_04_02_verify_auth_logo_image_size
update header_page.py #268
1 parent 34f9087 commit a94f299

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pages/header_page.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def get_list_of_internal_links_in_more(self):
143143
@allure.step("""Get the list of the 'Donate', 'GitHub' links (external links)
144144
in the 'More' dropdown for every user""")
145145
def get_list_of_external_links_in_more(self):
146-
return self.get_list_of_links_in_more()[:2]
146+
return self.get_list_of_links_in_more()[4:6]
147147

148148
@allure.step("Get the general list of internal links in the Header for an unauthorized user""")
149149
def get_list_of_internal_links(self):
@@ -554,7 +554,7 @@ def check_size_changes_of_auth_logo_image(self):
554554
@allure.step("Check if the 'Logo' image is hidden after resizing in the Header for an authorized user")
555555
def check_invisibility_of_auth_logo_image(self):
556556
image_size_before = self.get_size_of_auth_logo_image()
557-
self.driver.set_window_size(780, 1100)
557+
self.driver.set_window_size(750, 1100)
558558
window_size = self.driver.get_window_size()
559559
window_resolution = f"{window_size['width']}x{window_size['height']}"
560560
image_invisibility = self.element_is_not_visible(self.locators1.LOGO_IMAGE_AUTH)

0 commit comments

Comments
 (0)