allow exact query search (surrounded by quotes) in grids

Users can bypass the client filtering by surrounding their raw search query by quotes and sending the unprocessed filter to the backend.
This commit is contained in:
Ahmed Awan
2024-03-18 14:44:02 -05:00
parent 8df4a5f28e
commit 7eb3cc9059
3 changed files with 36 additions and 8 deletions
+2 -1
View File
@@ -49,7 +49,8 @@ class TestTrsImport(SeleniumIntegrationTestCase):
return cls.temp_config_dir("trs")
def assert_workflow_imported(self, name):
self.workflow_index_search_for(name)
# surround name with quotes to consider case where name contains colons
self.workflow_index_search_for(f'"{name}"')
assert len(self.workflow_card_elements()) == 1, f"workflow ${name} not imported"
def test_import_workflow_by_url_dockstore(self):