Skip to content

Commit

Permalink
Removed duplicated code from general test
Browse files Browse the repository at this point in the history
  • Loading branch information
katarzynakita committed Feb 9, 2024
1 parent da1f1cd commit dac5bff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions e2e/playwright/info-drawer/src/tests/general.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ test.describe('Info Drawer - General', () => {
nodesApi = await NodesApi.initialize(username, username);
trashcanApi = await TrashcanApi.initialize(username, username);
fileActionsApi = await FileActionsApi.initialize(username, username);

parentId = (await nodesApi.createFolder(parentFolder)).entry.id;
await nodesApi.createFile(file1, parentId);
await nodesApi.createFolder(folder1, parentId);
} catch (error) {
console.error(`beforeAll failed: ${error}`);
}
Expand Down

0 comments on commit dac5bff

Please sign in to comment.