[ARVADOS] updated: 911c97b06e4578e7c74db814ae1587f23ef18604

git at public.curoverse.com git at public.curoverse.com
Fri Nov 7 13:50:56 EST 2014


Summary of changes:
 .../test/integration/pipeline_instances_test.rb       | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

       via  911c97b06e4578e7c74db814ae1587f23ef18604 (commit)
      from  7c76d9218ef91b14ede8a06fe9a96a5016361e17 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 911c97b06e4578e7c74db814ae1587f23ef18604
Author: radhika <radhika at curoverse.com>
Date:   Fri Nov 7 13:50:18 2014 -0500

    4024: a few more test cases for search filter in pipeline instances page.

diff --git a/apps/workbench/test/integration/pipeline_instances_test.rb b/apps/workbench/test/integration/pipeline_instances_test.rb
index fc24322..c74a167 100644
--- a/apps/workbench/test/integration/pipeline_instances_test.rb
+++ b/apps/workbench/test/integration/pipeline_instances_test.rb
@@ -366,13 +366,18 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
   end
 
   [
-    ['fuse', nil, 2, 20],                           # has  2 as of 11-07-2014
-    ['fuse', 'no such match', 0, 0],
-    ['fuse', 'FUSE project', 1, 1],                 # 1 with this name
-    ['user1_with_load', nil, 30, 100],              # has 37 as of 11-07-2014
-    ['user1_with_load', 'no such match', 0, 0],
-    ['user1_with_load', '000010pipelines', 10, 10], # owned_by the project zzzzz-j7d0g-000010pipelines
-    ['user1_with_load', 'pipeline_10', 2, 2],       # 2 with this name
+    ['fuse', nil, 2, 20],                                 # has 2 as of 11-07-2014
+    ['fuse', 'FUSE project', 1, 1],                       # 1 with this name
+    ['user1_with_load', nil, 30, 100],                    # has 37 as of 11-07-2014
+    ['user1_with_load', '000010pipelines', 10, 10],       # owned_by the project zzzzz-j7d0g-000010pipelines
+    ['user1_with_load', 'pipeline_10', 2, 2],             # 2 with this name
+    ['admin', nil, 40, 200],                              # admin can see all of them
+    ['admin', 'FUSE project', 1, 1],                      # 1 with this name and admin can see it
+    ['admin', 'pipeline_10', 2, 2],                       # 2 with this name and admin can see them
+    ['admin', 'containing at least two files', 2, 100],   # component description
+    ['active', 'containing at least two files', 2, 100],  # component description
+    ['active', nil, 10, 100],
+    ['active', 'no such match', 0, 0],
   ].each do |user, search_filter, expected_min, expected_max|
     test "scroll pipeline instances page for #{user} with search filter #{search_filter} and expect more than #{expected_min} and less than #{expected_max}" do
       visit page_with_token(user, "/pipeline_instances")

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list