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 18, 2024
1 parent d4f22e8 commit 0294c66
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 0294c66

Please sign in to comment.