summaryrefslogtreecommitdiff
path: root/features/steps/shared/note.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-03-11 14:22:49 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-03-11 14:22:49 +0100
commit388f69b0de6450ec48a8b88df48bbe2d465593ea (patch)
tree605a78c0546f20a86e63afe255a82c86f0148c7f /features/steps/shared/note.rb
parent9a271d80128451eecc9a301d5e9924c09740be07 (diff)
parent29ac9f64ea6d0a9e5a7615a9597c668dd129f5ae (diff)
downloadgitlab-ce-388f69b0de6450ec48a8b88df48bbe2d465593ea.tar.gz
Merge remote-tracking branch 'origin/master' into gitlab-ci-yaml-updates
# Conflicts: # spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
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 444d6726f99..fb0462d6e04 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