Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/file/shared/commit_message.rb')
-rw-r--r--qa/qa/page/file/shared/commit_message.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/page/file/shared/commit_message.rb b/qa/qa/page/file/shared/commit_message.rb
index 906f5f3581a..4c25e8a480b 100644
--- a/qa/qa/page/file/shared/commit_message.rb
+++ b/qa/qa/page/file/shared/commit_message.rb
@@ -11,7 +11,7 @@ module QA
super
base.view 'app/views/shared/_commit_message_container.html.haml' do
- element :commit_message, "text_area_tag 'commit_message'" # rubocop:disable QA/ElementWithPattern
+ element :commit_message_field
end
base.view 'app/views/projects/commits/_commit.html.haml' do
@@ -20,7 +20,7 @@ module QA
end
def add_commit_message(message)
- fill_in 'commit_message', with: message
+ fill_element(:commit_message_field, message)
end
def has_commit_message?(text)