refactor: 💡 remove rose::notification in favor of hds (#2557)

* refactor: 💡 remove rose::notification in favor of hds

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15634
This commit is contained in:
Lisbet Alvarez authored and GitHub committed 2024-11-19 15:18:18 -08:00
1 parent 66e9e971a1
commit 543cf4697f
84 files changed
+398 -591

No files matched your search

@@ -88,7 +88,9 @@ module('Acceptance | users | delete', function (hooks) {
await click(DELETE_ACTION_SELECTOR);
await click('.rose-dialog .rose-button-primary');
assert.dom('.rose-notification-body').hasText('Deleted successfully.');
assert
.dom('[data-test-toast-notification] .hds-alert__description')
.hasText('Deleted successfully.');
assert.strictEqual(this.server.db.users.length, usersCount - 1);
assert.strictEqual(currentURL(), urls.users);
});
@@ -125,6 +127,8 @@ module('Acceptance | users | delete', function (hooks) {
await click(`[href="${urls.user}"]`);
await click(MANAGE_DROPDOWN_SELECTOR);
await click(DELETE_ACTION_SELECTOR);
assert.dom('.rose-notification-body').hasText('Oops.');
assert
.dom('[data-test-toast-notification] .hds-alert__description')
.hasText('Oops.');
});
});