summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-08-12 11:44:43 -0600
committerAlfredo Sumaran <alfredo@gitlab.com>2016-08-13 00:57:40 -0500
commit1392cad8956c490b5ba6106678ab16d790662148 (patch)
tree48d43418dee36b8c244794b9a6bb94f5599c7488 /features
parent5d8ad797503c76ab9818584cf3b2e945ff8cfd68 (diff)
downloadgitlab-ce-1392cad8956c490b5ba6106678ab16d790662148.tar.gz
Remove sleeping and replace escaped text.
Diffstat (limited to 'features')
-rw-r--r--features/steps/dashboard/event_filters.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/features/steps/dashboard/event_filters.rb b/features/steps/dashboard/event_filters.rb
index 3ff260c0027..ca3cd0ecc4e 100644
--- a/features/steps/dashboard/event_filters.rb
+++ b/features/steps/dashboard/event_filters.rb
@@ -73,20 +73,20 @@ class Spinach::Features::EventFilters < Spinach::FeatureSteps
end
When 'I click "push" event filter' do
- sleep 1
+ wait_for_ajax
click_link("Push events")
- sleep 2
+ wait_for_ajax
end
When 'I click "team" event filter' do
- sleep 1
+ wait_for_ajax
click_link("Team")
- sleep 2
+ wait_for_ajax
end
When 'I click "merge" event filter' do
- sleep 1
+ wait_for_ajax
click_link("Merge events")
- sleep 2
+ wait_for_ajax
end
end