Skip to content

Commit

Permalink
[ACS-5994] e2e fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-web-ua committed Oct 18, 2023
1 parent db7c013 commit 78cae25
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion e2e/protractor/suites/list-views/tooltips.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ describe('File / folder tooltips', () => {
[file1TrashId, file2TrashId, file3TrashId, file4TrashId, file5TrashId, file6TrashId, file7TrashId, file8TrashId],
false
);
// await apis.user.nodes.

await page.clickTrashAndWait();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ export class NodesApi extends RepoApi {

async deleteNodeById(id: string, permanent: boolean = true): Promise<void> {
try {
await this.apiAuth();
await this.nodesApi.deleteNode(id, { permanent });
} catch (error) {
this.handleError(`${this.constructor.name} ${this.deleteNodeById.name}`, error);
Expand Down Expand Up @@ -175,7 +174,6 @@ export class NodesApi extends RepoApi {

async deleteNodesById(ids: string[], permanent: boolean = true): Promise<void> {
try {
await this.apiAuth();
await this.nodesApi.deleteNodes(ids, {permanent});
} catch (error) {
this.handleError(`${this.constructor.name} ${this.deleteNodesById.name}`, error);
Expand Down

0 comments on commit 78cae25

Please sign in to comment.