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.0.6__chrome_test_splunk_ta_example_addon_custom failed Oct 5, 2023 in 0s

test-report-9.0.6__chrome_test_splunk_ta_example_addon_custom ❌

Tests failed

❌ test-results/test.xml

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

Test suite Passed Failed Skipped Time
pytest 23❌ 1809s

❌ 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 0x7f426b3281f0>
  ❌ test_custom_fields_placeholder_value
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b32b010>
  ❌ test_custom_frontend_validation
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b329ed0>
  ❌ test_custom_backend_validation
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b32a680>
  ❌ test_custom_required_field_test_string
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b329c00>
  ❌ test_custom_valid_length_test_string_greater
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b32bb80>
  ❌ test_custom_valid_length_test_string_less
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b2795d0>
  ❌ test_custom_required_field_test_number
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b279360>
  ❌ test_custom_valid_input_test_number
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b279570>
  ❌ test_custom_valid_range_test_number
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b32b100>
  ❌ test_custom_valid_input_test_regex
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b27b340>
  ❌ test_custom_valid_input_test_email
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b27b550>
  ❌ test_custom_valid_input_test_ipv4
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b279750>
  ❌ test_custom_valid_input_test_date
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b2792d0>
  ❌ test_custom_valid_input_test_url
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b278e80>
  ❌ test_custom_select_value_test_radio
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b278730>
  ❌ test_custom_list_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b27b6a0>
  ❌ test_custom_select_value_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b27aef0>
  ❌ test_custom_select_multiple_values_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b2798a0>
  ❌ test_custom_search_value_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b278b50>
  ❌ test_custom_clear_text_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b279ab0>
  ❌ test_custom_deselect_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b27a290>
  ❌ test_custom_help_link
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b279c90>

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.0.6__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 0x7f426b3281f0>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b3281f0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42699be920>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>

    @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 0x7f42699be830>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42699be920>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>
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 0x7f42699be830>

    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 0x7f42699bc250>
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 0x7f42699bc250>
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="97960b4eec2f4f2b915b4b83d1b00363")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f42699bf880>
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.0.6__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 0x7f426b32b010>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b32b010>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42696246a0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>

    @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 0x7f4269624490>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42696246a0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>
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 0x7f4269624490>

    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 0x7f4269626020>
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 0x7f4269626020>
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="d8dfc11dab6f48f091b00d3c9d890dfa")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f4269624cd0>
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.0.6__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 0x7f426b329ed0>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b329ed0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f4269627a60>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>

    @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 0x7f4269625bd0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f4269627a60>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>
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 0x7f4269625bd0>

    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 0x7f4269626980>
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 0x7f4269626980>
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="9fa225e698c5443c978eb4e61c8275bf")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f4269627c10>
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.0.6__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 0x7f426b32a680>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b32a680>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f4269627490>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>

    @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 0x7f4269625930>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f4269627490>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>
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 0x7f4269625930>

    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 0x7f4269627df0>
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 0x7f4269627df0>
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="830319f9922542fcaa8fa4de43a0d223")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f4269627d60>
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.0.6__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 0x7f426b329c00>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b329c00>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f426939cb80>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>

    @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 0x7f426939d4b0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f426939cb80>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>
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 0x7f426939d4b0>

    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 0x7f426939d330>
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 0x7f426939d330>
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="bf343caaaa84450a8f55c4b01b7faab5")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f426939f6a0>
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.0.6__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 0x7f426b32bb80>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b32bb80>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42693a1060>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>

    @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 0x7f42693a11b0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42693a1060>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>
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 0x7f42693a11b0>

    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 0x7f42693a1330>
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 0x7f42693a1330>
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="429e1eb9eeb14cfaa1a31ab8a5c0a830")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f42693a0520>
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.0.6__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 0x7f426b2795d0>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b2795d0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42693a5600>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>

    @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 0x7f42693a56c0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42693a5600>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>
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 0x7f42693a56c0>

    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 0x7f4269404280>
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 0x7f4269404280>
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="e4e16137d2e145fdbaec68ce8178e3bc")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f42694046a0>
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.0.6__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 0x7f426b279360>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b279360>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42693b1ab0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>

    @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 0x7f42693b1cc0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42693b1ab0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>
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 0x7f42693b1cc0>

    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 0x7f42693b05e0>
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 0x7f42693b05e0>
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="a06b4ae5c6a84eb69f500869d1c5149a")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f42693b02b0>
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.0.6__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 0x7f426b279570>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b279570>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42699bcca0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>

    @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 0x7f42699bdf30>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42699bcca0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>
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 0x7f42699bdf30>

    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 0x7f42699bd090>
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 0x7f42699bd090>
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="02a442c34aa241969199740491c647a7")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f42699bf910>
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.0.6__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 0x7f426b32b100>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b32b100>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f4269a2aa70>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>

    @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 0x7f42693f2740>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f4269a2aa70>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>
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 0x7f42693f2740>

    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 0x7f42693f3220>
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 0x7f42693f3220>
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="9f902558dba44161bec8319225872b9d")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f42693f3940>
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.0.6__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 0x7f426b27b340>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f426b27b340>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42695afaf0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>

    @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 0x7f42695ac550>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f42695afaf0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f4269a29780>
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 0x7f42695ac550>

    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 0x7f42695ad930>
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 0x7f42695ad930>
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="785341e9461e495f9c34a140dc2c1bb7")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f42695af640>
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