Sha256: 4147021e2240a3fbfd4e39acf4a34e9081118f3cd9a9a533c57a82edd672ceca
Contents?: true
Size: 675 Bytes
Versions: 103
Compression:
Stored size: 675 Bytes
Contents
require 'rails_helper' describe 'Alertas' do before do driven_by ENV['DRIVER']&.to_sym || :selenium_chrome_headless_iphone end it 'los toasts desaparecen' do visit '/rails/view_components/alert_component/default' expect(page).to have_text('Los toasts van a desaparecer').exactly(5) # Desaparecieron expect(page).to have_no_text('Los toasts van a desaparecer', wait: 10) end it 'los dismissibles se cierran' do visit '/rails/view_components/alert_component/dismisible' expect(page).to have_text('este dismisible se va a cerrar') find('.btn-close').click expect(page).to have_no_text('este dismisible se va a cerrar') end end
Version data entries
103 entries across 103 versions & 1 rubygems