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 @@ -226,11 +226,11 @@ def check_registration_link_visibility(self):

@allure.step("Check the 'Profile' link is present in the Header for an authorized user")
def check_profile_link_presence(self):
return self.element_is_present(self.locators1.LINK_PROFILE)
return self.element_is_present(self.locators1.LINK_PROFILE_AUTH)

@allure.step("Check the 'Profile' link is visible for an authorized user")
def check_profile_link_visibility(self):
return self.element_is_visible(self.locators1.LINK_PROFILE)
return self.element_is_visible(self.locators1.LINK_PROFILE_AUTH)

@allure.step("Get the list of buttons in the Header for an unauthorized user")
def get_list_of_buttons_unauth(self):
Expand Down
Loading