From c345d3dea061109ca70ebed30a838aede427d599 Mon Sep 17 00:00:00 2001 From: Alena Krauch Date: Mon, 31 Aug 2026 15:26:20 +0300 Subject: [PATCH] ref CI timeout for check_auth_user_logout() method update header_page.py --- pages/header_page.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pages/header_page.py b/pages/header_page.py index 037716aab6..c5cebcc6d9 100644 --- a/pages/header_page.py +++ b/pages/header_page.py @@ -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