From 6ac99ea9ea76186f301ca059c74a10e2953c8eef Mon Sep 17 00:00:00 2001 From: "akash.rathod@hyland.com" Date: Wed, 15 Jan 2025 09:37:47 +0100 Subject: [PATCH 1/4] ACS-9155 CI e2e run with one worker --- .../aca-playwright-shared/src/base-config/playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/aca-playwright-shared/src/base-config/playwright.config.ts b/projects/aca-playwright-shared/src/base-config/playwright.config.ts index a721f7112e..d00088a61c 100644 --- a/projects/aca-playwright-shared/src/base-config/playwright.config.ts +++ b/projects/aca-playwright-shared/src/base-config/playwright.config.ts @@ -46,7 +46,7 @@ export const getGlobalConfig: PlaywrightTestConfig = { /* Retry on CI only */ retries: env.CI ? 2 : 0, /* Opt out of parallel tests on CI. */ - workers: 3, + workers: env.CI ? 1 : 3, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: [['list'], ...getReporter()], globalSetup: require.resolve('./global.setup'), From c145f3968f5b9190f5ae3d4859e86498eacde782 Mon Sep 17 00:00:00 2001 From: "akash.rathod@hyland.com" Date: Wed, 15 Jan 2025 09:59:43 +0100 Subject: [PATCH 2/4] ACS-9155 CI e2e global timeout increase --- projects/aca-playwright-shared/src/utils/timeouts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/aca-playwright-shared/src/utils/timeouts.ts b/projects/aca-playwright-shared/src/utils/timeouts.ts index b765eba221..cc39a0691f 100644 --- a/projects/aca-playwright-shared/src/utils/timeouts.ts +++ b/projects/aca-playwright-shared/src/utils/timeouts.ts @@ -35,5 +35,5 @@ export const timeouts = { extendedTest: 150 * 1000, extendedLongTest: 200 * 1000, webServer: 240 * 1000, - globalSpec: 60 * 10 * 1000 + globalSpec: 60 * 15 * 1000 }; From 10b2a7215e0f0611d68d2ef882ad77899d7c0f76 Mon Sep 17 00:00:00 2001 From: "akash.rathod@hyland.com" Date: Wed, 15 Jan 2025 15:59:16 +0100 Subject: [PATCH 3/4] ACS-9155 CI e2e global timeout increase --- projects/aca-playwright-shared/src/utils/timeouts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/aca-playwright-shared/src/utils/timeouts.ts b/projects/aca-playwright-shared/src/utils/timeouts.ts index cc39a0691f..eddc7326b7 100644 --- a/projects/aca-playwright-shared/src/utils/timeouts.ts +++ b/projects/aca-playwright-shared/src/utils/timeouts.ts @@ -35,5 +35,5 @@ export const timeouts = { extendedTest: 150 * 1000, extendedLongTest: 200 * 1000, webServer: 240 * 1000, - globalSpec: 60 * 15 * 1000 + globalSpec: 60 * 20 * 1000 }; From 2c497cd07f5eb3fb580b2715e49ae1bab291dc41 Mon Sep 17 00:00:00 2001 From: "akash.rathod@hyland.com" Date: Thu, 16 Jan 2025 09:14:35 +0100 Subject: [PATCH 4/4] small code fix --- e2e/playwright/info-drawer/src/tests/comments.e2e.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/playwright/info-drawer/src/tests/comments.e2e.ts b/e2e/playwright/info-drawer/src/tests/comments.e2e.ts index 03df7f0936..7b69990012 100755 --- a/e2e/playwright/info-drawer/src/tests/comments.e2e.ts +++ b/e2e/playwright/info-drawer/src/tests/comments.e2e.ts @@ -84,7 +84,7 @@ test.describe('Info Drawer - Comments', () => { await favoritePage.infoDrawer.addCommentToNode(commentText); await expect(favoritePage.infoDrawer.addCommentButton).toBeDisabled(); expect(await favoritePage.infoDrawer.checkCommentsHeaderCount()).toEqual(1); - expect(await favoritePage.infoDrawer.verifyCommentsCountFromList(1)); + await favoritePage.infoDrawer.verifyCommentsCountFromList(1); }); 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', () => { await recentFilesPage.infoDrawer.addCommentToNode(commentText); await expect(recentFilesPage.infoDrawer.addCommentButton).toBeDisabled(); expect(await recentFilesPage.infoDrawer.checkCommentsHeaderCount()).toEqual(1); - expect(await recentFilesPage.infoDrawer.verifyCommentsCountFromList(1)); + await recentFilesPage.infoDrawer.verifyCommentsCountFromList(1); }); test('[C299196] Comment info display - File from Favorites', async ({ favoritePage }) => {