summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorDennis Tang <dennis@dennistang.net>2018-04-19 14:43:20 +0000
committerRémy Coutable <remy@rymai.me>2018-04-19 14:43:20 +0000
commit49b85262c5a1944d7fdb50e43900a4adb13aba6c (patch)
tree9a24b282724d1fcfd9eec599db891a0cb2c6e517 /spec/features
parent79905b5a0507bc75d6a960d9d85cce281e9041b3 (diff)
downloadgitlab-ce-49b85262c5a1944d7fdb50e43900a4adb13aba6c.tar.gz
Resolve "Improve tooltips of collapsed sidebars"
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/issues/todo_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/issues/todo_spec.rb b/spec/features/issues/todo_spec.rb
index 8e6493bbd93..4a44ec302fc 100644
--- a/spec/features/issues/todo_spec.rb
+++ b/spec/features/issues/todo_spec.rb
@@ -14,7 +14,7 @@ feature 'Manually create a todo item from issue', :js do
it 'creates todo when clicking button' do
page.within '.issuable-sidebar' do
click_button 'Add todo'
- expect(page).to have_content 'Mark done'
+ expect(page).to have_content 'Mark todo as done'
end
page.within '.header-content .todos-count' do
@@ -31,7 +31,7 @@ feature 'Manually create a todo item from issue', :js do
it 'marks a todo as done' do
page.within '.issuable-sidebar' do
click_button 'Add todo'
- click_button 'Mark done'
+ click_button 'Mark todo as done'
end
expect(page).to have_selector('.todos-count', visible: false)