summaryrefslogtreecommitdiff
path: root/features/steps/shared/note.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-04 13:52:29 +0000
committerPhil Hughes <me@iamphill.com>2016-03-04 13:52:29 +0000
commitf95f242cfad4fb0032caecea47964d78c1f652bc (patch)
tree64eda730178fdfdd65f32dfbef76d1dda059107b /features/steps/shared/note.rb
parentb1264d86fa0772860b284893a3bf129bec35cb0d (diff)
downloadgitlab-ce-f95f242cfad4fb0032caecea47964d78c1f652bc.tar.gz
Updated tests
Diffstat (limited to 'features/steps/shared/note.rb')
-rw-r--r--features/steps/shared/note.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb
index eb6df61b8e6..6870d364ac0 100644
--- a/features/steps/shared/note.rb
+++ b/features/steps/shared/note.rb
@@ -17,7 +17,7 @@ module SharedNote
step 'I leave a comment like "XML attached"' do
page.within(".js-main-target-form") do
fill_in "note[note]", with: "XML attached"
- click_button "Add Comment"
+ click_button "Comment"
end
end
@@ -30,7 +30,7 @@ module SharedNote
step 'I submit the comment' do
page.within(".js-main-target-form") do
- click_button "Add Comment"
+ click_button "Comment"
end
end
@@ -115,7 +115,7 @@ module SharedNote
step 'I leave a comment with a header containing "Comment with a header"' do
page.within(".js-main-target-form") do
fill_in "note[note]", with: "# Comment with a header"
- click_button "Add Comment"
+ click_button "Comment"
sleep 0.05
end
end