Skip to content

fix(globalConfig): update name and rest root convention #5829

fix(globalConfig): update name and rest root convention

fix(globalConfig): update name and rest root convention #5829

GitHub Actions / test-report-ui-9.3.0-alert failed Sep 26, 2024 in 0s

8 passed, 1 failed and 0 skipped

Tests failed

❌ test-results/junit.xml

9 tests were completed in 129s with 8 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 8✅ 1❌ 129s

❌ pytest

test_alert_actions_page.chrome_TestAlertActions
  ✅ test_action_in_list
  ✅ test_dropdown_list
  ✅ test_account_functionality
  ✅ test_checkbox
  ✅ test_single_select
  ❌ test_toggle
	self = <tests.ui.test_alert_actions_page.TestAlertActions object at 0x7f792d56ce10>
  ✅ test_alert_action_save
  ✅ test_alert_help_text_entity
  ✅ test_alert_action_label_entity

Annotations

Check failure on line 0 in test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / test-report-ui-9.3.0-alert

pytest ► test_alert_actions_page.chrome_TestAlertActions ► test_toggle

Failed test found in:
  test-results/junit.xml
Error:
  self = <tests.ui.test_alert_actions_page.TestAlertActions object at 0x7f792d56ce10>
Raw output
self = <tests.ui.test_alert_actions_page.TestAlertActions object at 0x7f792d56ce10>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f792bcdd190>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.alert
    def test_toggle(self, ucc_smartx_selenium_helper):
        alert_page = AlertPage(ucc_smartx_selenium_helper, None)
        alert_page.alert_entity.open()
        alert_page.alert_entity.add_action_dropdown.wait_for_values()
        alert_page.alert_entity.add_action_dropdown.select_action("Test Alert")
    
        alert_page.action_entity.action.select("Delete")
        assert alert_page.action_entity.action.get_value() == "delete"
        alert_page.action_entity.action.select("Update")
>       assert alert_page.action_entity.action.get_value() == "update"
E       AssertionError: assert 'delete' == 'update'
E         - update
E         + delete

tests/ui/test_alert_actions_page.py:106: AssertionError