@@ -23,7 +23,6 @@ def check_visibility_of_page_content(self):
23
23
def get_structure_of_1st_level (self ):
24
24
elements = self .elements_are_present (self .locators .PAGE_FIRST_LEVEL_ELEMENTS )
25
25
tags = [element .tag_name for element in elements ]
26
- # print(*tags)
27
26
return elements
28
27
29
28
@allure .step ("Check if elements of the 1st level of nesting are visible" )
@@ -34,7 +33,6 @@ def check_elements_visibility_on_1st_level(self):
34
33
def get_structure_of_2nd_level (self ):
35
34
elements = self .elements_are_present (self .locators .PAGE_SECOND_LEVEL_ELEMENTS )
36
35
tags = [element .tag_name for element in elements ]
37
- # print(*tags)
38
36
return elements
39
37
40
38
@allure .step ("Check if elements of the 2nd level of nesting are visible" )
@@ -45,7 +43,6 @@ def check_elements_visibility_on_2nd_level(self):
45
43
def get_structure_of_3rd_level (self ):
46
44
elements = self .elements_are_present (self .locators .PAGE_THIRD_LEVEL_ELEMENTS )
47
45
tags = [element .tag_name for element in elements ]
48
- # print(*tags)
49
46
return elements
50
47
51
48
@allure .step ("Check if elements of the 3rd level of nesting are visible" )
@@ -56,7 +53,6 @@ def check_elements_visibility_on_3rd_level(self):
56
53
def get_structure_of_4th_level (self ):
57
54
elements = self .elements_are_present (self .locators .PAGE_FOURTH_LEVEL_ELEMENTS )
58
55
tags = [element .tag_name for element in elements ]
59
- # print(*tags)
60
56
return elements
61
57
62
58
@allure .step ("Check if elements of the 4th level of nesting are visible" )
@@ -67,7 +63,6 @@ def check_elements_visibility_on_4th_level(self):
67
63
def get_structure_of_5th_level (self ):
68
64
elements = self .elements_are_present (self .locators .PAGE_FIFTH_LEVEL_ELEMENTS )
69
65
tags = [element .tag_name for element in elements ]
70
- # print(*tags)
71
66
return elements
72
67
73
68
@allure .step ("Check if elements of the 5th level of nesting are visible" )
@@ -78,7 +73,6 @@ def check_elements_visibility_on_5th_level(self):
78
73
def get_structure_of_6th_level (self ):
79
74
elements = self .elements_are_present (self .locators .PAGE_SIXTH_LEVEL_ELEMENTS )
80
75
tags = [element .tag_name for element in elements ]
81
- # print(*tags)
82
76
return elements
83
77
84
78
@allure .step ("Check if elements of the 6th level of nesting are visible" )
@@ -89,7 +83,6 @@ def check_elements_visibility_on_6th_level(self):
89
83
def get_structure_of_7th_level (self ):
90
84
elements = self .elements_are_present (self .locators .PAGE_SEVENTH_LEVEL_ELEMENTS )
91
85
tags = [element .tag_name for element in elements ]
92
- # print(*tags)
93
86
return elements
94
87
95
88
@allure .step ("Check if elements of the 7th level of nesting are visible" )
@@ -100,7 +93,6 @@ def check_elements_visibility_on_7th_level(self):
100
93
def get_list1_of_breadcrumbs_links (self ):
101
94
elements = self .elements_are_present (self .locators .PAGE_LIST1 )
102
95
tags = [element .tag_name for element in elements ]
103
- # print(*tags)
104
96
return elements
105
97
106
98
@allure .step ("Check the list1 is visible" )
@@ -111,7 +103,6 @@ def check_list1_visibility(self):
111
103
def get_list2_of_group_links (self ):
112
104
elements = self .elements_are_present (self .locators .PAGE_LIST2 )
113
105
tags = [element .tag_name for element in elements ]
114
- # print(*tags)
115
106
return elements
116
107
117
108
@allure .step ("Check the list2 is visible" )
@@ -122,7 +113,6 @@ def check_list2_visibility(self):
122
113
def get_list3_of_subgroup_links (self ):
123
114
elements = self .elements_are_present (self .locators .PAGE_LIST3 )
124
115
tags = [element .tag_name for element in elements ]
125
- # print(*tags)
126
116
return elements
127
117
128
118
@allure .step ("Check the list3 is visible" )
@@ -133,7 +123,6 @@ def check_list3_visibility(self):
133
123
def get_list4_of_links (self ):
134
124
elements = self .elements_are_present (self .locators .CARD_IMAGES_LIST4 )
135
125
tags = [element .tag_name for element in elements ]
136
- # print(*tags)
137
126
return elements
138
127
139
128
@allure .step ("Check the list4 is visible" )
@@ -144,7 +133,6 @@ def check_list4_visibility(self):
144
133
@allure .step ("Get value of the title of the tab" )
145
134
def get_value_of_tab_title (self ):
146
135
tab_title = self .get_current_tab_title ()
147
- print (tab_title )
148
136
return tab_title
149
137
150
138
@allure .step ("Get value of the breadcrumbs on the page" )
0 commit comments