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 #1187

chore(deps): update all dependencies

chore(deps): update all dependencies #1187

GitHub Actions / splunk 9.0.5.1 ui firefox test report failed Sep 13, 2023 in 1s

splunk 9.0.5.1 ui firefox test report ❌

Tests failed

❌ /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml

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

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

❌ pytest

tests.ui.test_splunk_ta_example_addon_account.firefox_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 0x7fed4fb98350>
  ❌ test_account_clone_frontend_validation
	self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fed4fb98c50>
  ✅ test_account_add_backend_validation
  ❌ test_account_edit_backend_validation
	self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fed4fa6aa10>
  ❌ test_account_clone_backend_validation
	self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fed4fb98bd0>
  ✅ test_account_delete_row_backend_validation
tests.ui.test_splunk_ta_example_addon_alert_actions.firefox_TestAlertActions
  ✅ test_alert_action_save
tests.ui.test_splunk_ta_example_addon_custom.firefox_TestCustom
  ❌ test_custom_frontend_validation
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7fed4f918810>
  ❌ test_custom_backend_validation
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7fed4f918dd0>
tests.ui.test_splunk_ta_example_addon_input.firefox_TestInput
  ❌ test_example_input_one_add_frontend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f91a190>
  ❌ test_example_input_one_add_backend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f91a650>
  ❌ test_example_input_one_edit_frontend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f425050>
  ❌ test_example_input_one_edit_backend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f4254d0>
  ✅ 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 0x7fed4f44add0>
  ❌ test_example_input_two_add_backend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f43fc90>
  ❌ test_example_input_two_edit_frontend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4faacb10>
  ❌ test_example_input_two_edit_backend_validation
	self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4fab7050>
  ✅ 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.firefox_TestProxy
  ✅ test_proxy_frontend_validation
  ✅ test_proxy_backend_validation

Annotations

Check failure on line 0 in /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 9.0.5.1 ui firefox test report

pytest ► tests.ui.test_splunk_ta_example_addon_account.firefox_TestAccount ► test_account_edit_frontend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fed4fb98350>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fed4fb98350>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fed4f415d50>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fed4f41eb10>
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 0x7fed4f3ddf90>
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-8c9673e-ui-firefox-6177759645-txvf-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 9.0.5.1 ui firefox test report

pytest ► tests.ui.test_splunk_ta_example_addon_account.firefox_TestAccount ► test_account_clone_frontend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fed4fb98c50>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fed4fb98c50>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fed4f1a5850>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fed4f41eb10>
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 0x7fed4f82d110>
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-8c9673e-ui-firefox-6177759645-txvf-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 9.0.5.1 ui firefox test report

pytest ► tests.ui.test_splunk_ta_example_addon_account.firefox_TestAccount ► test_account_edit_backend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fed4fa6aa10>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fed4fa6aa10>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fed4f8c0350>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fed4f41eb10>
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 0x7fed4f8bd390>
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-8c9673e-ui-firefox-6177759645-txvf-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 9.0.5.1 ui firefox test report

pytest ► tests.ui.test_splunk_ta_example_addon_account.firefox_TestAccount ► test_account_clone_backend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fed4fb98bd0>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fed4fb98bd0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fed4f9f4b90>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fed4f41eb10>
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 0x7fed4f835650>
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-8c9673e-ui-firefox-6177759645-txvf-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 9.0.5.1 ui firefox test report

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_TestCustom ► test_custom_frontend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7fed4f918810>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7fed4f918810>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fed4f83ae50>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fed4f41eb10>

    @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 0x7fed4f9d0590>
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-8c9673e-ui-firefox-6177759645-txvf-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 9.0.5.1 ui firefox test report

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_TestCustom ► test_custom_backend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7fed4f918dd0>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7fed4f918dd0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fed4f8c05d0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fed4f41eb10>

    @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 0x7fed4f3dd1d0>
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-8c9673e-ui-firefox-6177759645-txvf-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 9.0.5.1 ui firefox test report

pytest ► tests.ui.test_splunk_ta_example_addon_input.firefox_TestInput ► test_example_input_one_add_frontend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f91a190>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f91a190>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fed4fa03690>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fed4f41eb10>

    @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 0x7fed4f9a3b50>
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-8c9673e-ui-firefox-6177759645-txvf-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 9.0.5.1 ui firefox test report

pytest ► tests.ui.test_splunk_ta_example_addon_input.firefox_TestInput ► test_example_input_one_add_backend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f91a650>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f91a650>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fed4f35c590>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fed4f41eb10>

    @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 0x7fed4f2e21d0>
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-8c9673e-ui-firefox-6177759645-txvf-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 9.0.5.1 ui firefox test report

pytest ► tests.ui.test_splunk_ta_example_addon_input.firefox_TestInput ► test_example_input_one_edit_frontend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f425050>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f425050>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fed4f342d50>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fed4f41eb10>
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 0x7fed4f864710>
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-8c9673e-ui-firefox-6177759645-txvf-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 9.0.5.1 ui firefox test report

pytest ► tests.ui.test_splunk_ta_example_addon_input.firefox_TestInput ► test_example_input_one_edit_backend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f4254d0>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f4254d0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fed4f342310>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fed4f41eb10>
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 0x7fed4f7f0850>
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-8c9673e-ui-firefox-6177759645-txvf-results.xml

See this annotation in the file changed.

@github-actions github-actions / splunk 9.0.5.1 ui firefox test report

pytest ► tests.ui.test_splunk_ta_example_addon_input.firefox_TestInput ► test_example_input_two_add_frontend_validation

Failed test found in:
  /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-txvf-results.xml
Error:
  self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f44add0>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fed4f44add0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fed4f831d50>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fed4f41eb10>

    @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 0x7fed4f829c90>
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