diff --git a/config/plugins/visualizations/h5web/package.json b/config/plugins/visualizations/h5web/package.json index 928466adde0f..87715cdaa687 100644 --- a/config/plugins/visualizations/h5web/package.json +++ b/config/plugins/visualizations/h5web/package.json @@ -8,16 +8,17 @@ ], "license": "AFL-3.0", "dependencies": { - "@h5web/app": "^8.0.0", + "@h5web/app": "^12.0.1", "buffer": "^6.0.3", "normalize.css": "^8.0.1", - "react": "18.2.0", - "react-dom": "18.2.0" + "react": "18.3.1", + "react-dom": "18.3.1" }, "scripts": { "build": "parcel build src/script.js --dist-dir static" }, "devDependencies": { - "parcel": "^2.12.0" + "parcel": "^2.12.0", + "process": "^0.11.10" } } diff --git a/lib/galaxy_test/selenium/test_visualizations.py b/lib/galaxy_test/selenium/test_visualizations.py index f73d27de539a..840e30967c9a 100644 --- a/lib/galaxy_test/selenium/test_visualizations.py +++ b/lib/galaxy_test/selenium/test_visualizations.py @@ -47,3 +47,22 @@ def test_charts_nvd3_bar(self): with self.visualization_panel(): self.wait_for_selector("g.nvd3") self.screenshot("visualization_plugin_charts_nvd3_bar_landing") + + @managed_history + @selenium_test + @skip_without_visualization_plugin("h5web") + def test_charts_h5web(self): + hid = 1 + self.perform_upload(self.get_filename("chopper.h5")) + self.history_panel_wait_for_hid_ok(hid) + dataset_component = self.history_panel_click_item_title(hid, wait=True) + dataset_component.visualize_button.wait_for_and_click() + + self.components.visualization.plugin_item(id="h5web").wait_for_visible() + self.screenshot("visualization_plugins_h5") + self.components.visualization.plugin_item(id="h5web").wait_for_and_click() + + with self.visualization_panel(): + # Look for the h5web-explorer-tree identifier to verify it loads. + self.wait_for_selector("#h5web-explorer-tree") + self.screenshot("visualization_plugin_charts_h5web_landing") diff --git a/test/functional/tools/sample_datatypes_conf.xml b/test/functional/tools/sample_datatypes_conf.xml index 802c286be68f..e61be45f2e3a 100644 --- a/test/functional/tools/sample_datatypes_conf.xml +++ b/test/functional/tools/sample_datatypes_conf.xml @@ -59,5 +59,6 @@ +