Skip to content

Commit 2c497cd

Browse files
committed
small code fix
1 parent da32d2a commit 2c497cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/playwright/info-drawer/src/tests/comments.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ test.describe('Info Drawer - Comments', () => {
8484
await favoritePage.infoDrawer.addCommentToNode(commentText);
8585
await expect(favoritePage.infoDrawer.addCommentButton).toBeDisabled();
8686
expect(await favoritePage.infoDrawer.checkCommentsHeaderCount()).toEqual(1);
87-
expect(await favoritePage.infoDrawer.verifyCommentsCountFromList(1));
87+
await favoritePage.infoDrawer.verifyCommentsCountFromList(1);
8888
});
8989

9090
test('[C299189] from Shared Files - Comments are displayed ordered by created date in descending order', async ({ sharedPage }) => {
@@ -121,7 +121,7 @@ test.describe('Info Drawer - Comments', () => {
121121
await recentFilesPage.infoDrawer.addCommentToNode(commentText);
122122
await expect(recentFilesPage.infoDrawer.addCommentButton).toBeDisabled();
123123
expect(await recentFilesPage.infoDrawer.checkCommentsHeaderCount()).toEqual(1);
124-
expect(await recentFilesPage.infoDrawer.verifyCommentsCountFromList(1));
124+
await recentFilesPage.infoDrawer.verifyCommentsCountFromList(1);
125125
});
126126

127127
test('[C299196] Comment info display - File from Favorites', async ({ favoritePage }) => {

0 commit comments

Comments
 (0)