Icu 10209 use hds table in member list view (#1794)
* chore: 🤖 Retire rose form textarea ✅ Closes: ICU-9425 * refactor: 💡 Added the disabled feature requested by Dharini * refactor: 💡 Rose tables to HDS tables in Users * refactor: 💡 Removed implementation of rose tables in users * refactor: 💡 use hds table in groups list view * refactor: 💡 Removed the group list class Dharini mentioned * refactor: 💡 Resolved the conflicts in user list table and group * refactor: 💡 Use hds table in role list view * refactor: 💡 Use HDS tables for user accounts * refactor: 💡 Fixed the linting error * refactor: 💡 Use HDS tables in member list view * refactor: 💡 Use HDS tables in member list view --------- Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
This commit is contained in:
1 parent
b82d316e9b
commit
b81084fb8d
2 files changed
+61
-57
No files matched your search
@@ -69,7 +69,8 @@ module('Acceptance | groups | members', function (hooks) {
|
||||
assert.expect(2);
|
||||
await visit(urls.members);
|
||||
assert.strictEqual(findAll('tbody tr').length, membersCount);
|
||||
await click('tbody tr .rose-dropdown-button-danger');
|
||||
await click('.hds-dropdown-toggle-icon');
|
||||
await click('tbody tr .hds-dropdown-list-item button');
|
||||
assert.strictEqual(findAll('tbody tr').length, membersCount - 1);
|
||||
});
|
||||
|
||||
@@ -99,7 +100,8 @@ module('Acceptance | groups | members', function (hooks) {
|
||||
});
|
||||
await visit(urls.members);
|
||||
assert.strictEqual(findAll('tbody tr').length, membersCount);
|
||||
await click('tbody tr .rose-dropdown-button-danger');
|
||||
await click('.hds-dropdown-toggle-icon');
|
||||
await click('tbody tr .hds-dropdown-list-item button');
|
||||
assert.ok(find('[role="alert"]'));
|
||||
});
|
||||
|
||||
@@ -146,7 +148,8 @@ module('Acceptance | groups | members', function (hooks) {
|
||||
assert.expect(4);
|
||||
await visit(urls.members);
|
||||
assert.strictEqual(findAll('tbody tr').length, membersCount);
|
||||
await click('tbody tr .rose-dropdown-button-danger');
|
||||
await click('.hds-dropdown-toggle-icon');
|
||||
await click('tbody tr .hds-dropdown-list-item button');
|
||||
assert.strictEqual(findAll('tbody tr').length, membersCount - 1);
|
||||
await click('.rose-layout-page-actions a');
|
||||
assert.strictEqual(currentURL(), urls.addMembers);
|
||||
|
||||
Reference in new issue
Block a user