diff --git a/pages/groups_page.py b/pages/groups_page.py index eba7f472a2..287f87cb4f 100644 --- a/pages/groups_page.py +++ b/pages/groups_page.py @@ -213,17 +213,21 @@ def click_on_links_on_ru_local(self): @allure.step("Click on links on the 'en' local and thereby open corresponding web pages in the same tab") def click_on_links_on_en_local(self): + opened_pages = [] self.click_on_en_button() time.sleep(2) - opened_pages = [] + print(self.get_current_tab_url()) self.element_is_present_and_clickable(self.locators.PAGE_LINK1).click() - time.sleep(4) + time.sleep(5) opened_pages.append(self.get_current_tab_url()) + print(self.get_current_tab_url()) self.driver.back() - time.sleep(4) + time.sleep(5) + print(self.get_current_tab_url()) self.element_is_present_and_clickable(self.locators.PAGE_LINK2).click() - time.sleep(4) + time.sleep(5) opened_pages.append(self.get_current_tab_url()) + print(self.get_current_tab_url()) return opened_pages # Checking images on the page