Extract frontend_translations helper to support module (#34400)

This commit is contained in:
Matt Jankowski 2025-04-10 09:51:17 -04:00 committed by GitHub
parent 4c2f64907b
commit de19af3650
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 19 additions and 32 deletions

View file

@ -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