From 5370ee3de17af1f6f20bceb4fb4128ebe2adf9ba Mon Sep 17 00:00:00 2001 From: Alena Krauch Date: Thu, 9 Apr 2026 17:57:38 +0300 Subject: [PATCH] ref test_fp_05.01 Verifying invisibility of the footer through modal window update footer_page.py, links.py #35 --- pages/footer_page.py | 3 +++ test_data/links.py | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pages/footer_page.py b/pages/footer_page.py index 031ae0383b..7b31085cdd 100644 --- a/pages/footer_page.py +++ b/pages/footer_page.py @@ -1,3 +1,5 @@ +import time + import allure import requests from selenium.webdriver.support.wait import WebDriverWait as Wait @@ -21,6 +23,7 @@ def check_footer_visibility(self): @allure.step("Check the Footer is invisible") def check_footer_invisibility(self): + time.sleep(5) return self.element_is_not_visible(self.locators.FOOTER) @allure.step("Get structure of the 1st level of nesting in the Footer") diff --git a/test_data/links.py b/test_data/links.py index 04e1b81e02..4497012bf2 100644 --- a/test_data/links.py +++ b/test_data/links.py @@ -46,4 +46,9 @@ class ExercisesUrls: # Speech Exercises > Words > Family URL_EXERCISES_RU_WORDS_FAMILY_PAGE = f"{STARTING_POINT}/2/series/1/subgroup/1" - URL_EXERCISE1_MODAL_WINDOW_PAGE = f"{STARTING_POINT}/4/series/9/subgroup/73/exercise/919/task/919" + # URL_EXERCISE1_MODAL_WINDOW_PAGE = f"{STARTING_POINT}/4/series/9/subgroup/73/exercise/919/task/919" + URL_EXERCISE1_MODAL_WINDOW_PAGE = f"{STARTING_POINT}/2/series/1/subgroup/1/exercise/1/task/1" + + # Speech Exercises > Similar Phrases > With different lengths + URL_EXERCISES_RU_SIM_PHR_DIFF_LENGTHS_PAGE = f"{STARTING_POINT}/2/series/2/subgroup/60" + URL_EXERCISE2_MODAL_WINDOW_PAGE = f"{STARTING_POINT}/2/series/2/subgroup/60/exercise/1311/task/1311"