Skip to content

Commit fbe424c

Browse files
Merge pull request #671 from Brain-up/issue_268
Issue_35_HEADER_links
2 parents 5ad8c79 + 891e07a commit fbe424c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/header_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def test_hpa_03_03_verify_auth_external_links_lead_to_proper_pages(self, driver,
326326
"Some of external links lead to incorrect pages after clicking"
327327

328328
@allure.title("""Verify that the Logo link on the Start Authorized Page
329-
doesn't refresh the current page or lead to other pages after clicking""")
329+
refreshes the current page and doesn't lead to other pages after clicking""")
330330
def test_hpa_03_04_verify_click_auth_logo_link(self, driver, auto_test_user_authorized):
331331
page = hPage(driver)
332332
handles_before = driver.window_handles
@@ -336,8 +336,8 @@ def test_hpa_03_04_verify_click_auth_logo_link(self, driver, auto_test_user_auth
336336
handles_after = driver.window_handles
337337
current_page_source = page.driver.page_source
338338
assert len(handles_before) == len(handles_after), "The number of open tabs changed after clicking"
339-
assert initial_page_source == current_page_source, \
340-
"Logo link in the Header refreshes the page after clicking"
339+
assert initial_page_source != current_page_source, \
340+
"Logo link in the Header doesn't refresh the page after clicking"
341341
assert initial_page_url == current_page_url, "Logo link in the Header leads to some page after clicking"
342342

343343
@allure.title("""Verify the dropdown opens/closes after clicking on the 'More' button in the Header

0 commit comments

Comments
 (0)