Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/telegram_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def check_telegram_channel_should_have_title_for_students(self):

@allure.step("Открываем компонент More info about tutors from the main(body)")
def tutors_info_should_be_opened(self):
expect(self.page).to_have_url("https://t.me/misleplav_tutors/11")
expect(self.page).to_have_url("https://t.me/misleplav_students/9")

@allure.step("check_telegram_channel_should_have_title_for_tutor")
def check_telegram_channel_should_have_title_for_tutors(self):
expect(self.page).to_have_title("Telegram: Contact @misleplav_tutors")
expect(self.page).to_have_title("Telegram: Contact @misleplav_students")
1 change: 0 additions & 1 deletion tests/test_homepage.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def test_more_btn_redirects_telegram_page_for_students(homepage, telegram_page):
telegram_page.check_telegram_channel_should_have_title_for_students()


@pytest.mark.skip(reason="Тест временно отключен после обновления 09.01.2025")
def test_more_btn_redirects_telegram_page_for_tutors(homepage, telegram_page):
homepage.visit()
homepage.click_more_button_at_the_bottom()
Expand Down
Loading