mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
committed by
Eugenio Romano
parent
53d96679ea
commit
e39a2b149b
@@ -111,10 +111,10 @@ describe('Upload component', () => {
|
||||
});
|
||||
|
||||
afterEach(async (done) => {
|
||||
let nodersPromise = await contentServicesPage.getContentList().getAllNodeIdInList();
|
||||
let nodesPromise = await contentServicesPage.getContentList().getAllNodeIdInList();
|
||||
|
||||
nodersPromise.forEach(async (currentNodePormise) => {
|
||||
await currentNodePormise.then(async (currentNode) => {
|
||||
nodesPromise.forEach(async (currentNodePromise) => {
|
||||
await currentNodePromise.then(async (currentNode) => {
|
||||
if (currentNode && currentNode !== 'Node id') {
|
||||
await uploadActions.deleteFilesOrFolder(this.alfrescoJsApi, currentNode);
|
||||
}
|
||||
|
Reference in New Issue
Block a user