Extract frontend_translations
helper to support module (#34400)
This commit is contained in:
parent
4c2f64907b
commit
de19af3650
5 changed files with 19 additions and 32 deletions
|
@ -18,7 +18,7 @@ RSpec.describe 'Account notes', :inline_jobs, :js, :streaming do
|
|||
visit_profile(other_account)
|
||||
|
||||
note_text = 'This is a personal note'
|
||||
fill_in 'Click to add note', with: note_text
|
||||
fill_in frontend_translations('account_note.placeholder'), with: note_text
|
||||
|
||||
# This is a bit awkward since there is no button to save the change
|
||||
# The easiest way is to send ctrl+enter ourselves
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue