mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-4894] Json editor dialog (#5082)
* move download-zip to its own folder * json dialog * update docs * update test * disable e2e test * json widget for the Form * remove deprecated test * fix tests, update display text name
This commit is contained in:
@@ -190,7 +190,7 @@ describe('ShareDataTableAdapter', () => {
|
||||
|
||||
const col = <DataColumn> {
|
||||
key: 'createdAt',
|
||||
type: 'string'
|
||||
type: 'text'
|
||||
};
|
||||
|
||||
const row = new ShareDataRow(file, contentService, null);
|
||||
@@ -265,7 +265,7 @@ describe('ShareDataTableAdapter', () => {
|
||||
const adapter = new ShareDataTableAdapter(thumbnailService, contentService, null);
|
||||
|
||||
const row = new ShareDataRow(new SmartFolderNode(), contentService, null);
|
||||
const col = <DataColumn> { type: 'folder', key: '$thumbnail' };
|
||||
const col = <DataColumn> { type: 'text', key: '$thumbnail' };
|
||||
|
||||
const value = adapter.getValue(row, col);
|
||||
expect(value).toContain(`assets/images/ft_ic_smart_folder`);
|
||||
@@ -278,7 +278,7 @@ describe('ShareDataTableAdapter', () => {
|
||||
const adapter = new ShareDataTableAdapter(thumbnailService, contentService, null);
|
||||
|
||||
const row = new ShareDataRow(new LinkFolderNode(), contentService, null);
|
||||
const col = <DataColumn> { type: 'folder', key: '$thumbnail' };
|
||||
const col = <DataColumn> { type: 'text', key: '$thumbnail' };
|
||||
|
||||
const value = adapter.getValue(row, col);
|
||||
expect(value).toContain(`assets/images/ft_ic_folder_shortcut_link`);
|
||||
@@ -291,7 +291,7 @@ describe('ShareDataTableAdapter', () => {
|
||||
const adapter = new ShareDataTableAdapter(thumbnailService, contentService, null);
|
||||
|
||||
const row = new ShareDataRow(new RuleFolderNode(), contentService, null);
|
||||
const col = <DataColumn> { type: 'folder', key: '$thumbnail' };
|
||||
const col = <DataColumn> { type: 'text', key: '$thumbnail' };
|
||||
|
||||
const value = adapter.getValue(row, col);
|
||||
expect(value).toContain(`assets/images/ft_ic_folder_rule`);
|
||||
|
Reference in New Issue
Block a user