Stack notifications everywhere
We had client-side notification stacking in the tray since launch, but now we want to stack notifications in the notifications page, in API responses and in email bundles.
This commit is contained in:
@@ -67,13 +67,13 @@ class SmokeTest < ApplicationSystemTestCase
|
||||
test "dismissing notifications" do
|
||||
sign_in_as(users(:david))
|
||||
|
||||
notif = notifications(:logo_card_david_mention_by_jz)
|
||||
notification = notifications(:logo_mentioned_david)
|
||||
|
||||
assert_selector "div##{dom_id(notif)}"
|
||||
assert_selector "div##{dom_id(notification)}"
|
||||
|
||||
within_window(open_new_window) { visit card_url(notif.card) }
|
||||
within_window(open_new_window) { visit card_url(notification.card) }
|
||||
|
||||
assert_no_selector "div##{dom_id(notif)}"
|
||||
assert_no_selector "div##{dom_id(notification)}"
|
||||
end
|
||||
|
||||
test "dragging card to a new column" do
|
||||
|
||||
Reference in New Issue
Block a user