Skip to content

Commit

Permalink
Merge pull request #18552 from dannon/update-h5web
Browse files Browse the repository at this point in the history
[24.1] Update h5web
  • Loading branch information
mvdbeek authored Aug 6, 2024
2 parents a74e519 + ab90c94 commit f8175ef
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/plugins/visualizations/h5web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
19 changes: 19 additions & 0 deletions lib/galaxy_test/selenium/test_visualizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
1 change: 1 addition & 0 deletions test/functional/tools/sample_datatypes_conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@
</datatype>
<datatype extension="directory" type="galaxy.datatypes.data:Directory">
</datatype>
<datatype extension="h5" type="galaxy.datatypes.binary:H5" mimetype="application/octet-stream" display_in_upload="true"/>
</registration>
</datatypes>

0 comments on commit f8175ef

Please sign in to comment.