feat: 🎸 Add sorting to sessions started column (#3174)
* feat: 🎸 Add sorting to sessions started column * test: 💍 add missing a11y ignores for existing color issue ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-18520
This commit is contained in:
1 parent
df24ba6a15
commit
d6e8e58ca1
6 files changed
+190
-80
No files matched your search
@@ -148,5 +148,17 @@ module(
|
||||
|
||||
assert.strictEqual(session.status, STATUS_SESSION_CANCELING);
|
||||
});
|
||||
|
||||
test('onSort action sets expected values correctly', async function (assert) {
|
||||
this.stubCacheDaemonSearch();
|
||||
assert.notOk(controller.sortAttribute);
|
||||
assert.notOk(controller.sortDirection);
|
||||
|
||||
controller.onSort('created_time', 'desc');
|
||||
|
||||
assert.strictEqual(controller.page, 1);
|
||||
assert.strictEqual(controller.sortAttribute, 'created_time');
|
||||
assert.strictEqual(controller.sortDirection, 'desc');
|
||||
});
|
||||
},
|
||||
);
|
||||
Reference in new issue
Block a user