Skip to content

Commit

Permalink
[ACS-5882] Small naming fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
datguychen committed Feb 2, 2024
1 parent 8bc28ce commit 979353e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions e2e/playwright/info-drawer/src/tests/comments.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ test.describe('Info Drawer - Comments', () => {
});

test('[C299173] from Personal Files - Comments tab default fields', async ({ personalFiles }) => {
const personalFolderName = `persFolder-e2e-${Utils.random()}`;
const personalFolderName = `personalFolder-e2e-${Utils.random()}`;
await nodesApi.createFolder(personalFolderName);
await fileActionsApi.waitForNodes(personalFolderName, { expect: 1 });
await personalFiles.navigate();
Expand All @@ -79,13 +79,13 @@ test.describe('Info Drawer - Comments', () => {
});

test('[C299209] from Favorites - Add a comment on a folder', async ({ favoritePage }) => {
const favFolderName = `favFolder-e2e-${Utils.random()}`;
const folderFavId: string = (await nodesApi.createFolder(favFolderName)).entry.id;
const favoriteFolderName = `favoriteFolder-e2e-${Utils.random()}`;
const folderFavId: string = (await nodesApi.createFolder(favoriteFolderName)).entry.id;
await favoritesActions.addFavoritesByIds('folder', [folderFavId]);
await fileActionsApi.waitForNodes(favFolderName, { expect: 1 });
await fileActionsApi.waitForNodes(favoriteFolderName, { expect: 1 });
await favoritePage.navigate();
await expect(favoritePage.dataTable.getRowByName(favFolderName)).toBeVisible();
await favoritePage.dataTable.getRowByName(favFolderName).click();
await expect(favoritePage.dataTable.getRowByName(favoriteFolderName)).toBeVisible();
await favoritePage.dataTable.getRowByName(favoriteFolderName).click();
await favoritePage.acaHeader.viewDetails.click();
await favoritePage.infoDrawer.commentsTab.click();
await expect(favoritePage.infoDrawer.commentInputField).toBeVisible();
Expand Down

0 comments on commit 979353e

Please sign in to comment.