4062: fix greedy infinite scrolling in tabs displaying more than one kind (Jobs and...
authorradhika <radhika@curoverse.com>
Thu, 16 Oct 2014 14:45:24 +0000 (10:45 -0400)
committerradhika <radhika@curoverse.com>
Thu, 16 Oct 2014 14:45:24 +0000 (10:45 -0400)
commit61f351e9e3542308fe0a41fa7f41e4de85130c24
tree18b44d8ecc622c23070128d96aea6f20a69e8cf7
parentff9d78bbeb09ca917f0814c6055c47db5a4e7e4a
4062: fix greedy infinite scrolling in tabs displaying more than one kind (Jobs and pipelines tab and Other objects tab).
Not only did scrolling never stopped, it never reloaded the next page and reloaded the same first page again and again.
Added test fixtures with many objects to test scrolling.
Added tests to use vertical scrollbar. The test itself is not able to test infinite scrolling by reloading the next page.
This may be because in integration testing new content is displayed only due to a click action.
apps/workbench/app/controllers/projects_controller.rb
apps/workbench/test/integration/projects_test.rb
apps/workbench/test/test_helper.rb
services/api/test/fixtures/api_client_authorizations.yml
services/api/test/fixtures/collections.yml
services/api/test/fixtures/groups.yml
services/api/test/fixtures/jobs.yml
services/api/test/fixtures/links.yml
services/api/test/fixtures/pipeline_instances.yml
services/api/test/fixtures/users.yml