test: verify console logs in UI tests #6378
0 passed, 131 failed and 0 skipped
❌ test-results/junit.xml
131 tests were completed in 6684s with 0 passed, 131 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 131❌ | 6684s |
❌ pytest
test_configuration_page_account_tab.chrome_TestAccount
❌ test_example_validation_of_oauth_fields_too_short
item = <Function test_example_validation_of_oauth_fields_too_short>
❌ test_example_validation_of_oauth_fields_wrong_characters
item = <Function test_example_validation_of_oauth_fields_wrong_characters>
❌ test_example_validation_of_oauth_valid
item = <Function test_example_validation_of_oauth_valid>
test_input_page.chrome_TestInputPage
❌ test_inputs_displayed_columns
item = <Function test_inputs_displayed_columns>
❌ test_inputs_pagination_list
item = <Function test_inputs_pagination_list>
❌ test_inputs_pagination
item = <Function test_inputs_pagination>
❌ test_inputs_sort_functionality
item = <Function test_inputs_sort_functionality>
❌ test_inputs_filter_functionality_negative
item = <Function test_inputs_filter_functionality_negative>
❌ test_inputs_filter_functionality_positive
item = <Function test_inputs_filter_functionality_positive>
❌ test_inputs_default_rows_in_table
item = <Function test_inputs_default_rows_in_table>
❌ test_inputs_create_new_input_list_values
item = <Function test_inputs_create_new_input_list_values>
❌ test_inputs_input_type_list_values
item = <Function test_inputs_input_type_list_values>
❌ test_inputs_more_info
item = <Function test_inputs_more_info>
❌ test_inputs_enable_disable
item = <Function test_inputs_enable_disable>
❌ test_inputs_count
item = <Function test_inputs_count>
❌ test_inputs_title_and_description
item = <Function test_inputs_title_and_description>
❌ test_example_input_one_required_field_name
item = <Function test_example_input_one_required_field_name>
❌ test_example_input_one_valid_length_name
item = <Function test_example_input_one_valid_length_name>
❌ test_example_input_one_valid_input_name
item = <Function test_example_input_one_valid_input_name>
❌ test_example_input_one_list_single_select_group_test
item = <Function test_example_input_one_list_single_select_group_test>
❌ test_example_input_one_select_value_single_select_group_test
item = <Function test_example_input_one_select_value_single_select_group_test>
❌ test_example_input_one_search_value_single_select_group_test
item = <Function test_example_input_one_search_value_single_select_group_test>
❌ test_example_input_one_default_value_multiple_select_test
item = <Function test_example_input_one_default_value_multiple_select_test>
❌ test_example_input_one_list_multiple_select_test
item = <Function test_example_input_one_list_multiple_select_test>
❌ test_example_input_one_select_value_multiple_select_test
item = <Function test_example_input_one_select_value_multiple_select_test>
❌ test_example_input_one_select_multiple_values_multiple_select_test
item = <Function test_example_input_one_select_multiple_values_multiple_select_test>
❌ test_example_input_one_deselect_multiple_select_test
item = <Function test_example_input_one_deselect_multiple_select_test>
❌ test_example_input_one_search_value_multiple_select_test
item = <Function test_example_input_one_search_value_multiple_select_test>
❌ test_example_input_one_default_value_example_checkbox
item = <Function test_example_input_one_default_value_example_checkbox>
❌ test_example_input_one_unchecked_example_checkbox
item = <Function test_example_input_one_unchecked_example_checkbox>
❌ test_example_input_one_checked_example_checkbox
item = <Function test_example_input_one_checked_example_checkbox>
❌ test_example_input_one_default_value_example_radio
item = <Function test_example_input_one_default_value_example_radio>
❌ test_example_input_one_select_value_example_radio
item = <Function test_example_input_one_select_value_example_radio>
❌ test_example_input_one_required_field_interval
item = <Function test_example_input_one_required_field_interval>
❌ test_example_input_one_valid_input_interval
item = <Function test_example_input_one_valid_input_interval>
❌ test_example_input_one_required_field_index
item = <Function test_example_input_one_required_field_index>
❌ test_example_input_one_default_value_index
item = <Function test_example_input_one_default_value_index>
❌ test_example_input_one_required_field_example_account
item = <Function test_example_input_one_required_field_example_account>
❌ test_example_input_one_required_field_object
item = <Function test_example_input_one_required_field_object>
❌ test_example_input_one_required_field_object_fields
item = <Function test_example_input_one_required_field_object_fields>
❌ test_example_input_one_required_field_order_by
item = <Function test_example_input_one_required_field_order_by>
❌ test_example_input_one_default_value_order_by
item = <Function test_example_input_one_default_value_order_by>
❌ test_example_input_one_required_field_textarea
item = <Function test_example_input_one_required_field_textarea>
❌ test_example_input_one_fields_label_entity
item = <Function test_example_input_one_fields_label_entity>
❌ test_example_input_two_fields_label_entity
item = <Function test_example_input_two_fields_label_entity>
❌ test_example_input_one_help_text_entity
item = <Function test_example_input_one_help_text_entity>
❌ test_example_input_one_valid_input_query_start_date
item = <Function test_example_input_one_valid_input_query_start_date>
❌ test_example_input_one_default_value_limit
item = <Function test_example_input_one_default_value_limit>
❌ test_example_input_one_help_link
ValueError: 'javascript' is not a valid LogSource
❌ test_example_input_one_add_frontend_backend_validation
item = <Function test_example_input_one_add_frontend_backend_validation>
❌ test_example_input_one_edit_uneditable_field_name
item = <Function test_example_input_one_edit_uneditable_field_name>
❌ test_example_input_one_edit_frontend_backend_validation
item = <Function test_example_input_one_edit_frontend_backend_validation>
❌ test_example_input_one_clone_default_values
item = <Function test_example_input_one_clone_default_values>
❌ test_example_input_one_clone_frontend_backend_validation
item = <Function test_example_input_one_clone_frontend_backend_validation>
❌ test_example_input_one_delete_row_frontend_backend_validation
item = <Function test_example_input_one_delete_row_frontend_backend_validation>
❌ test_example_input_one_add_close_entity
item = <Function test_example_input_one_add_close_entity>
❌ test_example_input_one_edit_close_entity
item = <Function test_example_input_one_edit_close_entity>
❌ test_example_input_one_clone_close_entity
item = <Function test_example_input_one_clone_close_entity>
❌ test_example_input_one_clone_save_entity
item = <Function test_example_input_one_clone_save_entity>
❌ test_example_input_one_delete_close_entity
item = <Function test_example_input_one_delete_close_entity>
❌ test_example_input_one_add_cancel_entity
item = <Function test_example_input_one_add_cancel_entity>
❌ test_example_input_one_edit_cancel_entity
item = <Function test_example_input_one_edit_cancel_entity>
❌ test_example_input_one_clone_cancel_entity
item = <Function test_example_input_one_clone_cancel_entity>
❌ test_example_input_one_delete_cancel_entity
item = <Function test_example_input_one_delete_cancel_entity>
❌ test_example_input_one_add_duplicate_names
item = <Function test_example_input_one_add_duplicate_names>
❌ test_example_input_one_clone_duplicate_names
item = <Function test_example_input_one_clone_duplicate_names>
❌ test_example_input_one_add_valid_title
item = <Function test_example_input_one_add_valid_title>
❌ test_example_input_one_edit_valid_title
item = <Function test_example_input_one_edit_valid_title>
❌ test_example_input_one_clone_valid_title
item = <Function test_example_input_one_clone_valid_title>
❌ test_example_input_one_delete_valid_title
item = <Function test_example_input_one_delete_valid_title>
❌ test_example_input_one_delete_valid_prompt_message
item = <Function test_example_input_one_delete_valid_prompt_message>
❌ test_example_input_two_required_field_name
item = <Function test_example_input_two_required_field_name>
❌ test_example_input_two_valid_length_name
item = <Function test_example_input_two_valid_length_name>
❌ test_example_input_two_valid_input_name
item = <Function test_example_input_two_valid_input_name>
❌ test_example_input_two_clone_valid_input_name
item = <Function test_example_input_two_clone_valid_input_name>
❌ test_example_input_two_required_field_interval
item = <Function test_example_input_two_required_field_interval>
❌ test_example_input_two_valid_input_interval
item = <Function test_example_input_two_valid_input_interval>
❌ test_example_input_two_required_field_index
item = <Function test_example_input_two_required_field_index>
❌ test_example_input_two_default_value_index
item = <Function test_example_input_two_default_value_index>
❌ test_example_input_two_required_field_example_example_account
item = <Function test_example_input_two_required_field_example_example_account>
❌ test_example_input_two_required_field_example_multiple_select
item = <Function test_example_input_two_required_field_example_multiple_select>
❌ test_example_input_two_list_example_multiple_select
item = <Function test_example_input_two_list_example_multiple_select>
❌ test_example_input_two_select_select_value_example_multiple_select
item = <Function test_example_input_two_select_select_value_example_multiple_select>
❌ test_example_input_two_select_multiple_values_example_multiple_select
item = <Function test_example_input_two_select_multiple_values_example_multiple_select>
❌ test_example_input_two_help_text_entity
item = <Function test_example_input_two_help_text_entity>
❌ test_example_input_two_checked_example_checkbox
item = <Function test_example_input_two_checked_example_checkbox>
❌ test_example_input_two_unchecked_example_checkbox
item = <Function test_example_input_two_unchecked_example_checkbox>
❌ test_example_input_two_required_field_example_radio
item = <Function test_example_input_two_required_field_example_radio>
❌ test_example_input_two_select_value_example_radio
item = <Function test_example_input_two_select_value_example_radio>
❌ test_example_input_two_valid_input_query_start_date
item = <Function test_example_input_two_valid_input_query_start_date>
❌ test_example_input_two_add_frontend_backend_validation
item = <Function test_example_input_two_add_frontend_backend_validation>
❌ test_example_input_two_edit_uneditable_field_name
item = <Function test_example_input_two_edit_uneditable_field_name>
❌ test_example_input_two_edit_frontend_backend_validation
item = <Function test_example_input_two_edit_frontend_backend_validation>
❌ test_example_input_two_clone_default_values
item = <Function test_example_input_two_clone_default_values>
❌ test_example_input_two_clone_frontend_backend_validation
item = <Function test_example_input_two_clone_frontend_backend_validation>
❌ test_example_input_two_delete_row_frontend_backend_validation
item = <Function test_example_input_two_delete_row_frontend_backend_validation>
❌ test_example_input_two_add_close_entity
item = <Function test_example_input_two_add_close_entity>
❌ test_example_input_two_edit_close_entity
item = <Function test_example_input_two_edit_close_entity>
❌ test_example_input_two_clone_close_entity
item = <Function test_example_input_two_clone_close_entity>
❌ test_example_input_two_delete_close_entity
item = <Function test_example_input_two_delete_close_entity>
❌ test_example_input_two_add_cancel_entity
item = <Function test_example_input_two_add_cancel_entity>
❌ test_example_input_two_edit_cancel_entity
item = <Function test_example_input_two_edit_cancel_entity>
❌ test_example_input_two_clone_cancel_entity
item = <Function test_example_input_two_clone_cancel_entity>
❌ test_example_input_two_delete_cancel_entity
item = <Function test_example_input_two_delete_cancel_entity>
❌ test_example_input_two_add_duplicate_names
item = <Function test_example_input_two_add_duplicate_names>
❌ test_example_input_two_clone_duplicate_names
item = <Function test_example_input_two_clone_duplicate_names>
❌ test_example_input_two_add_valid_title
item = <Function test_example_input_two_add_valid_title>
❌ test_example_input_two_edit_valid_title
item = <Function test_example_input_two_edit_valid_title>
❌ test_example_input_two_clone_valid_title
item = <Function test_example_input_two_clone_valid_title>
❌ test_example_input_two_delete_valid_title
item = <Function test_example_input_two_delete_valid_title>
❌ test_example_input_two_delete_valid_prompt_message
item = <Function test_example_input_two_delete_valid_prompt_message>
❌ test_inputs_enable_all_title_message
item = <Function test_inputs_enable_all_title_message>
❌ test_inputs_disable_all_title_message
item = <Function test_inputs_disable_all_title_message>
❌ test_inputs_enable_all_close
item = <Function test_inputs_enable_all_close>
❌ test_inputs_disable_all_close
item = <Function test_inputs_disable_all_close>
❌ test_inputs_enable_all_deny
item = <Function test_inputs_enable_all_deny>
❌ test_inputs_disable_all_deny
item = <Function test_inputs_disable_all_deny>
❌ test_inputs_disable_enable_all
item = <Function test_inputs_disable_enable_all>
❌ test_inputs_disable_all_enable_all_input_one_input_two
item = <Function test_inputs_disable_all_enable_all_input_one_input_two>
❌ test_inputs_enable_all_some_already_enabled
item = <Function test_inputs_enable_all_some_already_enabled>
❌ test_inputs_disable_all_some_already_disabled
item = <Function test_inputs_disable_all_some_already_disabled>
❌ test_inputs_textarea_height
item = <Function test_inputs_textarea_height>
❌ test_inputs_textarea_big_input
item = <Function test_inputs_textarea_big_input>
❌ test_inputs_textarea_scroll
item = <Function test_inputs_textarea_scroll>
❌ test_example_inputs_with_valid_interval[-1]
item = <Function test_example_inputs_with_valid_interval[-1]>
❌ test_example_inputs_with_valid_interval[1]
item = <Function test_example_inputs_with_valid_interval[1]>
❌ test_example_inputs_with_valid_interval[0 0,11 2 */2 *]
item = <Function test_example_inputs_with_valid_interval[0 0,11 2 */2 *]>
❌ test_example_inputs_with_valid_interval[* * * * *]
item = <Function test_example_inputs_with_valid_interval[* * * * *]>
❌ test_example_inputs_with_not_valid_interval[-2]
item = <Function test_example_inputs_with_not_valid_interval[-2]>
❌ test_example_inputs_with_not_valid_interval[0a 0,11 2 */2 *]
item = <Function test_example_inputs_with_not_valid_interval[0a 0,11 2 */2 *]>
❌ test_example_inputs_with_not_valid_interval[a b * * *]
item = <Function test_example_inputs_with_not_valid_interval[a b * * *]>
Annotations
Check failure on line 0 in test-results/junit.xml
github-actions / test-report-ui-9.2.3-input
pytest ► test_configuration_page_account_tab.chrome_TestAccount ► test_example_validation_of_oauth_fields_too_short
Failed test found in:
test-results/junit.xml
Error:
item = <Function test_example_validation_of_oauth_fields_too_short>
Raw output
item = <Function test_example_validation_of_oauth_fields_too_short>
@pytest.hookimpl(hookwrapper=True)
def pytest_runtest_call(item: pytest.Item) -> Iterator[Any]:
"""
Implemented hook to:
- check browser logs for severe logs after each test run.
"""
yield
browser_logs = s_utils.get_browser_logs(item.selenium_helper.browser)
severe_logs = [log for log in browser_logs if log.level == s_utils.LogLevel.SEVERE]
if severe_logs:
log_msg = [f"{log.level}: {log.source} - {log.message}" for log in severe_logs]
msg = "Severe logs found in browser console logs: \n" + "\n".join(log_msg)
> pytest.fail(msg, pytrace=True)
E Failed: Severe logs found in browser console logs:
E LogLevel.SEVERE: LogSource.NETWORK - http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/Splunk_TA_UCCExample/static/appLogo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
tests/ui/conftest.py:41: Failed
Check failure on line 0 in test-results/junit.xml
github-actions / test-report-ui-9.2.3-input
pytest ► test_configuration_page_account_tab.chrome_TestAccount ► test_example_validation_of_oauth_fields_wrong_characters
Failed test found in:
test-results/junit.xml
Error:
item = <Function test_example_validation_of_oauth_fields_wrong_characters>
Raw output
item = <Function test_example_validation_of_oauth_fields_wrong_characters>
@pytest.hookimpl(hookwrapper=True)
def pytest_runtest_call(item: pytest.Item) -> Iterator[Any]:
"""
Implemented hook to:
- check browser logs for severe logs after each test run.
"""
yield
browser_logs = s_utils.get_browser_logs(item.selenium_helper.browser)
severe_logs = [log for log in browser_logs if log.level == s_utils.LogLevel.SEVERE]
if severe_logs:
log_msg = [f"{log.level}: {log.source} - {log.message}" for log in severe_logs]
msg = "Severe logs found in browser console logs: \n" + "\n".join(log_msg)
> pytest.fail(msg, pytrace=True)
E Failed: Severe logs found in browser console logs:
E LogLevel.SEVERE: LogSource.NETWORK - http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/Splunk_TA_UCCExample/static/appLogo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
tests/ui/conftest.py:41: Failed
Check failure on line 0 in test-results/junit.xml
github-actions / test-report-ui-9.2.3-input
pytest ► test_configuration_page_account_tab.chrome_TestAccount ► test_example_validation_of_oauth_valid
Failed test found in:
test-results/junit.xml
Error:
item = <Function test_example_validation_of_oauth_valid>
Raw output
item = <Function test_example_validation_of_oauth_valid>
@pytest.hookimpl(hookwrapper=True)
def pytest_runtest_call(item: pytest.Item) -> Iterator[Any]:
"""
Implemented hook to:
- check browser logs for severe logs after each test run.
"""
yield
browser_logs = s_utils.get_browser_logs(item.selenium_helper.browser)
severe_logs = [log for log in browser_logs if log.level == s_utils.LogLevel.SEVERE]
if severe_logs:
log_msg = [f"{log.level}: {log.source} - {log.message}" for log in severe_logs]
msg = "Severe logs found in browser console logs: \n" + "\n".join(log_msg)
> pytest.fail(msg, pytrace=True)
E Failed: Severe logs found in browser console logs:
E LogLevel.SEVERE: LogSource.NETWORK - http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/Splunk_TA_UCCExample/static/appLogo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
tests/ui/conftest.py:41: Failed
Check failure on line 0 in test-results/junit.xml
github-actions / test-report-ui-9.2.3-input
pytest ► test_input_page.chrome_TestInputPage ► test_inputs_displayed_columns
Failed test found in:
test-results/junit.xml
Error:
item = <Function test_inputs_displayed_columns>
Raw output
item = <Function test_inputs_displayed_columns>
@pytest.hookimpl(hookwrapper=True)
def pytest_runtest_call(item: pytest.Item) -> Iterator[Any]:
"""
Implemented hook to:
- check browser logs for severe logs after each test run.
"""
yield
browser_logs = s_utils.get_browser_logs(item.selenium_helper.browser)
severe_logs = [log for log in browser_logs if log.level == s_utils.LogLevel.SEVERE]
if severe_logs:
log_msg = [f"{log.level}: {log.source} - {log.message}" for log in severe_logs]
msg = "Severe logs found in browser console logs: \n" + "\n".join(log_msg)
> pytest.fail(msg, pytrace=True)
E Failed: Severe logs found in browser console logs:
E LogLevel.SEVERE: LogSource.NETWORK - http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/Splunk_TA_UCCExample/static/appLogo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
tests/ui/conftest.py:41: Failed
Check failure on line 0 in test-results/junit.xml
github-actions / test-report-ui-9.2.3-input
pytest ► test_input_page.chrome_TestInputPage ► test_inputs_pagination_list
Failed test found in:
test-results/junit.xml
Error:
item = <Function test_inputs_pagination_list>
Raw output
item = <Function test_inputs_pagination_list>
@pytest.hookimpl(hookwrapper=True)
def pytest_runtest_call(item: pytest.Item) -> Iterator[Any]:
"""
Implemented hook to:
- check browser logs for severe logs after each test run.
"""
yield
browser_logs = s_utils.get_browser_logs(item.selenium_helper.browser)
severe_logs = [log for log in browser_logs if log.level == s_utils.LogLevel.SEVERE]
if severe_logs:
log_msg = [f"{log.level}: {log.source} - {log.message}" for log in severe_logs]
msg = "Severe logs found in browser console logs: \n" + "\n".join(log_msg)
> pytest.fail(msg, pytrace=True)
E Failed: Severe logs found in browser console logs:
E LogLevel.SEVERE: LogSource.NETWORK - http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/Splunk_TA_UCCExample/static/appLogo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
tests/ui/conftest.py:41: Failed
Check failure on line 0 in test-results/junit.xml
github-actions / test-report-ui-9.2.3-input
pytest ► test_input_page.chrome_TestInputPage ► test_inputs_pagination
Failed test found in:
test-results/junit.xml
Error:
item = <Function test_inputs_pagination>
Raw output
item = <Function test_inputs_pagination>
@pytest.hookimpl(hookwrapper=True)
def pytest_runtest_call(item: pytest.Item) -> Iterator[Any]:
"""
Implemented hook to:
- check browser logs for severe logs after each test run.
"""
yield
browser_logs = s_utils.get_browser_logs(item.selenium_helper.browser)
severe_logs = [log for log in browser_logs if log.level == s_utils.LogLevel.SEVERE]
if severe_logs:
log_msg = [f"{log.level}: {log.source} - {log.message}" for log in severe_logs]
msg = "Severe logs found in browser console logs: \n" + "\n".join(log_msg)
> pytest.fail(msg, pytrace=True)
E Failed: Severe logs found in browser console logs:
E LogLevel.SEVERE: LogSource.NETWORK - http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/Splunk_TA_UCCExample/static/appLogo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
tests/ui/conftest.py:41: Failed
Check failure on line 0 in test-results/junit.xml
github-actions / test-report-ui-9.2.3-input
pytest ► test_input_page.chrome_TestInputPage ► test_inputs_sort_functionality
Failed test found in:
test-results/junit.xml
Error:
item = <Function test_inputs_sort_functionality>
Raw output
item = <Function test_inputs_sort_functionality>
@pytest.hookimpl(hookwrapper=True)
def pytest_runtest_call(item: pytest.Item) -> Iterator[Any]:
"""
Implemented hook to:
- check browser logs for severe logs after each test run.
"""
yield
browser_logs = s_utils.get_browser_logs(item.selenium_helper.browser)
severe_logs = [log for log in browser_logs if log.level == s_utils.LogLevel.SEVERE]
if severe_logs:
log_msg = [f"{log.level}: {log.source} - {log.message}" for log in severe_logs]
msg = "Severe logs found in browser console logs: \n" + "\n".join(log_msg)
> pytest.fail(msg, pytrace=True)
E Failed: Severe logs found in browser console logs:
E LogLevel.SEVERE: LogSource.NETWORK - http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/Splunk_TA_UCCExample/static/appLogo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
tests/ui/conftest.py:41: Failed
Check failure on line 0 in test-results/junit.xml
github-actions / test-report-ui-9.2.3-input
pytest ► test_input_page.chrome_TestInputPage ► test_inputs_filter_functionality_negative
Failed test found in:
test-results/junit.xml
Error:
item = <Function test_inputs_filter_functionality_negative>
Raw output
item = <Function test_inputs_filter_functionality_negative>
@pytest.hookimpl(hookwrapper=True)
def pytest_runtest_call(item: pytest.Item) -> Iterator[Any]:
"""
Implemented hook to:
- check browser logs for severe logs after each test run.
"""
yield
browser_logs = s_utils.get_browser_logs(item.selenium_helper.browser)
severe_logs = [log for log in browser_logs if log.level == s_utils.LogLevel.SEVERE]
if severe_logs:
log_msg = [f"{log.level}: {log.source} - {log.message}" for log in severe_logs]
msg = "Severe logs found in browser console logs: \n" + "\n".join(log_msg)
> pytest.fail(msg, pytrace=True)
E Failed: Severe logs found in browser console logs:
E LogLevel.SEVERE: LogSource.NETWORK - http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/Splunk_TA_UCCExample/static/appLogo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
tests/ui/conftest.py:41: Failed
Check failure on line 0 in test-results/junit.xml
github-actions / test-report-ui-9.2.3-input
pytest ► test_input_page.chrome_TestInputPage ► test_inputs_filter_functionality_positive
Failed test found in:
test-results/junit.xml
Error:
item = <Function test_inputs_filter_functionality_positive>
Raw output
item = <Function test_inputs_filter_functionality_positive>
@pytest.hookimpl(hookwrapper=True)
def pytest_runtest_call(item: pytest.Item) -> Iterator[Any]:
"""
Implemented hook to:
- check browser logs for severe logs after each test run.
"""
yield
browser_logs = s_utils.get_browser_logs(item.selenium_helper.browser)
severe_logs = [log for log in browser_logs if log.level == s_utils.LogLevel.SEVERE]
if severe_logs:
log_msg = [f"{log.level}: {log.source} - {log.message}" for log in severe_logs]
msg = "Severe logs found in browser console logs: \n" + "\n".join(log_msg)
> pytest.fail(msg, pytrace=True)
E Failed: Severe logs found in browser console logs:
E LogLevel.SEVERE: LogSource.NETWORK - http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/Splunk_TA_UCCExample/static/appLogo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
tests/ui/conftest.py:41: Failed
Check failure on line 0 in test-results/junit.xml
github-actions / test-report-ui-9.2.3-input
pytest ► test_input_page.chrome_TestInputPage ► test_inputs_default_rows_in_table
Failed test found in:
test-results/junit.xml
Error:
item = <Function test_inputs_default_rows_in_table>
Raw output
item = <Function test_inputs_default_rows_in_table>
@pytest.hookimpl(hookwrapper=True)
def pytest_runtest_call(item: pytest.Item) -> Iterator[Any]:
"""
Implemented hook to:
- check browser logs for severe logs after each test run.
"""
yield
browser_logs = s_utils.get_browser_logs(item.selenium_helper.browser)
severe_logs = [log for log in browser_logs if log.level == s_utils.LogLevel.SEVERE]
if severe_logs:
log_msg = [f"{log.level}: {log.source} - {log.message}" for log in severe_logs]
msg = "Severe logs found in browser console logs: \n" + "\n".join(log_msg)
> pytest.fail(msg, pytrace=True)
E Failed: Severe logs found in browser console logs:
E LogLevel.SEVERE: LogSource.NETWORK - http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/Splunk_TA_UCCExample/static/appLogo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
tests/ui/conftest.py:41: Failed
Check failure on line 0 in test-results/junit.xml
github-actions / test-report-ui-9.2.3-input
pytest ► test_input_page.chrome_TestInputPage ► test_inputs_create_new_input_list_values
Failed test found in:
test-results/junit.xml
Error:
item = <Function test_inputs_create_new_input_list_values>
Raw output
item = <Function test_inputs_create_new_input_list_values>
@pytest.hookimpl(hookwrapper=True)
def pytest_runtest_call(item: pytest.Item) -> Iterator[Any]:
"""
Implemented hook to:
- check browser logs for severe logs after each test run.
"""
yield
browser_logs = s_utils.get_browser_logs(item.selenium_helper.browser)
severe_logs = [log for log in browser_logs if log.level == s_utils.LogLevel.SEVERE]
if severe_logs:
log_msg = [f"{log.level}: {log.source} - {log.message}" for log in severe_logs]
msg = "Severe logs found in browser console logs: \n" + "\n".join(log_msg)
> pytest.fail(msg, pytrace=True)
E Failed: Severe logs found in browser console logs:
E LogLevel.SEVERE: LogSource.NETWORK - http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/Splunk_TA_UCCExample/static/appLogo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
tests/ui/conftest.py:41: Failed