Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

chore(deps): update all dependencies #1185

chore(deps): update all dependencies

chore(deps): update all dependencies #1185

GitHub Actions / splunk 8.2.11.2 ui chrome test report failed Sep 8, 2023 in 0s

splunk 8.2.11.2 ui chrome test report ❌

Tests failed

❌ /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml

29 tests were completed in 2610s with 15 passed, 14 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 15✅ 14❌ 2610s

❌ pytest

tests.ui.test_splunk_ta_example_addon_account.chrome_TestAccount
  ✅ test_account_delete_row_frontend_validation
  ✅ test_account_add_frontend_validation
  ❌ test_account_edit_frontend_validation
	self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f6b282565d0>
  ❌ test_account_clone_frontend_validation
	self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f6b28256ed0>
  ✅ test_account_add_backend_validation
  ❌ test_account_edit_backend_validation
	self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f6b28192c90>
  ❌ test_account_clone_backend_validation
	self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f6b28192850>
  ✅ test_account_delete_row_backend_validation
tests.ui.test_splunk_ta_example_addon_alert_actions.chrome_TestAlertActions
  ✅ test_alert_action_save
tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom
  ❌ test_custom_frontend_validation
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f6b28311c50>
  ❌ test_custom_backend_validation
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f6b27b1a910>
tests.ui.test_splunk_ta_example_addon_input.chrome_TestInput
  ❌ test_example_input_one_add_frontend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b281be3d0>
  ❌ test_example_input_one_add_backend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b281be890>
  ❌ test_example_input_one_edit_frontend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b28313210>
  ❌ test_example_input_one_edit_backend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b28313710>
  ✅ test_example_input_one_clone_frontend_validation
  ✅ test_example_input_one_clone_backend_validation
  ✅ test_example_input_one_delete_row_frontend_validation
  ✅ test_example_input_one_delete_row_backend_validation
  ❌ test_example_input_two_add_frontend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b281e3fd0>
  ❌ test_example_input_two_add_backend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b281d0610>
  ❌ test_example_input_two_edit_frontend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b27fffd50>
  ❌ test_example_input_two_edit_backend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b28002290>
  ✅ test_example_input_two_clone_frontend_validation
  ✅ test_example_input_two_clone_backend_validation
  ✅ test_example_input_two_delete_row_frontend_validation
  ✅ test_example_input_two_delete_row_backend_validation
tests.ui.test_splunk_ta_example_addon_proxy.chrome_TestProxy
  ✅ test_proxy_frontend_validation
  ✅ test_proxy_backend_validation

Annotations

Check failure on line 0 in /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 8.2.11.2 ui chrome test report

pytest ► tests.ui.test_splunk_ta_example_addon_account.chrome_TestAccount ► test_account_edit_frontend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f6b282565d0>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f6b282565d0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f6b280d7190>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f6b27871890>
add_account = {'entry': [{'acl': {'app': 'Splunk_TA_UCCExample', 'can_change_perms': True, 'can_list': True, 'can_share_app': True, ... 'links': {'create': '/servicesNS/nobody/Splunk_TA_UCCExample/splunk_ta_uccexample_account/_new'}, 'messages': [], ...}

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.account
    @pytest.mark.sanity_test
    def test_account_edit_frontend_validation(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper, add_account
    ):
        """Verifies the frontend edit functionality"""
        account = AccountPage(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)
        account.table.edit_row(ACCOUNT_CONFIG["name"])
        account.entity.environment.select("Value2")
        account.entity.multiple_select.select("Option Two")
        account.entity.username.set_value("TestEditUser")
        account.entity.password.set_value("TestEditPassword")
        account.entity.security_token.set_value("TestEditToken")
>       account.entity.account_radio.select("No")

tests/ui/test_splunk_ta_example_addon_account.py:916: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.controls.toggle.Toggle object at 0x7f6b281146d0>
value = 'No'

    def select(self, value):
        """
        Selects the toggle specified
            :param value: the value to select
            :return: Bool if successful in selection, else raises an error
        """
        for each in self.get_elements("toggle_btn"):
            if each.text.lower() == value.lower():
                self._wait_to_be_clickable(each)
                return True
        else:
>           raise ValueError("{} not found".format(value))
E           ValueError: No not found

/root/.cache/pypoetry/virtualenvs/splunk-add-on-for-ucc-example-VsnhxLU2-py3.7/lib/python3.7/site-packages/pytest_splunk_addon_ui_smartx/components/controls/toggle.py:61: ValueError

Check failure on line 0 in /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 8.2.11.2 ui chrome test report

pytest ► tests.ui.test_splunk_ta_example_addon_account.chrome_TestAccount ► test_account_clone_frontend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f6b28256ed0>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f6b28256ed0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f6b2815be90>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f6b27871890>
add_account = {'entry': [{'acl': {'app': 'Splunk_TA_UCCExample', 'can_change_perms': True, 'can_list': True, 'can_share_app': True, ... 'links': {'create': '/servicesNS/nobody/Splunk_TA_UCCExample/splunk_ta_uccexample_account/_new'}, 'messages': [], ...}

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.account
    @pytest.mark.sanity_test
    def test_account_clone_frontend_validation(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper, add_account
    ):
        """Verifies the frontend clone functionality"""
        account = AccountPage(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)
        account.table.wait_for_rows_to_appear(1)
        account.table.clone_row(ACCOUNT_CONFIG["name"])
        account.entity.name.set_value("TestAccount2")
        account.entity.username.set_value("TestUserClone")
        account.entity.password.set_value("TestPasswordClone")
        account.entity.security_token.set_value("TestTokenClone")
>       account.entity.account_radio.select("Yes")

tests/ui/test_splunk_ta_example_addon_account.py:959: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.controls.toggle.Toggle object at 0x7f6b27f3aed0>
value = 'Yes'

    def select(self, value):
        """
        Selects the toggle specified
            :param value: the value to select
            :return: Bool if successful in selection, else raises an error
        """
        for each in self.get_elements("toggle_btn"):
            if each.text.lower() == value.lower():
                self._wait_to_be_clickable(each)
                return True
        else:
>           raise ValueError("{} not found".format(value))
E           ValueError: Yes not found

/root/.cache/pypoetry/virtualenvs/splunk-add-on-for-ucc-example-VsnhxLU2-py3.7/lib/python3.7/site-packages/pytest_splunk_addon_ui_smartx/components/controls/toggle.py:61: ValueError

Check failure on line 0 in /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 8.2.11.2 ui chrome test report

pytest ► tests.ui.test_splunk_ta_example_addon_account.chrome_TestAccount ► test_account_edit_backend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f6b28192c90>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f6b28192c90>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f6b27f3c490>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f6b27871890>
add_account = {'entry': [{'acl': {'app': 'Splunk_TA_UCCExample', 'can_change_perms': True, 'can_list': True, 'can_share_app': True, ... 'links': {'create': '/servicesNS/nobody/Splunk_TA_UCCExample/splunk_ta_uccexample_account/_new'}, 'messages': [], ...}

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.account
    @pytest.mark.sanity_test
    def test_account_edit_backend_validation(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper, add_account
    ):
        """Verifies the account in backend after editing account from frontend"""
        account = AccountPage(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)
        account.table.edit_row(ACCOUNT_CONFIG["name"])
        account.entity.multiple_select.select("Option Two")
        account.entity.username.set_value("TestEditUser")
        account.entity.password.set_value("TestEditPassword")
        account.entity.security_token.set_value("TestEditToken")
>       account.entity.account_radio.select("No")

tests/ui/test_splunk_ta_example_addon_account.py:1028: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.controls.toggle.Toggle object at 0x7f6b27f46a90>
value = 'No'

    def select(self, value):
        """
        Selects the toggle specified
            :param value: the value to select
            :return: Bool if successful in selection, else raises an error
        """
        for each in self.get_elements("toggle_btn"):
            if each.text.lower() == value.lower():
                self._wait_to_be_clickable(each)
                return True
        else:
>           raise ValueError("{} not found".format(value))
E           ValueError: No not found

/root/.cache/pypoetry/virtualenvs/splunk-add-on-for-ucc-example-VsnhxLU2-py3.7/lib/python3.7/site-packages/pytest_splunk_addon_ui_smartx/components/controls/toggle.py:61: ValueError

Check failure on line 0 in /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 8.2.11.2 ui chrome test report

pytest ► tests.ui.test_splunk_ta_example_addon_account.chrome_TestAccount ► test_account_clone_backend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f6b28192850>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f6b28192850>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f6b27f5bc10>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f6b27871890>
add_account = {'entry': [{'acl': {'app': 'Splunk_TA_UCCExample', 'can_change_perms': True, 'can_list': True, 'can_share_app': True, ... 'links': {'create': '/servicesNS/nobody/Splunk_TA_UCCExample/splunk_ta_uccexample_account/_new'}, 'messages': [], ...}

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.account
    @pytest.mark.sanity_test
    def test_account_clone_backend_validation(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper, add_account
    ):
        """Verifies the account in backend after cloning account from frontend"""
        account = AccountPage(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)
        account.table.wait_for_rows_to_appear(1)
        account.table.clone_row(ACCOUNT_CONFIG["name"])
        account.entity.name.set_value("TestAccountClone")
        account.entity.multiple_select.select("Option Two")
        account.entity.username.set_value("TestCloneUser")
        account.entity.password.set_value("TestEditPassword")
        account.entity.security_token.set_value("TestEditToken")
>       account.entity.account_radio.select("No")

tests/ui/test_splunk_ta_example_addon_account.py:1061: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.controls.toggle.Toggle object at 0x7f6b27f3a9d0>
value = 'No'

    def select(self, value):
        """
        Selects the toggle specified
            :param value: the value to select
            :return: Bool if successful in selection, else raises an error
        """
        for each in self.get_elements("toggle_btn"):
            if each.text.lower() == value.lower():
                self._wait_to_be_clickable(each)
                return True
        else:
>           raise ValueError("{} not found".format(value))
E           ValueError: No not found

/root/.cache/pypoetry/virtualenvs/splunk-add-on-for-ucc-example-VsnhxLU2-py3.7/lib/python3.7/site-packages/pytest_splunk_addon_ui_smartx/components/controls/toggle.py:61: ValueError

Check failure on line 0 in /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 8.2.11.2 ui chrome test report

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_frontend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f6b28311c50>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f6b28311c50>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f6b28086c10>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f6b27871890>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.custom
    @pytest.mark.sanity_test
    def test_custom_frontend_validation(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """This test case checks the validates frontend save in custom tab"""
        custom = Custom(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)
        custom.test_string.set_value("test_str")
        custom.test_number.set_value("7")
        custom.test_regex.set_value("test_rex")
        custom.test_email.set_value("test@a.b")
        custom.test_ipv4.set_value("1.10.1.100")
        custom.test_date.set_value("2020-09-18")
        custom.test_url.set_value("https://docs.splunk.com/Documentation")
>       custom.test_radio.select("No")

tests/ui/test_splunk_ta_example_addon_custom.py:85: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.controls.toggle.Toggle object at 0x7f6b279edd90>
value = 'No'

    def select(self, value):
        """
        Selects the toggle specified
            :param value: the value to select
            :return: Bool if successful in selection, else raises an error
        """
        for each in self.get_elements("toggle_btn"):
            if each.text.lower() == value.lower():
                self._wait_to_be_clickable(each)
                return True
        else:
>           raise ValueError("{} not found".format(value))
E           ValueError: No not found

/root/.cache/pypoetry/virtualenvs/splunk-add-on-for-ucc-example-VsnhxLU2-py3.7/lib/python3.7/site-packages/pytest_splunk_addon_ui_smartx/components/controls/toggle.py:61: ValueError

Check failure on line 0 in /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 8.2.11.2 ui chrome test report

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_backend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f6b27b1a910>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f6b27b1a910>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f6b27f631d0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f6b27871890>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.custom
    @pytest.mark.sanity_test
    def test_custom_backend_validation(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """This test case checks the validates backend save in custom tab"""
        custom = Custom(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)
        custom.test_string.set_value("test_str")
        custom.test_number.set_value("7")
        custom.test_regex.set_value("test_rex")
        custom.test_email.set_value("test@a.b")
        custom.test_ipv4.set_value("1.10.1.100")
        custom.test_date.set_value("2020-09-18")
        custom.test_url.set_value("https://docs.splunk.com/Documentation")
>       custom.test_radio.select("No")

tests/ui/test_splunk_ta_example_addon_custom.py:106: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.controls.toggle.Toggle object at 0x7f6b280cd410>
value = 'No'

    def select(self, value):
        """
        Selects the toggle specified
            :param value: the value to select
            :return: Bool if successful in selection, else raises an error
        """
        for each in self.get_elements("toggle_btn"):
            if each.text.lower() == value.lower():
                self._wait_to_be_clickable(each)
                return True
        else:
>           raise ValueError("{} not found".format(value))
E           ValueError: No not found

/root/.cache/pypoetry/virtualenvs/splunk-add-on-for-ucc-example-VsnhxLU2-py3.7/lib/python3.7/site-packages/pytest_splunk_addon_ui_smartx/components/controls/toggle.py:61: ValueError

Check failure on line 0 in /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 8.2.11.2 ui chrome test report

pytest ► tests.ui.test_splunk_ta_example_addon_input.chrome_TestInput ► test_example_input_one_add_frontend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b281be3d0>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b281be3d0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f6b27a036d0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f6b27871890>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.input
    @pytest.mark.sanity_test
    def test_example_input_one_add_frontend_validation(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """Verifies the frontend after adding a Example Input One"""
        input_page = InputPage(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)
        input_page.create_new_input.select("Example Input One")
        input_page.entity1.example_account.wait_for_values()
        input_page.entity1.name.set_value("dummy_input")
>       input_page.entity1.example_radio.select("Yes")

tests/ui/test_splunk_ta_example_addon_input.py:1050: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.controls.toggle.Toggle object at 0x7f6b280976d0>
value = 'Yes'

    def select(self, value):
        """
        Selects the toggle specified
            :param value: the value to select
            :return: Bool if successful in selection, else raises an error
        """
        for each in self.get_elements("toggle_btn"):
            if each.text.lower() == value.lower():
                self._wait_to_be_clickable(each)
                return True
        else:
>           raise ValueError("{} not found".format(value))
E           ValueError: Yes not found

/root/.cache/pypoetry/virtualenvs/splunk-add-on-for-ucc-example-VsnhxLU2-py3.7/lib/python3.7/site-packages/pytest_splunk_addon_ui_smartx/components/controls/toggle.py:61: ValueError

Check failure on line 0 in /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 8.2.11.2 ui chrome test report

pytest ► tests.ui.test_splunk_ta_example_addon_input.chrome_TestInput ► test_example_input_one_add_backend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b281be890>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b281be890>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f6b279d5310>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f6b27871890>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.input
    @pytest.mark.sanity_test
    def test_example_input_one_add_backend_validation(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """Verifies the backend after adding a example input one"""
        input_page = InputPage(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)
        input_page.create_new_input.select("Example Input One")
        input_page.entity1.example_account.wait_for_values()
        input_page.entity1.name.set_value("dummy_input")
>       input_page.entity1.example_radio.select("No")

tests/ui/test_splunk_ta_example_addon_input.py:1085: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.controls.toggle.Toggle object at 0x7f6b279b8d50>
value = 'No'

    def select(self, value):
        """
        Selects the toggle specified
            :param value: the value to select
            :return: Bool if successful in selection, else raises an error
        """
        for each in self.get_elements("toggle_btn"):
            if each.text.lower() == value.lower():
                self._wait_to_be_clickable(each)
                return True
        else:
>           raise ValueError("{} not found".format(value))
E           ValueError: No not found

/root/.cache/pypoetry/virtualenvs/splunk-add-on-for-ucc-example-VsnhxLU2-py3.7/lib/python3.7/site-packages/pytest_splunk_addon_ui_smartx/components/controls/toggle.py:61: ValueError

Check failure on line 0 in /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 8.2.11.2 ui chrome test report

pytest ► tests.ui.test_splunk_ta_example_addon_input.chrome_TestInput ► test_example_input_one_edit_frontend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b28313210>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b28313210>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f6b279aea90>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f6b27871890>
add_input_one = {'entry': [{'acl': {'app': 'Splunk_TA_UCCExample', 'can_change_perms': True, 'can_list': True, 'can_share_app': True, ...nf-inputs/_reload', 'create': '/servicesNS/nobody/Splunk_TA_UCCExample/configs/conf-inputs/_new'}, 'messages': [], ...}

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.input
    @pytest.mark.sanity_test
    def test_example_input_one_edit_frontend_validation(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper, add_input_one
    ):
        """Verifies the frontend edit functionality of the example input one entity"""
        input_page = InputPage(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)
        input_page.table.edit_row("dummy_input_one")
        input_page.entity1.example_account.wait_for_values()
        input_page.entity1.example_checkbox.uncheck()
>       input_page.entity1.example_radio.select("No")

tests/ui/test_splunk_ta_example_addon_input.py:1141: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.controls.toggle.Toggle object at 0x7f6b27f4a9d0>
value = 'No'

    def select(self, value):
        """
        Selects the toggle specified
            :param value: the value to select
            :return: Bool if successful in selection, else raises an error
        """
        for each in self.get_elements("toggle_btn"):
            if each.text.lower() == value.lower():
                self._wait_to_be_clickable(each)
                return True
        else:
>           raise ValueError("{} not found".format(value))
E           ValueError: No not found

/root/.cache/pypoetry/virtualenvs/splunk-add-on-for-ucc-example-VsnhxLU2-py3.7/lib/python3.7/site-packages/pytest_splunk_addon_ui_smartx/components/controls/toggle.py:61: ValueError

Check failure on line 0 in /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 8.2.11.2 ui chrome test report

pytest ► tests.ui.test_splunk_ta_example_addon_input.chrome_TestInput ► test_example_input_one_edit_backend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b28313710>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b28313710>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f6b27f3ae50>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f6b27871890>
add_input_one = {'entry': [{'acl': {'app': 'Splunk_TA_UCCExample', 'can_change_perms': True, 'can_list': True, 'can_share_app': True, ...nf-inputs/_reload', 'create': '/servicesNS/nobody/Splunk_TA_UCCExample/configs/conf-inputs/_new'}, 'messages': [], ...}

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.input
    @pytest.mark.sanity_test
    def test_example_input_one_edit_backend_validation(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper, add_input_one
    ):
        """Verifies the backend edit functionality of the example input one entity"""
        input_page = InputPage(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)
        input_page.table.edit_row("dummy_input_one")
        input_page.entity1.example_account.wait_for_values()
        input_page.entity1.example_checkbox.uncheck()
>       input_page.entity1.example_radio.select("No")

tests/ui/test_splunk_ta_example_addon_input.py:1178: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.controls.toggle.Toggle object at 0x7f6b279b2090>
value = 'No'

    def select(self, value):
        """
        Selects the toggle specified
            :param value: the value to select
            :return: Bool if successful in selection, else raises an error
        """
        for each in self.get_elements("toggle_btn"):
            if each.text.lower() == value.lower():
                self._wait_to_be_clickable(each)
                return True
        else:
>           raise ValueError("{} not found".format(value))
E           ValueError: No not found

/root/.cache/pypoetry/virtualenvs/splunk-add-on-for-ucc-example-VsnhxLU2-py3.7/lib/python3.7/site-packages/pytest_splunk_addon_ui_smartx/components/controls/toggle.py:61: ValueError

Check failure on line 0 in /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 8.2.11.2 ui chrome test report

pytest ► tests.ui.test_splunk_ta_example_addon_input.chrome_TestInput ► test_example_input_two_add_frontend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-c1652a1-ui-chrome-6118189486-lbcz-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b281e3fd0>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f6b281e3fd0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f6b279bdad0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f6b27871890>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.input
    @pytest.mark.sanity_test
    def test_example_input_two_add_frontend_validation(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """Verifies the frontend after adding a Example Input Two"""
        input_page = InputPage(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)
        input_page.create_new_input.select("Example Input Two")
        input_page.entity2.example_account.wait_for_values()
        input_page.entity2.name.set_value("dummy_input")
        input_page.entity2.example_checkbox.check()
>       input_page.entity2.example_radio.select("No")

tests/ui/test_splunk_ta_example_addon_input.py:1906: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.controls.toggle.Toggle object at 0x7f6b27f4aa90>
value = 'No'

    def select(self, value):
        """
        Selects the toggle specified
            :param value: the value to select
            :return: Bool if successful in selection, else raises an error
        """
        for each in self.get_elements("toggle_btn"):
            if each.text.lower() == value.lower():
                self._wait_to_be_clickable(each)
                return True
        else:
>           raise ValueError("{} not found".format(value))
E           ValueError: No not found

/root/.cache/pypoetry/virtualenvs/splunk-add-on-for-ucc-example-VsnhxLU2-py3.7/lib/python3.7/site-packages/pytest_splunk_addon_ui_smartx/components/controls/toggle.py:61: ValueError