Fix intermittent account note failure by removing disappearing content check (#34296)
This commit is contained in:
@@ -24,11 +24,6 @@ RSpec.describe 'Account notes', :inline_jobs, :js, :streaming do
|
|||||||
# The easiest way is to send ctrl+enter ourselves
|
# The easiest way is to send ctrl+enter ourselves
|
||||||
find_field(class: 'account__header__account-note__content').send_keys [:control, :enter]
|
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)
|
expect(page)
|
||||||
.to have_css('.account__header__account-note__content', text: note_text)
|
.to have_css('.account__header__account-note__content', text: note_text)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user