mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Allow whitespace in TRS search term
This commit is contained in:
@@ -17,7 +17,7 @@ def parse_filters(search_term, filters):
|
||||
search_term_without_filters = None
|
||||
search_space = search_term.replace('"', "'")
|
||||
filter_keys = "|".join(list(filters.keys()))
|
||||
pattern = fr"({filter_keys}):([\w-]+|\'.*?\')"
|
||||
pattern = fr"({filter_keys}):([\s\w-]+|\'.*?\')"
|
||||
reserved = re.compile(pattern)
|
||||
while True:
|
||||
match = reserved.search(search_space)
|
||||
|
||||
@@ -68,7 +68,7 @@ class TrsImportTestCase(SeleniumIntegrationTestCase):
|
||||
|
||||
def test_import_by_organization_search_dockstore(self):
|
||||
self.trs_search()
|
||||
self.components.trs_search.search.wait_for_and_send_keys('organization:iwc-workflows')
|
||||
self.components.trs_search.search.wait_for_and_send_keys('organization: iwc-workflows')
|
||||
self.components.trs_search.search_result(workflow_name=TRS_NAME).wait_for_and_click()
|
||||
self.components.trs_search.import_version(version="v0.4").wait_for_and_click()
|
||||
self.sleep_for(self.wait_types.UX_RENDER)
|
||||
|
||||
Reference in New Issue
Block a user