mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-5994] Remove redundant deleteNodes method from e2e (#3587)
* [ACS-5994] remove redundant deleteNodes method [ci:force] * [link-adf:dev-mmaliarchuk/ACS-5994-fix-jsApi-deleteNodes][affected:*][ci:force] * rebase
This commit is contained in:
committed by
GitHub
parent
ff57112d99
commit
3f182a5a68
@@ -126,7 +126,7 @@ describe('Viewer actions', () => {
|
||||
afterAll(async () => {
|
||||
try {
|
||||
await userActions.login(username, username);
|
||||
await userActions.deleteNodes([parentId, destinationId]);
|
||||
await apis.user.nodes.deleteNodesById([parentId, destinationId]);
|
||||
await userActions.emptyTrashcan();
|
||||
} catch {}
|
||||
});
|
||||
@@ -228,7 +228,7 @@ describe('Viewer actions', () => {
|
||||
afterAll(async () => {
|
||||
try {
|
||||
await userActions.login(username, username);
|
||||
await userActions.deleteNodes([parentId, destinationId]);
|
||||
await apis.user.nodes.deleteNodesById([parentId, destinationId]);
|
||||
await userActions.emptyTrashcan();
|
||||
} catch {}
|
||||
});
|
||||
@@ -329,7 +329,7 @@ describe('Viewer actions', () => {
|
||||
afterAll(async () => {
|
||||
try {
|
||||
await userActions.login(username, username);
|
||||
await userActions.deleteNodes([parentId, destinationId]);
|
||||
await apis.user.nodes.deleteNodesById([parentId, destinationId]);
|
||||
await userActions.emptyTrashcan();
|
||||
} catch {}
|
||||
});
|
||||
@@ -402,7 +402,7 @@ describe('Viewer actions', () => {
|
||||
afterAll(async () => {
|
||||
try {
|
||||
await userActions.login(username, username);
|
||||
await userActions.deleteNodes([parentId, destinationId]);
|
||||
await apis.user.nodes.deleteNodesById([parentId, destinationId]);
|
||||
await userActions.emptyTrashcan();
|
||||
} catch {}
|
||||
});
|
||||
|
Reference in New Issue
Block a user