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 }) => { 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'), diff --git a/projects/aca-playwright-shared/src/utils/timeouts.ts b/projects/aca-playwright-shared/src/utils/timeouts.ts index b765eba221..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 * 10 * 1000 + globalSpec: 60 * 20 * 1000 };