ee/spec/features/admin/admin_sends_notification_spec.rb:21 Flaky
Job #385172558 failed for de2c9df1:
Failures:
2405 1) Admin sends notification sends notification
2406 Got 0 failures and 2 other errors:
2407 1.1) Failure/Error: expect(find(".flash-notice")).to have_content("Email sent")
2408 Capybara::ElementNotFound:
2409 Unable to find css ".flash-notice"
2410 # ./vendor/ruby/2.6.0/gems/capybara-3.22.0/lib/capybara/node/finders.rb:296:in `block in synced_resolve'
2411 # ./vendor/ruby/2.6.0/gems/capybara-3.22.0/lib/capybara/node/base.rb:83:in `synchronize'
2412 # ./vendor/ruby/2.6.0/gems/capybara-3.22.0/lib/capybara/node/finders.rb:287:in `synced_resolve'
2413 # ./vendor/ruby/2.6.0/gems/capybara-3.22.0/lib/capybara/node/finders.rb:52:in `find'
2414 # ./vendor/ruby/2.6.0/gems/capybara-3.22.0/lib/capybara/session.rb:751:in `block (2 levels) in <class:Session>'
2415 # ./vendor/ruby/2.6.0/gems/capybara-3.22.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
2416 # ./ee/spec/features/admin/admin_sends_notification_spec.rb:50:in `block (2 levels) in <top (required)>'
Is it not waiting for the flash to appear ?