mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
fix tests
This commit is contained in:
@@ -281,7 +281,7 @@ describe('Create folder', () => {
|
|||||||
.then(() => menu))
|
.then(() => menu))
|
||||||
.then(menu => {
|
.then(menu => {
|
||||||
const tooltip = menu.getItemTooltip('Create folder');
|
const tooltip = menu.getItemTooltip('Create folder');
|
||||||
expect(tooltip).toContain(`Folders cannot be created whilst viewing the current items.`);
|
expect(tooltip).toContain(`Folders cannot be created whilst viewing the current items`);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -65,7 +65,7 @@ describe('Empty list views', () => {
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
expect(dataTable.isEmptyList()).toBe(true, 'list is not empty');
|
expect(dataTable.isEmptyList()).toBe(true, 'list is not empty');
|
||||||
expect(dataTable.getEmptyStateTitle()).toContain(`You aren't a member of any File Libraries yet`);
|
expect(dataTable.getEmptyStateTitle()).toContain(`You aren't a member of any File Libraries yet`);
|
||||||
expect(dataTable.getEmptyStateSubtitle()).toContain('Join sites to upload, view, and share files.');
|
expect(dataTable.getEmptyStateSubtitle()).toContain('Join libraries to upload, view, and share files.');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user