summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-07-25 16:10:48 +0200
committerTim Zallmann <tzallmann@gitlab.com>2017-07-27 15:03:04 +0200
commit49f2c6c11c0d3428afcf67e2f6f10748af5641a8 (patch)
treef8ae95a7afd4be847ed7f02325e407343d869d9b
parent79793dd16294a5f75b790d53c6f5aae5a33774f4 (diff)
downloadgitlab-ce-49f2c6c11c0d3428afcf67e2f6f10748af5641a8.tar.gz
Revert "Due to more async loading the tests could fail, trying to fix it with wait_for_requests"
This reverts commit 0c33f384bb2fd2bd97efa4d3fec2888393683fb1.
-rw-r--r--spec/features/projects/user_browses_files_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/features/projects/user_browses_files_spec.rb b/spec/features/projects/user_browses_files_spec.rb
index d2a57981379..263a3a29a66 100644
--- a/spec/features/projects/user_browses_files_spec.rb
+++ b/spec/features/projects/user_browses_files_spec.rb
@@ -87,8 +87,6 @@ describe 'User browses files' do
visit(project_tree_path(project, "'test'"))
- wait_for_requests
-
expect(page).to have_css('.tree-commit-link', visible: true)
expect(page).not_to have_content('Loading commit data...')
end
@@ -102,8 +100,6 @@ describe 'User browses files' do
visit(project_tree_path(project, 'fix/.testdir'))
- wait_for_requests
-
expect(page).to have_css('.tree-commit-link', visible: true)
expect(page).not_to have_content('Loading commit data...')
end