[ARVADOS] updated: c9e19eb6c3c6889b55c3b63424b36f1139c9abf0

git at public.curoverse.com git at public.curoverse.com
Sun Feb 8 21:34:57 EST 2015


Summary of changes:
 .../test/integration/pipeline_instances_test.rb    | 22 +++++-----------------
 1 file changed, 5 insertions(+), 17 deletions(-)

       via  c9e19eb6c3c6889b55c3b63424b36f1139c9abf0 (commit)
      from  cb79358321eff7a49dd4a3fb6e0ea448ead92597 (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 c9e19eb6c3c6889b55c3b63424b36f1139c9abf0
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Sun Feb 8 21:28:57 2015 -0500

    5110: clean up pipeline instances integration tests a bit. and remove a few of the tests in
    "scroll pipeline instances page for with search filter" that are neither searching nor scrolling.

diff --git a/apps/workbench/test/integration/pipeline_instances_test.rb b/apps/workbench/test/integration/pipeline_instances_test.rb
index ebdb28b..d579961 100644
--- a/apps/workbench/test/integration/pipeline_instances_test.rb
+++ b/apps/workbench/test/integration/pipeline_instances_test.rb
@@ -6,7 +6,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
   end
 
   test 'Create and run a pipeline' do
-    visit page_with_token('active_trustedclient')
+    visit page_with_token('active')
 
     visit '/pipeline_templates'
     within('tr', text: 'Two Part Pipeline Template') do
@@ -111,7 +111,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
 
   # Create a pipeline instance from within a project and run
   test 'Create pipeline inside a project and run' do
-    visit page_with_token('active_trustedclient')
+    visit page_with_token('active')
 
     # Add this collection to the project using collections menu from top nav
     visit '/projects'
@@ -138,9 +138,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
   end
 
   test 'view pipeline with job and see graph' do
-    visit page_with_token('active_trustedclient')
-
-    visit '/pipeline_instances'
+    visit page_with_token('active_trustedclient', '/pipeline_instances')
     assert page.has_text? 'pipeline_with_job'
 
     find('a', text: 'pipeline_with_job').click
@@ -152,9 +150,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
   end
 
   test 'pipeline description' do
-    visit page_with_token('active_trustedclient')
-
-    visit '/pipeline_instances'
+    visit page_with_token('active_trustedclient', '/pipeline_instances')
     assert page.has_text? 'pipeline_with_job'
 
     find('a', text: 'pipeline_with_job').click
@@ -446,16 +442,8 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
 
   [
     ['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', 'pipeline_10', 2, 2],       # 2 with this name
-    ['user1_with_load', '000010pipelines', 10, 10], # owned_by the project zzzzz-j7d0g-000010pipelines
     ['user1_with_load', '000025pipelines', 25, 25], # owned_by the project zzzzz-j7d0g-000025pipelines, two pages
-    ['admin', nil, 40, 200],
-    ['admin', 'FUSE project', 1, 1],
-    ['admin', 'pipeline_10', 2, 2],
-    ['active', 'containing at least two', 2, 100],
-    ['active', nil, 10, 100],
+    ['admin', 'pipeline_20', 1, 1],
     ['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}

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list