[ACS-9372] [E2E] Fixed eslint errors (#4479)

* [ACS-9372] Fixed eslint errors

* [ACS-9372] Review fixes 1
This commit is contained in:
Adam Świderski
2025-03-26 09:09:52 +01:00
committed by GitHub
parent 8c1d2f3cd7
commit d2b6e6d6b4
2 changed files with 5 additions and 8 deletions

View File

@@ -83,8 +83,7 @@ test.describe('Info Drawer - Comments', () => {
await expect(favoritePage.infoDrawer.commentInputField).toBeVisible();
await favoritePage.infoDrawer.addCommentToNode(commentText);
await expect(favoritePage.infoDrawer.addCommentButton).toBeDisabled();
expect(await favoritePage.infoDrawer.checkCommentsHeaderCount()).toEqual(1);
expect(await favoritePage.infoDrawer.verifyCommentsCountFromList(1));
expect(await favoritePage.infoDrawer.getCommentsCountFromList()).toEqual(1);
});
test('[XAT-5533] from Shared Files - Comments are displayed ordered by created date in descending order', async ({ sharedPage }) => {
@@ -120,8 +119,7 @@ test.describe('Info Drawer - Comments', () => {
await expect(recentFilesPage.infoDrawer.commentInputField).toBeVisible();
await recentFilesPage.infoDrawer.addCommentToNode(commentText);
await expect(recentFilesPage.infoDrawer.addCommentButton).toBeDisabled();
expect(await recentFilesPage.infoDrawer.checkCommentsHeaderCount()).toEqual(1);
expect(await recentFilesPage.infoDrawer.verifyCommentsCountFromList(1));
expect(await recentFilesPage.infoDrawer.getCommentsCountFromList()).toEqual(1);
});
test('[XAT-5540] Comment info display - File from Favorites', async ({ favoritePage }) => {