Redirect on success for standalone compose (#35763)

This commit is contained in:
Echo 2025-08-13 15:52:29 +02:00 committed by GitHub
parent 613cbf720c
commit 7cf53dbf63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 6 deletions

View file

@ -23,7 +23,7 @@ RSpec.describe 'Share page', :js, :streaming do
fill_in_form
expect(page)
.to have_css('.notification-bar-message', text: frontend_translations('compose.published.body'))
.to have_current_path(%r{/@bob/[0-9]+})
end
def fill_in_form