Skip to content

Commit

Permalink
fix: fix wring log message in UI tests and change sleep time in UI te…
Browse files Browse the repository at this point in the history
…sts (#1022)
  • Loading branch information
wojtekzyla authored May 23, 2024
1 parent 200eff3 commit 3cd6e9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui_tests/pages/profiles_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def set_frequency(self, freq_value):
freq_field.send_keys(freq_value)

def set_profile_name(self, name):
logger.info(f"Setting profile frequency: {name}")
logger.info(f"Setting profile name: {name}")
xpath = "//div[@data-test='sc4snmp:form:profile-name-input']//span//input"
name_input = driver.find_element(By.XPATH, xpath)
helper.clear_input(name_input) # this is useful when editing profile name
Expand Down
2 changes: 1 addition & 1 deletion ui_tests/tests/test_splunk_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def test_setting_host_in_inventory(setup):
p_header.apply_changes()
time_to_upgrade = p_header.get_time_to_upgrade()
p_header.close_configuration_applied_notification_popup()
time.sleep(time_to_upgrade + 90) # wait for upgrade + walk time + polling
time.sleep(time_to_upgrade + 70) # wait for upgrade + walk time + polling

# check walk scheduled
search_query = f'index={config.LOGS_INDEX} "Sending due task sc4snmp;{host};walk"'
Expand Down

0 comments on commit 3cd6e9e

Please sign in to comment.