Skip to content

Commit 07a6b4b

Browse files
Merge pull request #714 from Brain-up/issue_268
Issue_268_HEADER_links
2 parents c710c67 + b0dd3ba commit 07a6b4b

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

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

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

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

0 commit comments

Comments
 (0)