X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7d6bf71834622c22fd65faecbff29ba8a333c636..99ad159b229c312ef6625e6ef042c33d0db524b9:/apps/workbench/test/integration/projects_test.rb diff --git a/apps/workbench/test/integration/projects_test.rb b/apps/workbench/test/integration/projects_test.rb index cccfd9983a..a6e8ec4101 100644 --- a/apps/workbench/test/integration/projects_test.rb +++ b/apps/workbench/test/integration/projects_test.rb @@ -549,7 +549,7 @@ class ProjectsTest < ActionDispatch::IntegrationTest [ ['project with 10 pipelines', 10, 0], - ['project with 200 jobs and 10 pipelines', 2, 200], + ['project with 2 pipelines and 200 jobs', 2, 200], ['project with 25 pipelines', 25, 0], ].each do |project_name, num_pipelines, num_jobs| test "scroll pipeline instances tab for #{project_name} with #{num_pipelines} pipelines and #{num_jobs} jobs" do @@ -563,7 +563,7 @@ class ProjectsTest < ActionDispatch::IntegrationTest find(".dropdown-menu a", text: project_name).click my_pipelines = [] - (1..num_pipelines).each do |i| + (0..num_pipelines-1).each do |i| name = "pipeline_#{i}" my_pipelines << name end