There was an error while loading. Please reload this page.
2 parents c710c67 + b0dd3ba commit 07a6b4bCopy full SHA for 07a6b4b
1 file changed
pages/header_page.py
@@ -226,11 +226,11 @@ def check_registration_link_visibility(self):
226
227
@allure.step("Check the 'Profile' link is present in the Header for an authorized user")
228
def check_profile_link_presence(self):
229
- return self.element_is_present(self.locators1.LINK_PROFILE)
+ return self.element_is_present(self.locators1.LINK_PROFILE_AUTH)
230
231
@allure.step("Check the 'Profile' link is visible for an authorized user")
232
def check_profile_link_visibility(self):
233
- return self.element_is_visible(self.locators1.LINK_PROFILE)
+ return self.element_is_visible(self.locators1.LINK_PROFILE_AUTH)
234
235
@allure.step("Get the list of buttons in the Header for an unauthorized user")
236
def get_list_of_buttons_unauth(self):
0 commit comments