chore(deps): update all dependencies #1185
splunk 8.2.11.2 ui firefox test report ❌
❌ /tmp/test-results/wf-uccexample-c1652a1-ui-firefox-6118189486-wipo-results.xml
29 tests were completed in 2803s with 15 passed, 14 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 15✅ | 14❌ | 2803s |
❌ 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 0x7fadfa253710>
❌ test_account_clone_frontend_validation
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fadfa263050>
✅ test_account_add_backend_validation
❌ test_account_edit_backend_validation
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fadfa263dd0>
❌ test_account_clone_backend_validation
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fadfa263990>
✅ 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 0x7fadfa003610>
❌ test_custom_backend_validation
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7fadfa0031d0>
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 0x7fadfa171490>
❌ test_example_input_one_add_backend_validation
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa171950>
❌ test_example_input_one_edit_frontend_validation
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa1782d0>
❌ test_example_input_one_edit_backend_validation
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa1787d0>
✅ 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 0x7fadfa1a0c90>
❌ test_example_input_two_add_backend_validation
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa191f90>
❌ test_example_input_two_edit_frontend_validation
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadf9fbde10>
❌ test_example_input_two_edit_backend_validation
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadf9fc0350>
✅ 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-c1652a1-ui-firefox-6118189486-wipo-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fadfa253710>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fadfa253710>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fadfa40ed90>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fadf9870950>
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 0x7fadfa0a6210>
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-c1652a1-ui-firefox-6118189486-wipo-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fadfa263050>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fadfa263050>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fadf9ac47d0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fadf9870950>
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 0x7fadf988ee90>
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-c1652a1-ui-firefox-6118189486-wipo-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fadfa263dd0>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fadfa263dd0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fadf9f80550>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fadf9870950>
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 0x7fadf9ec0750>
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-c1652a1-ui-firefox-6118189486-wipo-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fadfa263990>
Raw output
self = <ui.test_splunk_ta_example_addon_account.TestAccount object at 0x7fadfa263990>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fadf9ec3dd0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fadf9870950>
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 0x7fadf9eacb10>
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-c1652a1-ui-firefox-6118189486-wipo-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7fadfa003610>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7fadfa003610>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fadf9eaa6d0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fadf9870950>
@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 0x7fadfa125850>
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-c1652a1-ui-firefox-6118189486-wipo-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7fadfa0031d0>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7fadfa0031d0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fadf999bbd0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fadf9870950>
@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 0x7fadfa09a410>
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-c1652a1-ui-firefox-6118189486-wipo-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa171490>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa171490>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fadfa03f850>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fadf9870950>
@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 0x7fadf9978550>
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-c1652a1-ui-firefox-6118189486-wipo-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa171950>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa171950>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fadf98b2890>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fadf9870950>
@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 0x7fadf9a11b50>
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-c1652a1-ui-firefox-6118189486-wipo-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa1782d0>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa1782d0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fadfa03ff50>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fadf9870950>
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 0x7fadf9eb5090>
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-c1652a1-ui-firefox-6118189486-wipo-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa1787d0>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa1787d0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fadf9f2af10>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fadf9870950>
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 0x7fadf9ec0a90>
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-c1652a1-ui-firefox-6118189486-wipo-results.xml
Error:
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa1a0c90>
Raw output
self = <ui.test_splunk_ta_example_addon_input.TestInput object at 0x7fadfa1a0c90>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7fadf9f80490>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7fadf9870950>
@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 0x7fadf9ea7fd0>
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