Skip to content

Commit 82e3361

Browse files
ref test_hpa_01.03, test_hpa_02.01 Verifying text in links in the Header for an authorized user
update header_test.py, header_page.py, header_data.py #268
1 parent 7337a70 commit 82e3361

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pages/header_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def check_buttons_unauth_visibility(self):
232232

233233
@allure.step("Get the list of buttons in the Header for an authorized user")
234234
def get_list_of_buttons_auth(self):
235-
all_buttons = self.elements_are_present(self.locators.HEADER_BUTTONS)[:3]
235+
all_buttons = self.elements_are_present(self.locators.HEADER_BUTTONS)
236236
header_buttons = all_buttons[:3]
237237
header_buttons.append(all_buttons[-1])
238238
att = [element.get_attribute("type") for element in header_buttons]

0 commit comments

Comments
 (0)