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
8 changes: 7 additions & 1 deletion pages/header_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,15 @@ def check_language_change_en_auth(self):
return self.element_is_present(self.locators2.START_AUTHORIZED_PAGE_TITLE).text

@allure.step("Click on the 'Logout' button in the Header for an authorized user")
def click_logout_button_auth(self):
def click_logout_button_auth1(self):
self.check_logout_button_presence().click()

@allure.step("Click on the 'Logout' button in the Header for an authorized user -- ACTUAL")
def click_logout_button_auth(self):
button = self.check_logout_button_presence()
button.click()
Wait(self.driver, 10).until(EC.staleness_of(button))

@allure.step("Check for user logout after clicking on the button 'Logout' in the Header for an authorized user")
def check_auth_user_logout(self):
start_element = self.element_is_present(self.locators2.START_AUTHORIZED_PAGE_TITLE).text
Expand Down
Loading