diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-03-30 12:28:36 -0500 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-03-30 12:28:57 -0500 |
commit | f79687ea9763a7c7f5ade988ed76b0128de9098e (patch) | |
tree | 447eeff257bed88a5d4dee14922680aca9c44b14 /features | |
parent | 0591a7820beaa8e710e9239e7a455eba529797c6 (diff) | |
download | gitlab-ce-f79687ea9763a7c7f5ade988ed76b0128de9098e.tar.gz |
Clear .todo listener14547_todo-click
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/dashboard/todos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/dashboard/todos.rb b/features/steps/dashboard/todos.rb index 5c30d8e0c72..30b21b93ac7 100644 --- a/features/steps/dashboard/todos.rb +++ b/features/steps/dashboard/todos.rb @@ -89,7 +89,7 @@ class Spinach::Features::DashboardTodos < Spinach::FeatureSteps end step 'I click on the todo' do - execute_script("$('.todo:nth-child(1)').click()") + find('.todo:nth-child(1)').click end step 'I should be directed to the corresponding page' do |