diff --git a/e2e/playwright/copy-move-actions/src/tests/copy.test.ts b/e2e/playwright/copy-move-actions/src/tests/copy.test.ts index 23a62d9607..efca2e9712 100644 --- a/e2e/playwright/copy-move-actions/src/tests/copy.test.ts +++ b/e2e/playwright/copy-move-actions/src/tests/copy.test.ts @@ -24,7 +24,7 @@ import { ApiClientFactory, test, Utils, PersonalFilesPage, NodesApi, LoginPage } from '@alfresco/playwright-shared'; import { expect } from '@playwright/test'; -import { logger } from '@alfresco/adf-cli/scripts/logger'; +import { Logger } from '@alfresco/adf-testing'; test.describe('Copy actions', () => { let nodesApi: NodesApi; @@ -47,7 +47,7 @@ test.describe('Copy actions', () => { await apiClientFactory.createUser({ username }); nodesApi = await NodesApi.initialize(username, username); } catch (error) { - logger.error(`beforeAll failed : ${error}`); + Logger.error(`beforeAll failed : ${error}`); } }); @@ -55,7 +55,7 @@ test.describe('Copy actions', () => { try { await nodesApiAction.deleteCurrentUserNodes(); } catch (error) { - logger.error(`afterAll failed : ${error}`); + Logger.error(`afterAll failed : ${error}`); } }); @@ -81,7 +81,7 @@ test.describe('Copy actions', () => { await personalFiles.navigate(); } catch (error) { - logger.error(`beforeEach failed : ${error}`); + Logger.error(`beforeEach failed : ${error}`); } }); diff --git a/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts b/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts index e5ae5266e3..a017b6d89c 100644 --- a/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts +++ b/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts @@ -24,8 +24,8 @@ import { ApiClientFactory, MyLibrariesPage, NodesApi, SitesApi, test, Utils } from '@alfresco/playwright-shared'; import { expect } from '@playwright/test'; -import { logger } from '@alfresco/adf-cli/scripts/logger'; import { Site } from '@alfresco/js-api'; +import { Logger } from '@alfresco/adf-testing'; test.describe('Copy Move actions', () => { let nodesApi: NodesApi; @@ -64,7 +64,7 @@ test.describe('Copy Move actions', () => { await nodesApi.createFile(sourceFile, docLibId); await nodesApi.createFolder(destinationFolder, docLibId); } catch (error) { - logger.error(`beforeAll failed : ${error}`); + Logger.error(`beforeAll failed : ${error}`); } }); @@ -73,7 +73,7 @@ test.describe('Copy Move actions', () => { await nodesApi.deleteCurrentUserNodes(); await sitesApi.deleteSites([siteId]); } catch (error) { - logger.error(`afterAll failed : ${error}`); + Logger.error(`afterAll failed : ${error}`); } }); diff --git a/e2e/playwright/copy-move-actions/src/tests/move.test.ts b/e2e/playwright/copy-move-actions/src/tests/move.test.ts index d0f7cbb791..2f3df7cd3a 100644 --- a/e2e/playwright/copy-move-actions/src/tests/move.test.ts +++ b/e2e/playwright/copy-move-actions/src/tests/move.test.ts @@ -24,7 +24,7 @@ import { ApiClientFactory, test, Utils, PersonalFilesPage, NodesApi, LoginPage } from '@alfresco/playwright-shared'; import { expect } from '@playwright/test'; -import { logger } from '@alfresco/adf-cli/scripts/logger'; +import { Logger } from '@alfresco/adf-testing'; test.describe('Move actions', () => { let nodesApi: NodesApi; @@ -47,7 +47,7 @@ test.describe('Move actions', () => { await apiClientFactory.createUser({ username }); nodesApi = await NodesApi.initialize(username, username); } catch (error) { - logger.error(`beforeAll failed : ${error}`); + Logger.error(`beforeAll failed : ${error}`); } }); @@ -55,7 +55,7 @@ test.describe('Move actions', () => { try { await nodesApiAction.deleteCurrentUserNodes(); } catch (error) { - logger.error(`afterAll failed : ${error}`); + Logger.error(`afterAll failed : ${error}`); } }); @@ -81,7 +81,7 @@ test.describe('Move actions', () => { await personalFiles.navigate(); } catch (error) { - logger.error(`beforeEach failed : ${error}`); + Logger.error(`beforeEach failed : ${error}`); } });