app/components/solidus_admin/ui/toast/component.html.erb in solidus_admin-0.3.1 vs app/components/solidus_admin/ui/toast/component.html.erb in solidus_admin-0.3.2
- old
+ new
@@ -6,10 +6,10 @@
pointer-events-auto
<%= SCHEMES.fetch(@scheme.to_sym).join(' ') %>
"
data-controller="<%= stimulus_id %>"
data-<%= stimulus_id %>-animation-class="translate-y-full opacity-0"
- data-<%= stimulus_id %>-transition-value="500"
+ data-<%= stimulus_id %>-transition-value="<%= Rails.env.test? ? 1000 : 500 %>"
role="dialog"
aria-label="<%= t(".#{@scheme}_label") %>"
aria-live="polite"
>
<%= icon_tag(@icon, class: 'w-[1.125rem] h-[1.125rem] mr-2 fill-current') if @icon %>