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
4 changes: 2 additions & 2 deletions pages/header_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def get_list_of_internal_links_in_more(self):
@allure.step("""Get the list of the 'Donate', 'GitHub' links (external links)
in the 'More' dropdown for every user""")
def get_list_of_external_links_in_more(self):
return self.get_list_of_links_in_more()[:2]
return self.get_list_of_links_in_more()[4:6]

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