Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion tests/ui/pages/account_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
from pytest_splunk_addon_ui_smartx.components.entity import Entity
from pytest_splunk_addon_ui_smartx.components.controls.button import Button
from pytest_splunk_addon_ui_smartx.components.controls.single_select import SingleSelect
from pytest_splunk_addon_ui_smartx.components.controls.oauth_select import OAuthSelect
from pytest_splunk_addon_ui_smartx.components.controls.oauth_select import (
OAuthSelect as SmartxOAuthSelect,
)
from pytest_splunk_addon_ui_smartx.components.controls.multi_select import MultiSelect
from pytest_splunk_addon_ui_smartx.components.controls.checkbox import Checkbox
from pytest_splunk_addon_ui_smartx.components.controls.textbox import TextBox
Expand All @@ -20,6 +22,18 @@
from tests.ui import constants as C


class OAuthSelect(SmartxOAuthSelect):
"""Wait for React UI OAuth selects to settle before clicking them."""

def select(self, value):
self.wait_to_be_clickable("root")
return super().select(value)

def list_of_values(self):
self.wait_to_be_clickable("root")
return super().list_of_values()


class AccountEntity(Entity):
def __init__(self, browser, container):
"""
Expand Down
3 changes: 2 additions & 1 deletion tests/ui/test_configuration_page_account_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,8 @@ def test_account_help_text_entity(
)
self.assert_util(
account.entity.account_radio.get_help_text,
"This is an example radio button for the account entity. Read more about it here (Opens new window)",
"This is an example radio button for the account entity. "
"Read more about it here\u2060 (Opens new window)",
)
self.assert_util(
account.entity.multiple_select.get_help_text,
Expand Down
168 changes: 84 additions & 84 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,163 +30,163 @@
"prepublishOnly": "yarn run build:lib"
},
"dependencies": {
"@splunk/dashboard-action-buttons": "29.4.0",
"@splunk/dashboard-context": "29.4.0",
"@splunk/dashboard-core": "29.4.0",
"@splunk/dashboard-presets": "29.4.0",
"@splunk/dashboard-state": "29.4.0",
"@splunk/dashboard-types": "29.4.0",
"@splunk/react-events-viewer": "^28.0.0",
"@splunk/react-icons": "^5.2.0",
"@splunk/react-page": "^8.0.0",
"@splunk/react-toast-notifications": "^0.12.0",
"@splunk/react-ui": "5.2.0",
"@splunk/dashboard-action-buttons": "29.8.0",
"@splunk/dashboard-context": "29.8.0",
"@splunk/dashboard-core": "29.8.0",
"@splunk/dashboard-presets": "29.8.0",
"@splunk/dashboard-state": "29.8.0",
"@splunk/dashboard-types": "29.8.0",
"@splunk/react-events-viewer": "^28.9.0",
"@splunk/react-icons": "^5.14.1",
"@splunk/react-page": "^8.3.2",
"@splunk/react-toast-notifications": "^0.13.0",
"@splunk/react-ui": "5.15.0",
"@splunk/search-job": "^3.1.0",
"@splunk/splunk-utils": "^3.2.0",
"@splunk/themes": "^1.2.0",
"@splunk/ui-utils": "^1.10.0",
"@splunk/visualization-context": "^28.4.0",
"@splunk/splunk-utils": "^3.4.0",
"@splunk/themes": "^1.11.0",
"@splunk/ui-utils": "^1.14.1",
"@splunk/visualization-context": "^28.9.0",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^15.0.7",
"@vitejs/plugin-react": "^4.7.0",
"@vitest/coverage-istanbul": "^4.1.2",
"@vitest/coverage-istanbul": "^4.1.11",
"glob": "^13.0.6",
"immutability-helper": "^3.1.1",
"js-yaml": "^4.1.1",
"lodash": "^4.17.23",
"js-yaml": "^4.3.2",
"lodash": "^4.18.1",
"prop-types": "^15.8.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-is": "^16.13.1",
"react-router-dom": "7.18.0",
"react-router-dom": "7.18.2",
"styled-components": "^5.3.11",
"uuid": "^14.0.0",
"vite": "^7.3.1",
"vite-plugin-checker": "^0.12.0",
"vitest": "^4.1.2",
"zod": "^4.3.6"
"uuid": "^14.0.2",
"vite": "^7.3.6",
"vite-plugin-checker": "^0.14.5",
"vitest": "^4.1.11",
"zod": "^4.4.3"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/eslint-parser": "^7.28.6",
"@babel/helper-plugin-utils": "^7.28.6",
"@babel/plugin-transform-runtime": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@babel/preset-react": "^7.28.5",
"@babel/core": "^7.29.7",
"@babel/eslint-parser": "^7.29.7",
"@babel/helper-plugin-utils": "^7.29.7",
"@babel/plugin-transform-runtime": "^7.29.7",
"@babel/preset-env": "^7.29.7",
"@babel/preset-react": "^7.29.7",
"@kickstartds/core": "^4.1.0",
"@kickstartds/storybook-addon-jsonschema": "^4.0.0",
"@rollup/plugin-commonjs": "^29.0.2",
"@rollup/plugin-commonjs": "^29.0.3",
"@splunk/babel-preset": "^4.0.0",
"@splunk/eslint-config": "^5.0.0",
"@storybook/addon-a11y": "^10.3.3",
"@storybook/addon-links": "^10.3.3",
"@storybook/builder-vite": "^10.3.3",
"@storybook/react": "^10.3.3",
"@storybook/react-vite": "^10.3.3",
"@storybook/test-runner": "^0.24.3",
"@splunk/eslint-config": "^5.1.0",
"@storybook/addon-a11y": "^10.5.10",
"@storybook/addon-links": "^10.5.10",
"@storybook/builder-vite": "^10.5.10",
"@storybook/react": "^10.5.10",
"@storybook/react-vite": "^10.5.10",
"@storybook/test-runner": "^0.24.4",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^15.0.7",
"@testing-library/user-event": "^14.6.1",
"@testing-library/user-event": "^14.6.6",
"@types/jest-image-snapshot": "^6.4.1",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.24",
"@types/lodash": "^4.17.25",
"@types/node": "^20.17.24",
"@types/react": "^18.3.28",
"@types/react": "^18.3.31",
"@types/react-dom": "^18.3.7",
"@types/styled-components": "^5.1.36",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^30.3.0",
"babel-jest": "^30.4.1",
"babel-loader": "^8.4.1",
"babel-plugin-module-resolver": "^5.0.3",
"cross-env": "^10.1.0",
"css-loader": "^7.1.4",
"esbuild-loader": "^4.4.2",
"esbuild-loader": "^4.5.0",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^7.2.0",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.15.1",
"eslint-plugin-jest": "^29.16.2",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^4.2.5",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-storybook": "^10.3.3",
"eslint-plugin-storybook": "^10.5.10",
"eslint-plugin-testing-library": "^7.16.2",
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"jest-fixed-jsdom": "^0.0.11",
"jest-image-snapshot": "^6.5.2",
"jsdom": "^30.0.1",
"msw": "^2.12.14",
"msw-storybook-addon": "^2.0.6",
"msw": "^2.15.0",
"msw-storybook-addon": "^2.0.7",
"prettier": "^2.8.8",
"querystring-es3": "^0.2.1",
"rollup-plugin-license": "^3.7.0",
"storybook": "^10.3.3",
"rollup-plugin-license": "^3.7.1",
"storybook": "^10.5.10",
"style-loader": "^4.0.0",
"stylelint": "^14.16.1",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"undici": "^5.29.0",
"url": "^0.11.4",
"vite-plugin-dts": "5.0.3",
"vite-plugin-node-polyfills": "^0.26.0"
"vite-plugin-node-polyfills": "^0.28.0"
},
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-is": "^19.2.4",
"react-is": "^19.2.8",
"styled-components": "^5.3.11",
"typescript": "^5.9.3"
},
"resolutions": {
"nanoid": "3.3.18",
"@npmcli/git": "^2.1.0",
"@types/react": "^18.3.28",
"@types/react": "^18.3.31",
"css-what": "^5.1.0",
"d3-color": "^3.1.0",
"d3-interpolate": "^3.0.1",
"glob-parent": "^5.1.2",
"postcss": "^8.5.10",
"semver": "^7.7.4",
"postcss": "^8.5.26",
"semver": "^7.8.5",
"strip-ansi": "^6.0.1",
"string-width": "^4.2.3",
"esbuild": "^0.28.0",
"axios": "^1.14.0",
"esbuild": "^0.28.2",
"axios": "^1.20.0",
"jspdf": "^4.2.1",
"http-proxy-middleware": "^3.0.5",
"js-yaml": "^4.1.1",
"@splunk/react-ui": "5.2.0",
"@splunk/dashboard-event-handlers": "29.4.0",
"@splunk/dashboard-inputs": "29.4.0",
"@splunk/dashboard-search": "29.4.0",
"@splunk/datasources": "29.4.0",
"@splunk/visualization-schemas": "28.4.0",
"@splunk/dashboard-definition": "29.4.0",
"@splunk/dashboard-icons": "29.4.0",
"@splunk/dashboard-layouts": "29.4.0",
"@splunk/dashboard-state": "29.4.0",
"@splunk/dashboard-telemetry": "29.4.0",
"@splunk/dashboard-ui": "29.4.0",
"@splunk/dashboard-utils": "29.4.0",
"@splunk/dashboard-validation": "29.4.0",
"@splunk/datasource-utils": "29.4.0",
"@splunk/dashboard-definition/ajv": "^8.18.0",
"@splunk/dashboard-validation/ajv": "^8.18.0",
"@splunk/dashboard-types/ajv": "^8.18.0",
"table/ajv": "^8.18.0",
"@rushstack/node-core-library/ajv": "^8.18.0",
"http-proxy-middleware": "^3.0.7",
"js-yaml": "^4.3.2",
"@splunk/react-ui": "5.15.0",
"@splunk/dashboard-event-handlers": "29.8.0",
"@splunk/dashboard-inputs": "29.8.0",
"@splunk/dashboard-search": "29.8.0",
"@splunk/datasources": "29.8.0",
"@splunk/visualization-schemas": "28.9.0",
"@splunk/dashboard-definition": "29.8.0",
"@splunk/dashboard-icons": "29.8.0",
"@splunk/dashboard-layouts": "29.8.0",
"@splunk/dashboard-state": "29.8.0",
"@splunk/dashboard-telemetry": "29.8.0",
"@splunk/dashboard-ui": "29.8.0",
"@splunk/dashboard-utils": "29.8.0",
"@splunk/dashboard-validation": "29.8.0",
"@splunk/datasource-utils": "29.8.0",
"@splunk/dashboard-definition/ajv": "^8.20.0",
"@splunk/dashboard-validation/ajv": "^8.20.0",
"@splunk/dashboard-types/ajv": "^8.20.0",
"table/ajv": "^8.20.0",
"@rushstack/node-core-library/ajv": "^8.20.0",
"diff": "^8.0.4",
"crypto-js": "^4.2.0",
"vitest/vite": "^7.3.1",
"vitest/vite": "^7.3.6",
"lodash": "^4.18.1",
"protocol-buffers-schema": "^3.6.1",
"fast-uri": "^3.1.2",
"@xmldom/xmldom": "^0.8.13",
"fast-uri": "^3.1.6",
"@xmldom/xmldom": "^0.9.12",
"jsonata": "^2.2.2"
},
"engines": {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions ui/src/components/CheckboxTree/CheckboxTree.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,16 @@ describe('CheckboxTree Component - Collapsed Groups', () => {

// Expand Group 1 and verify rows are displayed
const toggleGroup1Button = screen.getByRole('button', {
name: 'Toggle for Group 1',
name: 'Group 1',
expanded: false,
});
await user.click(toggleGroup1Button);
expect(screen.getByLabelText('Row under Group 1')).toBeInTheDocument();

// Expand Group 3 and verify rows are displayed
const toggleGroup3Button = screen.getByRole('button', {
name: 'Toggle for Group 3',
name: 'Group 3',
expanded: false,
});
await user.click(toggleGroup3Button);
expect(screen.getByLabelText('First row under Group 3')).toBeInTheDocument();
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading