chore(deps): update all dependencies #1187
splunk 8.2.11.2 ui firefox test report ❌
❌ /tmp/test-results/wf-uccexample-8c9673e-ui-firefox-6177759645-yfpj-results.xml
29 tests were completed in 2970s with 15 passed, 14 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 15✅ | 14❌ | 2970s |
❌ 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 0x7f181048c210>
❌ test_account_clone_frontend_validation
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f181048cb10>
✅ test_account_add_backend_validation
❌ test_account_edit_backend_validation
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f18103a38d0>
❌ test_account_clone_backend_validation
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f1810488f90>
✅ 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 0x7f180fd6b4d0>
❌ test_custom_backend_validation
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f180fd6b750>
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 0x7f1810549050>
❌ test_example_input_one_add_backend_validation
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f18105494d0>
❌ test_example_input_one_edit_frontend_validation
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f1810549e10>
❌ test_example_input_one_edit_backend_validation
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f1810278350>
✅ 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 0x7f1810285c50>
❌ test_example_input_two_add_backend_validation
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f1810276f50>
❌ test_example_input_two_edit_frontend_validation
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f18103e0990>
❌ test_example_input_two_edit_backend_validation
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f18103e0e90>
✅ 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
github-actions / splunk 8.2.11.2 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-yfpj-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f181048c210>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f181048c210>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f181067eb50>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f180faf0690>
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 0x7f18102fb790>
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
github-actions / splunk 8.2.11.2 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-yfpj-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f181048cb10>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f181048cb10>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f18101dbc50>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f180faf0690>
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 0x7f181012c3d0>
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
github-actions / splunk 8.2.11.2 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-yfpj-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f18103a38d0>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f18103a38d0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f181011e390>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f180faf0690>
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 0x7f18101f0750>
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
github-actions / splunk 8.2.11.2 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-yfpj-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f1810488f90>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7f1810488f90>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f1810142750>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f180faf0690>
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 0x7f1810393190>
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
github-actions / splunk 8.2.11.2 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-yfpj-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f180fd6b4d0>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f180fd6b4d0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f181011ed90>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f180faf0690>
@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 0x7f1810144490>
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
github-actions / splunk 8.2.11.2 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-yfpj-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f180fd6b750>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f180fd6b750>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f18101209d0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f180faf0690>
@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 0x7f18101cf190>
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
github-actions / splunk 8.2.11.2 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-yfpj-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f1810549050>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f1810549050>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f18101254d0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f180faf0690>
@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 0x7f180fc6fd90>
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
github-actions / splunk 8.2.11.2 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-yfpj-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f18105494d0>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f18105494d0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f181017f090>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f180faf0690>
@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 0x7f181015dd90>
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
github-actions / splunk 8.2.11.2 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-yfpj-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f1810549e10>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f1810549e10>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f181017f0d0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f180faf0690>
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 0x7f181012c6d0>
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
github-actions / splunk 8.2.11.2 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-yfpj-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f1810278350>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f1810278350>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f181019df90>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f180faf0690>
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 0x7f1810120250>
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
github-actions / splunk 8.2.11.2 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-yfpj-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f1810285c50>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7f1810285c50>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f180fc6fa90>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f180faf0690>
@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 0x7f180fc5b810>
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