Skip to content
Merged
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
6 changes: 3 additions & 3 deletions tests/header_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def test_hpa_03_03_verify_auth_external_links_lead_to_proper_pages(self, driver,
"Some of external links lead to incorrect pages after clicking"

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

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