Skip to content

Commit

Permalink
fix lint error for workflow advanced search selenium
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Sep 29, 2023
1 parent a7abaef commit 4c17c80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/galaxy_test/selenium/test_workflow_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,18 +195,18 @@ def test_index_advanced_search(self):
self.workflow_index_add_advanced_tag_filter(["mytag"])
self._assert_showing_n_workflows(1)
curr_value = self.workflow_index_get_current_filter()
assert curr_value == f"name:searchforthis tag:mytag", curr_value
assert curr_value == "name:searchforthis tag:mytag", curr_value

# clear filter
self.components.workflows.clear_filter.wait_for_and_click()
curr_value = self.workflow_index_get_current_filter()
assert curr_value == f"", curr_value
assert curr_value == "", curr_value

self.components.workflows.advanced_search_toggle.wait_for_and_click()
# search by 2 tags, one of which is not present
self.workflow_index_add_advanced_tag_filter(["mytag", "DNEtag"])
curr_value = self.workflow_index_get_current_filter()
assert curr_value == f"tag:mytag tag:DNEtag", curr_value
assert curr_value == "tag:mytag tag:DNEtag", curr_value
self._assert_showing_n_workflows(0)

@selenium_test
Expand Down

0 comments on commit 4c17c80

Please sign in to comment.