Fix intermittent account note failure by removing disappearing content check ()

This commit is contained in:
Matt Jankowski 2025-03-28 05:24:36 -04:00 committed by GitHub
parent c2defe0e4c
commit dfa4a97dd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,11 +24,6 @@ RSpec.describe 'Account notes', :inline_jobs, :js, :streaming do
# The easiest way is to send ctrl+enter ourselves
find_field(class: 'account__header__account-note__content').send_keys [:control, :enter]
within('.account__header__account-note .inline-alert') do
expect(page)
.to have_content('SAVED')
end
expect(page)
.to have_css('.account__header__account-note__content', text: note_text)