Skip to content

Commit 733fc07

Browse files
update exercises_ru_similar_phrases_page_data.py, exercises_ru_similar_phrases_page.py,
#478
1 parent 867135c commit 733fc07

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

pages/exercises_ru_similar_phrases_page.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ def click_on_breadcrumbs_links(self):
180180
self.driver.back()
181181
Wait(self.driver, self.timeout).until(EC.url_to_be(group_page_url))
182182

183+
print(*opened_pages, sep='\n')
183184
return opened_pages
184185

185186
@allure.step("Click on group links and thereby open corresponding web pages in the same tab")

test_data/exercises_ru_similar_phrases_page_data.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Data for verifying web elements on the 'Exercises "Similar phrases"' page on the 'ru' local"""
2-
from test_data.links import MainPageLinks as Links
32
from test_data.links import ExercisesUrls as ExUrls
43

54

@@ -22,11 +21,10 @@ class ExercisesRuSimilarPhrasesPageData:
2221
subgroup_links_text = ('Разной длительности', 'С частицей Не', 'Похожие',
2322
'С разным окончанием', 'Из коротких слов', 'С разными предлогами')
2423

25-
breadcrumbs_urls = (f"{Links.URL_GROUPS_PAGE}",
26-
f"{Links.URL_GROUPS_PAGE}/2",
27-
f"{Links.URL_GROUPS_PAGE}/2/series/2")
24+
breadcrumbs_urls = (ExUrls.STARTING_POINT, f"{ExUrls.STARTING_POINT}/2",
25+
ExUrls.URL_EXERCISES_RU_SIMILAR_PHRASES_PAGE)
2826

29-
p = f"{Links.URL_GROUPS_PAGE}/2/series/"
27+
p = f"{ExUrls.STARTING_POINT}/2/series/"
3028
group_link_urls = (f"{p}1", f"{p}2", f"{p}3", f"{p}4", f"{p}5", f"{p}6", f"{p}17")
3129

3230
q = f"{ExUrls.URL_EXERCISES_RU_SIMILAR_PHRASES_PAGE}/subgroup/"

0 commit comments

Comments
 (0)