From 2e756052720a68302231eba83339235b8983b6de Mon Sep 17 00:00:00 2001 From: Martin Wortschack Date: Thu, 4 Apr 2019 17:05:25 +0000 Subject: Externalize strings in helpers - Update qa selector - Update PO file --- qa/qa/page/file/show.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qa') 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 -- cgit v1.2.1