diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-03-16 11:29:10 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-03-16 11:29:10 +0000 |
commit | 774e0e3bfe2d35e8b7eb704ab856549559965dfe (patch) | |
tree | 71fcb583132741efaa3db2055d9962c2d175d338 /features | |
parent | 9ce549b22ae453acf87b883afe8943123d0c48fe (diff) | |
parent | 5f9ace8eb1d71b35c92156177465b066ebbc4a3e (diff) | |
download | gitlab-ce-774e0e3bfe2d35e8b7eb704ab856549559965dfe.tar.gz |
Merge branch '27114-add-undo-mark-all-as-done-to-todos' into 'master'
Add 'Undo mark all as done' to Todos
Closes #27114
See merge request !9890
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/dashboard/todos.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/features/steps/dashboard/todos.rb b/features/steps/dashboard/todos.rb index eb906a55a83..9f01dff776f 100644 --- a/features/steps/dashboard/todos.rb +++ b/features/steps/dashboard/todos.rb @@ -159,7 +159,11 @@ class Spinach::Features::DashboardTodos < Spinach::FeatureSteps end def should_not_see_todo(title) - expect(page).not_to have_content title + expect(page).not_to have_visible_content title + end + + def have_visible_content(text) + have_css('*', text: text, visible: true) end def john_doe |