diff --git a/poetry.lock b/poetry.lock index 138e67e22..7824fc492 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1283,13 +1283,13 @@ xmltodict = ">=0.13.0,<0.14.0" [[package]] name = "pytest-splunk-addon-ui-smartx" -version = "5.3.0" +version = "5.3.1" description = "Library to support testing Splunk Add-on UX" optional = false python-versions = "<4.0,>=3.7" files = [ - {file = "pytest_splunk_addon_ui_smartx-5.3.0-py3-none-any.whl", hash = "sha256:bd3b646469d869757d9fef4be9129fa373265121f027af21729828aa38726392"}, - {file = "pytest_splunk_addon_ui_smartx-5.3.0.tar.gz", hash = "sha256:0b684382320aaf18b0047fd61a32fc9df232bd06d8b2b47b3716a65236390b26"}, + {file = "pytest_splunk_addon_ui_smartx-5.3.1-py3-none-any.whl", hash = "sha256:a7a095e8b0f61f212ab569ec67e5ab4e44dc9e77acf05e3f01c9cacd99f959fe"}, + {file = "pytest_splunk_addon_ui_smartx-5.3.1.tar.gz", hash = "sha256:eacb9cf725bb4bbfe6646eee3bbed3a585b6ea190879d9ed5afc5db784e1b0aa"}, ] [package.dependencies] @@ -1782,4 +1782,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" python-versions = ">=3.7,<3.13" -content-hash = "0435209576291a24a097f17bcf32f89216d592fb01e88fe72c521cb7379ff474" +content-hash = "1d370a95e06234e554f7459f274deb9f98a7df6e6a6f17cc8df998ea80530a80" diff --git a/pyproject.toml b/pyproject.toml index cc36327b1..d1194e521 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ mkdocs = "^1.4.2" importlib-metadata = {version="*", python="<3.8"} pytest = "^7.2.1" pytest-splunk-addon = "^5.4.0" -pytest-splunk-addon-ui-smartx = "^5.3.0" +pytest-splunk-addon-ui-smartx = "^5.3.1" pytest-rerunfailures = "^11.1.1" mkdocs-material = "^9.1.3" mkdocstrings = {version=">=0", extras=["python"]} diff --git a/tests/testdata/test_addons/package_global_config_everything/globalConfig.json b/tests/testdata/test_addons/package_global_config_everything/globalConfig.json index 877e52159..08fd75367 100644 --- a/tests/testdata/test_addons/package_global_config_everything/globalConfig.json +++ b/tests/testdata/test_addons/package_global_config_everything/globalConfig.json @@ -1906,10 +1906,10 @@ "meta": { "name": "Splunk_TA_UCCExample", "restRoot": "splunk_ta_uccexample", - "version": "5.52.0+70c7e9d6b", + "version": "5.53.2+ed749a5ec", "displayName": "Splunk UCC test Add-on", "schemaVersion": "0.0.9", - "_uccVersion": "5.52.0", + "_uccVersion": "5.53.2", "supportedThemes": [ "light", "dark" diff --git a/tests/ui/test_configuration_page_account_tab.py b/tests/ui/test_configuration_page_account_tab.py index 6617ff7d4..204f3e607 100644 --- a/tests/ui/test_configuration_page_account_tab.py +++ b/tests/ui/test_configuration_page_account_tab.py @@ -1033,8 +1033,11 @@ def test_account_helplink(self, ucc_smartx_selenium_helper, ucc_smartx_rest_help account = AccountPage(ucc_smartx_selenium_helper, ucc_smartx_rest_helper) go_to_link = "https://docs.splunk.com/Documentation" account.entity.open() - with account.entity.help_link.open_link(): - self.assert_util(account.entity.help_link.get_current_url, go_to_link) + + assert ( + account.entity.help_link.internal_container.get_attribute("href") + == go_to_link + ) @pytest.mark.execute_enterprise_cloud_true @pytest.mark.forwarder diff --git a/tests/ui/test_input_page.py b/tests/ui/test_input_page.py index 176da970d..9876c7e62 100644 --- a/tests/ui/test_input_page.py +++ b/tests/ui/test_input_page.py @@ -1037,8 +1037,11 @@ def test_example_input_one_help_link( go_to_link = "https://docs.splunk.com/Documentation" input_page.create_new_input.select("Example Input One") input_page.entity1.example_account.wait_for_values() - with input_page.entity1.help_link.open_link(): - self.assert_util(input_page.entity1.help_link.get_current_url, go_to_link) + + assert ( + input_page.entity1.help_link.internal_container.get_attribute("href") + == go_to_link + ) @pytest.mark.execute_enterprise_cloud_true @pytest.mark.forwarder