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: