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

test-report-9.0.6__firefox_test_splunk_ta_example_addon_custom ❌

Tests failed

❌ test-results/test.xml

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

Test suite Passed Failed Skipped Time
pytest 23❌ 2140s

❌ pytest

tests.ui.test_splunk_ta_example_addon_custom.firefox_TestCustom
  ❌ test_custom_fields_label_entity
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b027ace80>
  ❌ test_custom_fields_placeholder_value
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b027acfd0>
  ❌ test_custom_frontend_validation
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b027afbe0>
  ❌ test_custom_backend_validation
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b027af820>
  ❌ test_custom_required_field_test_string
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b027adcf0>
  ❌ test_custom_valid_length_test_string_greater
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b04175bd0>
  ❌ test_custom_valid_length_test_string_less
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b04175060>
  ❌ test_custom_required_field_test_number
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040da620>
  ❌ test_custom_valid_input_test_number
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040da5f0>
  ❌ test_custom_valid_range_test_number
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b027acf10>
  ❌ test_custom_valid_input_test_regex
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040d9090>
  ❌ test_custom_valid_input_test_email
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040db700>
  ❌ test_custom_valid_input_test_ipv4
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040db250>
  ❌ test_custom_valid_input_test_date
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040d9b10>
  ❌ test_custom_valid_input_test_url
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040d8ee0>
  ❌ test_custom_select_value_test_radio
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040d8970>
  ❌ test_custom_list_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040db070>
  ❌ test_custom_select_value_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040d8130>
  ❌ test_custom_select_multiple_values_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040dbf40>
  ❌ test_custom_search_value_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040d8580>
  ❌ test_custom_clear_text_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040d8b80>
  ❌ test_custom_deselect_test_multiselect
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040d9c00>
  ❌ test_custom_help_link
	self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040d9e70>

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__firefox_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_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 0x7f8b027ace80>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b027ace80>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b0281fa00>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>

    @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 0x7f8b0281dbd0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b0281fa00>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>
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 0x7f8b0281dbd0>

    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 0x7f8b0281d5d0>
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 0x7f8b0281d5d0>
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="3e4103a4d0a04a26b4e178eec95d684f")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f8b0281fb20>
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__firefox_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_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 0x7f8b027acfd0>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b027acfd0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b021b06a0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>

    @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 0x7f8b021b0490>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b021b06a0>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>
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 0x7f8b021b0490>

    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 0x7f8b021b1330>
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 0x7f8b021b1330>
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="b0d0d3a153824001a54d5477012259cc")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f8b021b0cd0>
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__firefox_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_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 0x7f8b027afbe0>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b027afbe0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b021b3a60>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>

    @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 0x7f8b021b1bd0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b021b3a60>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>
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 0x7f8b021b1bd0>

    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 0x7f8b021b0c10>
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 0x7f8b021b0c10>
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="dacbf67f6dfa447ca657dc49b4f51102")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f8b021b3c10>
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__firefox_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_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 0x7f8b027af820>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b027af820>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b021b3490>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>

    @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 0x7f8b021b1930>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b021b3490>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>
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 0x7f8b021b1930>

    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 0x7f8b021b2710>
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 0x7f8b021b2710>
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="75a049bdbe784b7883cee2e113c67821")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f8b021b3d60>
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__firefox_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_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 0x7f8b027adcf0>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b027adcf0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b02218b80>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>

    @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 0x7f8b022194b0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b02218b80>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>
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 0x7f8b022194b0>

    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 0x7f8b02219a20>
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 0x7f8b02219a20>
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="4c50ea4370f545a79b42a8a4822ffefc")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f8b0221b6a0>
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__firefox_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_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 0x7f8b04175bd0>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b04175bd0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b021c1060>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>

    @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 0x7f8b021c11b0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b021c1060>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>
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 0x7f8b021c11b0>

    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 0x7f8b021c0580>
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 0x7f8b021c0580>
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="5b3f50564fbe425090e47c0125fd5d8b")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f8b021c0520>
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__firefox_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_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 0x7f8b04175060>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b04175060>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b02209600>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>

    @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 0x7f8b02209fc0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b02209600>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>
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 0x7f8b02209fc0>

    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 0x7f8b0221c340>
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 0x7f8b0221c340>
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="dd78cdc0ddf8425e930191c3c3c67b62")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f8b0221da20>
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__firefox_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_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 0x7f8b040da620>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040da620>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b026f5150>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>

    @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 0x7f8b026f7580>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b026f5150>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>
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 0x7f8b026f7580>

    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 0x7f8b026f7070>
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 0x7f8b026f7070>
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="09f4bfabe7b14bc0882aa216bbb754d3")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f8b026f6530>
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__firefox_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_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 0x7f8b040da5f0>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040da5f0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b02696500>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>

    @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 0x7f8b026957b0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b02696500>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>
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 0x7f8b026957b0>

    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 0x7f8b021b1510>
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 0x7f8b021b1510>
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="a3e479f8a37b4f51bc2b7a4a1d03b568")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f8b021b0340>
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__firefox_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_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 0x7f8b027acf10>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b027acf10>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b0287c250>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>

    @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 0x7f8b0287dfc0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b0287c250>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>
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 0x7f8b0287dfc0>

    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 0x7f8b0287e0b0>
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 0x7f8b0287e0b0>
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="9ef588e1dfee4f29bae3fd01683d0405")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f8b0287c4f0>
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__firefox_test_splunk_ta_example_addon_custom

pytest ► tests.ui.test_splunk_ta_example_addon_custom.firefox_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 0x7f8b040d9090>
Raw output
self = <ui.test_splunk_ta_example_addon_custom.TestCustom object at 0x7f8b040d9090>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b021b0d90>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>

    @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 0x7f8b021b2ce0>
ucc_smartx_selenium_helper = <pytest_splunk_addon_ui_smartx.base_test.SeleniumHelper object at 0x7f8b021b0d90>
ucc_smartx_rest_helper = <pytest_splunk_addon_ui_smartx.base_test.RestHelper object at 0x7f8b026959f0>
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 0x7f8b021b2ce0>

    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 0x7f8b021b2320>
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 0x7f8b021b2320>
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="873f604df7ad42e4ad81ad192fa4d44a")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f8b021b32e0>
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