mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5074] Scrollable card-view-textitem when value too long for display (#5480)
* ADF-5074 Scrollable non-multiline and full display for multiline * ADF-5074 Refactor template * ADF-5074 Scrollbar displayed only on overflow * ADF-5074 adf-textitem-ellipsis is now replaced by adf-textitem-scroll * ADF-5074 Scrollable non-multiline and full display for multiline * ADF-5074 Refactor template * ADF-5074 Scrollbar displayed only on overflow * ADF-5074 adf-textitem-ellipsis is now replaced by adf-textitem-scroll
This commit is contained in:
@@ -301,7 +301,7 @@ describe('TaskHeaderComponent', () => {
|
||||
const clickableForm = fixture.debugElement.query(By.css('[data-automation-id="header-formName"] .adf-textitem-clickable-value'));
|
||||
expect(clickableForm).toBeNull();
|
||||
|
||||
const readOnlyForm = fixture.debugElement.query(By.css('[data-automation-id="header-formName"] .adf-textitem-ellipsis'));
|
||||
const readOnlyForm = fixture.debugElement.query(By.css('[data-automation-id="header-formName"] .adf-textitem-scroll'));
|
||||
expect(readOnlyForm.nativeElement.innerText).toBe('test form');
|
||||
});
|
||||
}));
|
||||
|
Reference in New Issue
Block a user