Skip to content

Commit

Permalink
Dismiss toast component later in test env
Browse files Browse the repository at this point in the history
We need more time to make checks of flash notices
in admin tests.
  • Loading branch information
tvdeyen committed Oct 29, 2024
1 parent cc41bef commit 0a9b182
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"
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"
Expand Down

0 comments on commit 0a9b182

Please sign in to comment.