summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorMartin Wortschack <mwortschack@gitlab.com>2019-04-04 17:05:25 +0000
committerNick Thomas <nick@gitlab.com>2019-04-04 17:05:25 +0000
commit2e756052720a68302231eba83339235b8983b6de (patch)
treea98b75ff2b47ceecc3cb488bcb786e57d4b7bbeb /qa
parentd0b9ab1910024c13ec5df55632ffafa1d18add39 (diff)
downloadgitlab-ce-2e756052720a68302231eba83339235b8983b6de.tar.gz
Externalize strings in helpers
- Update qa selector - Update PO file
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/file/show.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/file/show.rb b/qa/qa/page/file/show.rb
index abd8ebb089f..89806430edb 100644
--- a/qa/qa/page/file/show.rb
+++ b/qa/qa/page/file/show.rb
@@ -6,7 +6,7 @@ module QA
view 'app/helpers/blob_helper.rb' do
element :edit_button, "_('Edit')" # rubocop:disable QA/ElementWithPattern
- element :delete_button, /label:\s+"Delete"/ # rubocop:disable QA/ElementWithPattern
+ element :delete_button, '_("Delete")' # rubocop:disable QA/ElementWithPattern
end
view 'app/views/projects/blob/_remove.html.haml' do