Skip to content

Commit c345d3d

Browse files
ref CI timeout for check_auth_user_logout() method
update header_page.py
1 parent 4ce25ef commit c345d3d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎pages/header_page.py‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,9 +695,15 @@ def check_language_change_en_auth(self):
695695
return self.element_is_present(self.locators2.START_AUTHORIZED_PAGE_TITLE).text
696696

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

701+
@allure.step("Click on the 'Logout' button in the Header for an authorized user -- ACTUAL")
702+
def click_logout_button_auth(self):
703+
button = self.check_logout_button_presence()
704+
button.click()
705+
Wait(self.driver, 10).until(EC.staleness_of(button))
706+
701707
@allure.step("Check for user logout after clicking on the button 'Logout' in the Header for an authorized user")
702708
def check_auth_user_logout(self):
703709
start_element = self.element_is_present(self.locators2.START_AUTHORIZED_PAGE_TITLE).text

0 commit comments

Comments
 (0)