Unverified Commit 4d71d880 authored by mvdbeek's avatar mvdbeek
Browse files

Improve edam test robustness

No guarantee that the title won't change, and I think it has recently.
parent 96c26d10
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -379,6 +379,7 @@ edit_collection_attributes:

tool_panel:
  selectors:
    edam_link: 'a[href^="https://edamontology.github.io/edam-browser"]'
    tool_box: '[data-description="panel toolbox"]'
    tool_link: 'a[href$$="tool_runner?tool_id=${tool_id}"]'
    outer_tool_link: '.toolTitle a[href$$="tool_runner?tool_id=${tool_id}"]'
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ class TestEdamToolPanelViewsSeleniumIntegration(SeleniumIntegrationTestCase):
    def _assert_displaying_edam_operations(self):
        tool_panel = self.components.tool_panel
        tool_panel.toolbox.wait_for_visible()
        tool_panel.edam_link.wait_for_present()
        labels = tool_panel.panel_labels.all()
        assert len(labels) > 0
        label0 = labels[0]