Skip to content

chore(deps): update all dependencies #524

chore(deps): update all dependencies

chore(deps): update all dependencies #524

GitHub Actions / test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom failed Oct 5, 2023 in 1s

test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom ❌

Tests failed

❌ test-results/test.xml

23 tests were completed in 2070s with 0 passed, 23 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 23❌ 2070s

❌ pytest

tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom
  ❌ test_custom_fields_label_entity
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad0e80>
  ❌ test_custom_fields_placeholder_value
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad0f40>
  ❌ test_custom_frontend_validation
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad3c10>
  ❌ test_custom_backend_validation
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad3850>
  ❌ test_custom_required_field_test_string
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad1e10>
  ❌ test_custom_valid_length_test_string_greater
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e499b10>
  ❌ test_custom_valid_length_test_string_less
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e499e10>
  ❌ test_custom_required_field_test_number
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fe680>
  ❌ test_custom_valid_input_test_number
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fe5c0>
  ❌ test_custom_valid_range_test_number
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad1030>
  ❌ test_custom_valid_input_test_regex
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fd030>
  ❌ test_custom_valid_input_test_email
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3ff700>
  ❌ test_custom_valid_input_test_ipv4
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3ff250>
  ❌ test_custom_valid_input_test_date
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fdb40>
  ❌ test_custom_valid_input_test_url
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fcee0>
  ❌ test_custom_select_value_test_radio
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fc5e0>
  ❌ test_custom_list_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fc3d0>
  ❌ test_custom_select_value_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fc070>
  ❌ test_custom_select_multiple_values_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3ffe20>
  ❌ test_custom_search_value_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fc520>
  ❌ test_custom_clear_text_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fcb80>
  ❌ test_custom_deselect_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fdc90>
  ❌ test_custom_help_link
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fde70>

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_fields_label_entity

Failed test found in:
  test-results/test.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad0e80>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad0e80>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0cb480d0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.custom
    def test_custom_fields_label_entity(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """Verifies custom fields label"""
>       custom = Custom(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)

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

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0cb48220>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0cb480d0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>
open_page = True

    def __init__(
        self,
        ucc_smartx_selenium_helper=None,
        ucc_smartx_rest_helper=None,
        open_page=True,
    ):
        """
        :param ucc_smartx_selenium_helper: fixture contains browser, urls and session key
        """
        entity_container = Selector(select='div[id="custom_tabTab"]')
    
        # Components
        if ucc_smartx_selenium_helper:
            super().__init__(ucc_smartx_selenium_helper.browser, entity_container)
            self.splunk_web_url = ucc_smartx_selenium_helper.splunk_web_url
>           self.open()

tests/ui/Example_UccLib/custom.py:27: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0cb48220>

    def open(self):
        """
        Open the required page. Page(super) class opens the page by default.
        """
        self.browser.get(
            "{}/en-US/app/Splunk_TA_UCCExample/configuration".format(
                self.splunk_web_url
            )
        )
        tab = Tab(self.browser)
>       tab.open_tab("custom_tab")

tests/ui/Example_UccLib/custom.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0cb49570>
tab = 'custom_tab'

    def open_tab(self, tab):
        """
        Open a specified tab
            :param tab: id of the tab
        """
>       self.wait_for("container")

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/tabs.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0cb49570>
key = 'container', msg = 'container element is not present', timeout = None

    def wait_for(self, key, msg=None, timeout=None):
        """
        if key in element, Wait for an web element to be visible. Raises TimeoutException if the element not found.
        if key is a condition, wait for the condition to be true.
    
            :param key: The key of the element mentioned in self.elements
            :param msg: The error-msg which should be mentioned in the TimeoutException
            :param timeout: The amount of time specified to wait for the wait function
        """
        if timeout:
            wait = WebDriverWait(self.browser, timeout)
        else:
            wait = self.wait
        if key in self.elements:
            if not msg:
                msg = "{} element is not present".format(key)
>           return wait.until(EC.presence_of_element_located(self.get_tuple(key)), msg)

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/base_component.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="3c3bec7253d34c32984cad622940889b")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f9d0cb49a50>
message = 'container element is not present'

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: container element is not present

/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException

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

See this annotation in the file changed.

@github-actions github-actions / test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_fields_placeholder_value

Failed test found in:
  test-results/test.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad0f40>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad0f40>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0cbb0c10>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.custom
    def test_custom_fields_placeholder_value(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """Verifies custom fields placeholder value"""
>       custom = Custom(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)

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

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0c51bd00>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0cbb0c10>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>
open_page = True

    def __init__(
        self,
        ucc_smartx_selenium_helper=None,
        ucc_smartx_rest_helper=None,
        open_page=True,
    ):
        """
        :param ucc_smartx_selenium_helper: fixture contains browser, urls and session key
        """
        entity_container = Selector(select='div[id="custom_tabTab"]')
    
        # Components
        if ucc_smartx_selenium_helper:
            super().__init__(ucc_smartx_selenium_helper.browser, entity_container)
            self.splunk_web_url = ucc_smartx_selenium_helper.splunk_web_url
>           self.open()

tests/ui/Example_UccLib/custom.py:27: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0c51bd00>

    def open(self):
        """
        Open the required page. Page(super) class opens the page by default.
        """
        self.browser.get(
            "{}/en-US/app/Splunk_TA_UCCExample/configuration".format(
                self.splunk_web_url
            )
        )
        tab = Tab(self.browser)
>       tab.open_tab("custom_tab")

tests/ui/Example_UccLib/custom.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0c51b640>
tab = 'custom_tab'

    def open_tab(self, tab):
        """
        Open a specified tab
            :param tab: id of the tab
        """
>       self.wait_for("container")

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/tabs.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0c51b640>
key = 'container', msg = 'container element is not present', timeout = None

    def wait_for(self, key, msg=None, timeout=None):
        """
        if key in element, Wait for an web element to be visible. Raises TimeoutException if the element not found.
        if key is a condition, wait for the condition to be true.
    
            :param key: The key of the element mentioned in self.elements
            :param msg: The error-msg which should be mentioned in the TimeoutException
            :param timeout: The amount of time specified to wait for the wait function
        """
        if timeout:
            wait = WebDriverWait(self.browser, timeout)
        else:
            wait = self.wait
        if key in self.elements:
            if not msg:
                msg = "{} element is not present".format(key)
>           return wait.until(EC.presence_of_element_located(self.get_tuple(key)), msg)

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/base_component.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="566455d91a0945d58c5d0b7eeecca619")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f9d0c51b3d0>
message = 'container element is not present'

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: container element is not present

/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException

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

See this annotation in the file changed.

@github-actions github-actions / test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_frontend_validation

Failed test found in:
  test-results/test.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad3c10>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad3c10>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0ca95d80>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>

    @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)

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

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0ca97580>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0ca95d80>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>
open_page = True

    def __init__(
        self,
        ucc_smartx_selenium_helper=None,
        ucc_smartx_rest_helper=None,
        open_page=True,
    ):
        """
        :param ucc_smartx_selenium_helper: fixture contains browser, urls and session key
        """
        entity_container = Selector(select='div[id="custom_tabTab"]')
    
        # Components
        if ucc_smartx_selenium_helper:
            super().__init__(ucc_smartx_selenium_helper.browser, entity_container)
            self.splunk_web_url = ucc_smartx_selenium_helper.splunk_web_url
>           self.open()

tests/ui/Example_UccLib/custom.py:27: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0ca97580>

    def open(self):
        """
        Open the required page. Page(super) class opens the page by default.
        """
        self.browser.get(
            "{}/en-US/app/Splunk_TA_UCCExample/configuration".format(
                self.splunk_web_url
            )
        )
        tab = Tab(self.browser)
>       tab.open_tab("custom_tab")

tests/ui/Example_UccLib/custom.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0ca94160>
tab = 'custom_tab'

    def open_tab(self, tab):
        """
        Open a specified tab
            :param tab: id of the tab
        """
>       self.wait_for("container")

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/tabs.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0ca94160>
key = 'container', msg = 'container element is not present', timeout = None

    def wait_for(self, key, msg=None, timeout=None):
        """
        if key in element, Wait for an web element to be visible. Raises TimeoutException if the element not found.
        if key is a condition, wait for the condition to be true.
    
            :param key: The key of the element mentioned in self.elements
            :param msg: The error-msg which should be mentioned in the TimeoutException
            :param timeout: The amount of time specified to wait for the wait function
        """
        if timeout:
            wait = WebDriverWait(self.browser, timeout)
        else:
            wait = self.wait
        if key in self.elements:
            if not msg:
                msg = "{} element is not present".format(key)
>           return wait.until(EC.presence_of_element_located(self.get_tuple(key)), msg)

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/base_component.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="7498f380a43f42f89029d9991b9843f0")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f9d0ca96fb0>
message = 'container element is not present'

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: container element is not present

/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException

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

See this annotation in the file changed.

@github-actions github-actions / test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_backend_validation

Failed test found in:
  test-results/test.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad3850>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad3850>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0ca21570>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>

    @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)

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

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0ca21ea0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0ca21570>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>
open_page = True

    def __init__(
        self,
        ucc_smartx_selenium_helper=None,
        ucc_smartx_rest_helper=None,
        open_page=True,
    ):
        """
        :param ucc_smartx_selenium_helper: fixture contains browser, urls and session key
        """
        entity_container = Selector(select='div[id="custom_tabTab"]')
    
        # Components
        if ucc_smartx_selenium_helper:
            super().__init__(ucc_smartx_selenium_helper.browser, entity_container)
            self.splunk_web_url = ucc_smartx_selenium_helper.splunk_web_url
>           self.open()

tests/ui/Example_UccLib/custom.py:27: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0ca21ea0>

    def open(self):
        """
        Open the required page. Page(super) class opens the page by default.
        """
        self.browser.get(
            "{}/en-US/app/Splunk_TA_UCCExample/configuration".format(
                self.splunk_web_url
            )
        )
        tab = Tab(self.browser)
>       tab.open_tab("custom_tab")

tests/ui/Example_UccLib/custom.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0ca23ca0>
tab = 'custom_tab'

    def open_tab(self, tab):
        """
        Open a specified tab
            :param tab: id of the tab
        """
>       self.wait_for("container")

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/tabs.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0ca23ca0>
key = 'container', msg = 'container element is not present', timeout = None

    def wait_for(self, key, msg=None, timeout=None):
        """
        if key in element, Wait for an web element to be visible. Raises TimeoutException if the element not found.
        if key is a condition, wait for the condition to be true.
    
            :param key: The key of the element mentioned in self.elements
            :param msg: The error-msg which should be mentioned in the TimeoutException
            :param timeout: The amount of time specified to wait for the wait function
        """
        if timeout:
            wait = WebDriverWait(self.browser, timeout)
        else:
            wait = self.wait
        if key in self.elements:
            if not msg:
                msg = "{} element is not present".format(key)
>           return wait.until(EC.presence_of_element_located(self.get_tuple(key)), msg)

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/base_component.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="fa567b1235904833bd79dc995af975f7")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f9d0ca23a30>
message = 'container element is not present'

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: container element is not present

/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException

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

See this annotation in the file changed.

@github-actions github-actions / test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_required_field_test_string

Failed test found in:
  test-results/test.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad1e10>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad1e10>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0c4eef80>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.custom
    def test_custom_required_field_test_string(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """This test case checks required field test string"""
>       custom = Custom(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)

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

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0c4ef310>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0c4eef80>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>
open_page = True

    def __init__(
        self,
        ucc_smartx_selenium_helper=None,
        ucc_smartx_rest_helper=None,
        open_page=True,
    ):
        """
        :param ucc_smartx_selenium_helper: fixture contains browser, urls and session key
        """
        entity_container = Selector(select='div[id="custom_tabTab"]')
    
        # Components
        if ucc_smartx_selenium_helper:
            super().__init__(ucc_smartx_selenium_helper.browser, entity_container)
            self.splunk_web_url = ucc_smartx_selenium_helper.splunk_web_url
>           self.open()

tests/ui/Example_UccLib/custom.py:27: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0c4ef310>

    def open(self):
        """
        Open the required page. Page(super) class opens the page by default.
        """
        self.browser.get(
            "{}/en-US/app/Splunk_TA_UCCExample/configuration".format(
                self.splunk_web_url
            )
        )
        tab = Tab(self.browser)
>       tab.open_tab("custom_tab")

tests/ui/Example_UccLib/custom.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0c4ee350>
tab = 'custom_tab'

    def open_tab(self, tab):
        """
        Open a specified tab
            :param tab: id of the tab
        """
>       self.wait_for("container")

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/tabs.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0c4ee350>
key = 'container', msg = 'container element is not present', timeout = None

    def wait_for(self, key, msg=None, timeout=None):
        """
        if key in element, Wait for an web element to be visible. Raises TimeoutException if the element not found.
        if key is a condition, wait for the condition to be true.
    
            :param key: The key of the element mentioned in self.elements
            :param msg: The error-msg which should be mentioned in the TimeoutException
            :param timeout: The amount of time specified to wait for the wait function
        """
        if timeout:
            wait = WebDriverWait(self.browser, timeout)
        else:
            wait = self.wait
        if key in self.elements:
            if not msg:
                msg = "{} element is not present".format(key)
>           return wait.until(EC.presence_of_element_located(self.get_tuple(key)), msg)

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/base_component.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="553b6f3323994cd0a1806e9b106e0bc9")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f9d0c4ec4f0>
message = 'container element is not present'

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: container element is not present

/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException

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

See this annotation in the file changed.

@github-actions github-actions / test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_valid_length_test_string_greater

Failed test found in:
  test-results/test.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e499b10>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e499b10>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0c524f70>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.custom
    def test_custom_valid_length_test_string_greater(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """This test case checks length of test string field should be greater than 4"""
>       custom = Custom(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)

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

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0c5265c0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0c524f70>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>
open_page = True

    def __init__(
        self,
        ucc_smartx_selenium_helper=None,
        ucc_smartx_rest_helper=None,
        open_page=True,
    ):
        """
        :param ucc_smartx_selenium_helper: fixture contains browser, urls and session key
        """
        entity_container = Selector(select='div[id="custom_tabTab"]')
    
        # Components
        if ucc_smartx_selenium_helper:
            super().__init__(ucc_smartx_selenium_helper.browser, entity_container)
            self.splunk_web_url = ucc_smartx_selenium_helper.splunk_web_url
>           self.open()

tests/ui/Example_UccLib/custom.py:27: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0c5265c0>

    def open(self):
        """
        Open the required page. Page(super) class opens the page by default.
        """
        self.browser.get(
            "{}/en-US/app/Splunk_TA_UCCExample/configuration".format(
                self.splunk_web_url
            )
        )
        tab = Tab(self.browser)
>       tab.open_tab("custom_tab")

tests/ui/Example_UccLib/custom.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0c524b20>
tab = 'custom_tab'

    def open_tab(self, tab):
        """
        Open a specified tab
            :param tab: id of the tab
        """
>       self.wait_for("container")

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/tabs.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0c524b20>
key = 'container', msg = 'container element is not present', timeout = None

    def wait_for(self, key, msg=None, timeout=None):
        """
        if key in element, Wait for an web element to be visible. Raises TimeoutException if the element not found.
        if key is a condition, wait for the condition to be true.
    
            :param key: The key of the element mentioned in self.elements
            :param msg: The error-msg which should be mentioned in the TimeoutException
            :param timeout: The amount of time specified to wait for the wait function
        """
        if timeout:
            wait = WebDriverWait(self.browser, timeout)
        else:
            wait = self.wait
        if key in self.elements:
            if not msg:
                msg = "{} element is not present".format(key)
>           return wait.until(EC.presence_of_element_located(self.get_tuple(key)), msg)

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/base_component.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="064fb1bf6d684eeb80cfc31395dcfd80")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f9d0c526a10>
message = 'container element is not present'

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: container element is not present

/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException

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

See this annotation in the file changed.

@github-actions github-actions / test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_valid_length_test_string_less

Failed test found in:
  test-results/test.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e499e10>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e499e10>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0ca957e0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.custom
    def test_custom_valid_length_test_string_less(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """This test case checks length of test string field should be less than 11"""
>       custom = Custom(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)

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

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0ca96230>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0ca957e0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>
open_page = True

    def __init__(
        self,
        ucc_smartx_selenium_helper=None,
        ucc_smartx_rest_helper=None,
        open_page=True,
    ):
        """
        :param ucc_smartx_selenium_helper: fixture contains browser, urls and session key
        """
        entity_container = Selector(select='div[id="custom_tabTab"]')
    
        # Components
        if ucc_smartx_selenium_helper:
            super().__init__(ucc_smartx_selenium_helper.browser, entity_container)
            self.splunk_web_url = ucc_smartx_selenium_helper.splunk_web_url
>           self.open()

tests/ui/Example_UccLib/custom.py:27: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0ca96230>

    def open(self):
        """
        Open the required page. Page(super) class opens the page by default.
        """
        self.browser.get(
            "{}/en-US/app/Splunk_TA_UCCExample/configuration".format(
                self.splunk_web_url
            )
        )
        tab = Tab(self.browser)
>       tab.open_tab("custom_tab")

tests/ui/Example_UccLib/custom.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0ca967d0>
tab = 'custom_tab'

    def open_tab(self, tab):
        """
        Open a specified tab
            :param tab: id of the tab
        """
>       self.wait_for("container")

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/tabs.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0ca967d0>
key = 'container', msg = 'container element is not present', timeout = None

    def wait_for(self, key, msg=None, timeout=None):
        """
        if key in element, Wait for an web element to be visible. Raises TimeoutException if the element not found.
        if key is a condition, wait for the condition to be true.
    
            :param key: The key of the element mentioned in self.elements
            :param msg: The error-msg which should be mentioned in the TimeoutException
            :param timeout: The amount of time specified to wait for the wait function
        """
        if timeout:
            wait = WebDriverWait(self.browser, timeout)
        else:
            wait = self.wait
        if key in self.elements:
            if not msg:
                msg = "{} element is not present".format(key)
>           return wait.until(EC.presence_of_element_located(self.get_tuple(key)), msg)

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/base_component.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="b0993a623fe4401b8beba9227d6be3b5")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f9d0ca954b0>
message = 'container element is not present'

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: container element is not present

/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException

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

See this annotation in the file changed.

@github-actions github-actions / test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_required_field_test_number

Failed test found in:
  test-results/test.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fe680>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fe680>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0c4ece80>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.custom
    def test_custom_required_field_test_number(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """This test case checks required field test number"""
>       custom = Custom(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)

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

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0c4ed4e0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0c4ece80>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>
open_page = True

    def __init__(
        self,
        ucc_smartx_selenium_helper=None,
        ucc_smartx_rest_helper=None,
        open_page=True,
    ):
        """
        :param ucc_smartx_selenium_helper: fixture contains browser, urls and session key
        """
        entity_container = Selector(select='div[id="custom_tabTab"]')
    
        # Components
        if ucc_smartx_selenium_helper:
            super().__init__(ucc_smartx_selenium_helper.browser, entity_container)
            self.splunk_web_url = ucc_smartx_selenium_helper.splunk_web_url
>           self.open()

tests/ui/Example_UccLib/custom.py:27: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0c4ed4e0>

    def open(self):
        """
        Open the required page. Page(super) class opens the page by default.
        """
        self.browser.get(
            "{}/en-US/app/Splunk_TA_UCCExample/configuration".format(
                self.splunk_web_url
            )
        )
        tab = Tab(self.browser)
>       tab.open_tab("custom_tab")

tests/ui/Example_UccLib/custom.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0c4ec3a0>
tab = 'custom_tab'

    def open_tab(self, tab):
        """
        Open a specified tab
            :param tab: id of the tab
        """
>       self.wait_for("container")

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/tabs.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0c4ec3a0>
key = 'container', msg = 'container element is not present', timeout = None

    def wait_for(self, key, msg=None, timeout=None):
        """
        if key in element, Wait for an web element to be visible. Raises TimeoutException if the element not found.
        if key is a condition, wait for the condition to be true.
    
            :param key: The key of the element mentioned in self.elements
            :param msg: The error-msg which should be mentioned in the TimeoutException
            :param timeout: The amount of time specified to wait for the wait function
        """
        if timeout:
            wait = WebDriverWait(self.browser, timeout)
        else:
            wait = self.wait
        if key in self.elements:
            if not msg:
                msg = "{} element is not present".format(key)
>           return wait.until(EC.presence_of_element_located(self.get_tuple(key)), msg)

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/base_component.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="743e319d3d6c45f7bded385fb515874e")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f9d0c4ed480>
message = 'container element is not present'

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: container element is not present

/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException

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

See this annotation in the file changed.

@github-actions github-actions / test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_valid_input_test_number

Failed test found in:
  test-results/test.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fe5c0>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fe5c0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0cb843a0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.custom
    def test_custom_valid_input_test_number(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """This test case checks test number field should be integer"""
>       custom = Custom(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)

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

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0cb862c0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0cb843a0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>
open_page = True

    def __init__(
        self,
        ucc_smartx_selenium_helper=None,
        ucc_smartx_rest_helper=None,
        open_page=True,
    ):
        """
        :param ucc_smartx_selenium_helper: fixture contains browser, urls and session key
        """
        entity_container = Selector(select='div[id="custom_tabTab"]')
    
        # Components
        if ucc_smartx_selenium_helper:
            super().__init__(ucc_smartx_selenium_helper.browser, entity_container)
            self.splunk_web_url = ucc_smartx_selenium_helper.splunk_web_url
>           self.open()

tests/ui/Example_UccLib/custom.py:27: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0cb862c0>

    def open(self):
        """
        Open the required page. Page(super) class opens the page by default.
        """
        self.browser.get(
            "{}/en-US/app/Splunk_TA_UCCExample/configuration".format(
                self.splunk_web_url
            )
        )
        tab = Tab(self.browser)
>       tab.open_tab("custom_tab")

tests/ui/Example_UccLib/custom.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0cb86b00>
tab = 'custom_tab'

    def open_tab(self, tab):
        """
        Open a specified tab
            :param tab: id of the tab
        """
>       self.wait_for("container")

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/tabs.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0cb86b00>
key = 'container', msg = 'container element is not present', timeout = None

    def wait_for(self, key, msg=None, timeout=None):
        """
        if key in element, Wait for an web element to be visible. Raises TimeoutException if the element not found.
        if key is a condition, wait for the condition to be true.
    
            :param key: The key of the element mentioned in self.elements
            :param msg: The error-msg which should be mentioned in the TimeoutException
            :param timeout: The amount of time specified to wait for the wait function
        """
        if timeout:
            wait = WebDriverWait(self.browser, timeout)
        else:
            wait = self.wait
        if key in self.elements:
            if not msg:
                msg = "{} element is not present".format(key)
>           return wait.until(EC.presence_of_element_located(self.get_tuple(key)), msg)

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/base_component.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="cdb0014d71e147418d74e177214ce8ba")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f9d0cb84e20>
message = 'container element is not present'

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: container element is not present

/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException

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

See this annotation in the file changed.

@github-actions github-actions / test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_valid_range_test_number

Failed test found in:
  test-results/test.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad1030>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0cad1030>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0ca96080>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.custom
    def test_custom_valid_range_test_number(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """This test case checks range of test number field should be between 1 to 10"""
>       custom = Custom(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)

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

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0ca95f60>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0ca96080>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>
open_page = True

    def __init__(
        self,
        ucc_smartx_selenium_helper=None,
        ucc_smartx_rest_helper=None,
        open_page=True,
    ):
        """
        :param ucc_smartx_selenium_helper: fixture contains browser, urls and session key
        """
        entity_container = Selector(select='div[id="custom_tabTab"]')
    
        # Components
        if ucc_smartx_selenium_helper:
            super().__init__(ucc_smartx_selenium_helper.browser, entity_container)
            self.splunk_web_url = ucc_smartx_selenium_helper.splunk_web_url
>           self.open()

tests/ui/Example_UccLib/custom.py:27: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0ca95f60>

    def open(self):
        """
        Open the required page. Page(super) class opens the page by default.
        """
        self.browser.get(
            "{}/en-US/app/Splunk_TA_UCCExample/configuration".format(
                self.splunk_web_url
            )
        )
        tab = Tab(self.browser)
>       tab.open_tab("custom_tab")

tests/ui/Example_UccLib/custom.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0ca95120>
tab = 'custom_tab'

    def open_tab(self, tab):
        """
        Open a specified tab
            :param tab: id of the tab
        """
>       self.wait_for("container")

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/tabs.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0ca95120>
key = 'container', msg = 'container element is not present', timeout = None

    def wait_for(self, key, msg=None, timeout=None):
        """
        if key in element, Wait for an web element to be visible. Raises TimeoutException if the element not found.
        if key is a condition, wait for the condition to be true.
    
            :param key: The key of the element mentioned in self.elements
            :param msg: The error-msg which should be mentioned in the TimeoutException
            :param timeout: The amount of time specified to wait for the wait function
        """
        if timeout:
            wait = WebDriverWait(self.browser, timeout)
        else:
            wait = self.wait
        if key in self.elements:
            if not msg:
                msg = "{} element is not present".format(key)
>           return wait.until(EC.presence_of_element_located(self.get_tuple(key)), msg)

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/base_component.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="72eb5172872644c593aecb74f76edd01")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f9d0ca97160>
message = 'container element is not present'

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: container element is not present

/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException

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

See this annotation in the file changed.

@github-actions github-actions / test-report-9.1.1__chrome_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.chrome_TestCustom ► test_custom_valid_input_test_regex

Failed test found in:
  test-results/test.xml
Error:
  self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fd030>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f9d0e3fd030>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0cb844c0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>

    @pytest.mark.execute_enterprise_cloud_true
    @pytest.mark.forwarder
    @pytest.mark.custom
    def test_custom_valid_input_test_regex(
        self, ucc_smartx_selenium_helper, ucc_smartx_rest_helper
    ):
        """This test case checks regex of test regex field"""
>       custom = Custom(ucc_smartx_selenium_helper, ucc_smartx_rest_helper)

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

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0cb86110>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f9d0cb844c0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f9d0cbb19f0>
open_page = True

    def __init__(
        self,
        ucc_smartx_selenium_helper=None,
        ucc_smartx_rest_helper=None,
        open_page=True,
    ):
        """
        :param ucc_smartx_selenium_helper: fixture contains browser, urls and session key
        """
        entity_container = Selector(select='div[id="custom_tabTab"]')
    
        # Components
        if ucc_smartx_selenium_helper:
            super().__init__(ucc_smartx_selenium_helper.browser, entity_container)
            self.splunk_web_url = ucc_smartx_selenium_helper.splunk_web_url
>           self.open()

tests/ui/Example_UccLib/custom.py:27: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ui.Example_UccLib.custom.Custom object at 0x7f9d0cb86110>

    def open(self):
        """
        Open the required page. Page(super) class opens the page by default.
        """
        self.browser.get(
            "{}/en-US/app/Splunk_TA_UCCExample/configuration".format(
                self.splunk_web_url
            )
        )
        tab = Tab(self.browser)
>       tab.open_tab("custom_tab")

tests/ui/Example_UccLib/custom.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0cb86710>
tab = 'custom_tab'

    def open_tab(self, tab):
        """
        Open a specified tab
            :param tab: id of the tab
        """
>       self.wait_for("container")

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/tabs.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_splunk_addon_ui_smartx.components.tabs.Tab object at 0x7f9d0cb86710>
key = 'container', msg = 'container element is not present', timeout = None

    def wait_for(self, key, msg=None, timeout=None):
        """
        if key in element, Wait for an web element to be visible. Raises TimeoutException if the element not found.
        if key is a condition, wait for the condition to be true.
    
            :param key: The key of the element mentioned in self.elements
            :param msg: The error-msg which should be mentioned in the TimeoutException
            :param timeout: The amount of time specified to wait for the wait function
        """
        if timeout:
            wait = WebDriverWait(self.browser, timeout)
        else:
            wait = self.wait
        if key in self.elements:
            if not msg:
                msg = "{} element is not present".format(key)
>           return wait.until(EC.presence_of_element_located(self.get_tuple(key)), msg)

/usr/local/lib/python3.10/dist-packages/pytest_splunk_addon_ui_smartx/components/base_component.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="f94294a8d6e74c9b83fef870a006be3c")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f9d0cb85c00>
message = 'container element is not present'

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: container element is not present

/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException