From 8dc860322c64f66ce411e5aa6657f43ca7b395c1 Mon Sep 17 00:00:00 2001 From: Alena Krauch Date: Fri, 13 Jun 2025 14:36:17 +0300 Subject: [PATCH] update specialists_page_test.py, conftest.py --- tests/conftest.py | 2 +- tests/specialists_page_test.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 78596c2d7e..e7ac50d108 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -119,7 +119,7 @@ def specialists_page_open(driver, main_page_open): page = BasePage(driver) page.element_is_present_and_clickable(huLocators.MORE_BUTTON).click() page.element_is_present_and_clickable(huLocators.LINK_SPECIALISTS).click() - time.sleep(1) + page.check_expected_link(MainPageLinks.URL_SPECIALISTS_PAGE) @pytest.fixture() diff --git a/tests/specialists_page_test.py b/tests/specialists_page_test.py index 7026217750..9780203a3c 100644 --- a/tests/specialists_page_test.py +++ b/tests/specialists_page_test.py @@ -5,7 +5,6 @@ from test_data.start_unauthorized_page_data import StartUnauthorizedPageData as suPD -# @pytest.mark.skip(reason="unsupported preconditions") @allure.epic("Test Specialists Page") class TestSpecialistsPage: class TestSpecialistsPageStructure: