Skip to content

Commit

Permalink
Add basic h5web viz test
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Jul 18, 2024
1 parent b4963d4 commit cdcb5bc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 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,21 @@ 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"))
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")

0 comments on commit cdcb5bc

Please sign in to comment.