Icu 9442 add session recording status to details sidebar (#284)
* refactor: 💡 make icon not required for metadata list items * refactor: 💡 update class name for SessionRecording Status badge * feat: 🎸 display SessionRecording Status on Details sidebar ✅ Closes: ICU-9442
This commit is contained in:
1 parent
2659163b37
commit
fe96668721
6 files changed
+38
-12
No files matched your search
@@ -42,4 +42,20 @@ module('Integration | Component | metadata-list/item', function (hooks) {
|
||||
assert.dom('li.metadata-list-item').hasClass('hds-foreground-action');
|
||||
assert.dom('li.metadata-list-item').hasText('Sample text 2');
|
||||
});
|
||||
|
||||
test('it renders no icon if @icon not provided', async function (assert) {
|
||||
assert.expect(2);
|
||||
await render(hbs`
|
||||
<MetadataList as |list|>
|
||||
<list.Item
|
||||
@color='action'
|
||||
>
|
||||
Sample text 3
|
||||
</list.Item>
|
||||
</MetadataList>
|
||||
`);
|
||||
|
||||
assert.dom('.flight-icon').isNotVisible();
|
||||
assert.dom('li.metadata-list-item').hasText('Sample text 3');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user