Commit 49f2c6c1 authored by Tim Zallmann's avatar Tim Zallmann

Revert "Due to more async loading the tests could fail, trying to fix it with wait_for_requests"

This reverts commit 0c33f384bb2fd2bd97efa4d3fec2888393683fb1.
parent 79793dd1
...@@ -87,8 +87,6 @@ describe 'User browses files' do ...@@ -87,8 +87,6 @@ describe 'User browses files' do
visit(project_tree_path(project, "'test'")) visit(project_tree_path(project, "'test'"))
wait_for_requests
expect(page).to have_css('.tree-commit-link', visible: true) expect(page).to have_css('.tree-commit-link', visible: true)
expect(page).not_to have_content('Loading commit data...') expect(page).not_to have_content('Loading commit data...')
end end
...@@ -102,8 +100,6 @@ describe 'User browses files' do ...@@ -102,8 +100,6 @@ describe 'User browses files' do
visit(project_tree_path(project, 'fix/.testdir')) visit(project_tree_path(project, 'fix/.testdir'))
wait_for_requests
expect(page).to have_css('.tree-commit-link', visible: true) expect(page).to have_css('.tree-commit-link', visible: true)
expect(page).not_to have_content('Loading commit data...') expect(page).not_to have_content('Loading commit data...')
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment