Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make aca-playwright-shared buildable and publishable #4098

Merged
merged 2 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/playwright/authentication/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { PlaywrightTestConfig } from '@playwright/test';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/playwright-shared';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/aca-playwright-shared';
import EXCLUDED_JSON from './exclude.tests.json';

const config: PlaywrightTestConfig<CustomConfig> = {
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/authentication/src/tests/general.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect } from '@playwright/test';
import { ApiClientFactory, Utils, test } from '@alfresco/playwright-shared';
import { ApiClientFactory, Utils, test } from '@alfresco/aca-playwright-shared';

test.describe('Create folders', () => {
const apiClientFactory = new ApiClientFactory();
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/authentication/src/tests/login.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect } from '@playwright/test';
import { ApiClientFactory, Utils, test } from '@alfresco/playwright-shared';
import { ApiClientFactory, Utils, test } from '@alfresco/aca-playwright-shared';

test.describe('viewer file', () => {
const apiClientFactory = new ApiClientFactory();
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/authentication/src/tests/logout.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect } from '@playwright/test';
import { ApiClientFactory, Utils, test } from '@alfresco/playwright-shared';
import { ApiClientFactory, Utils, test } from '@alfresco/aca-playwright-shared';

test.describe('viewer file', () => {
const apiClientFactory = new ApiClientFactory();
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/authentication/tsconfig.e2e.adf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/authentication/tsconfig.e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node", "@playwright/test"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/copy-move-actions/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { PlaywrightTestConfig } from '@playwright/test';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray, timeouts } from '@alfresco/playwright-shared';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray, timeouts } from '@alfresco/aca-playwright-shared';
import EXCLUDED_JSON from './exclude.tests.json';

const config: PlaywrightTestConfig<CustomConfig> = {
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/copy-move-actions/src/tests/copy.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { ApiClientFactory, test, Utils, PersonalFilesPage, NodesApi, LoginPage, TrashcanApi } from '@alfresco/playwright-shared';
import { ApiClientFactory, test, Utils, PersonalFilesPage, NodesApi, LoginPage, TrashcanApi } from '@alfresco/aca-playwright-shared';
import { expect } from '@playwright/test';

test.describe('Copy actions', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*!

Check failure on line 1 in e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts

View workflow job for this annotation

GitHub Actions / E2E Playwright - copy-move-actions

[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination

1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination Test timeout of 150000ms exceeded.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
Expand All @@ -22,7 +22,7 @@
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { ApiClientFactory, MyLibrariesPage, NodesApi, SitesApi, test, Utils, TrashcanApi } from '@alfresco/playwright-shared';
import { ApiClientFactory, MyLibrariesPage, NodesApi, SitesApi, test, Utils, TrashcanApi } from '@alfresco/aca-playwright-shared';
import { expect } from '@playwright/test';
import { Site } from '@alfresco/js-api';

Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/copy-move-actions/src/tests/move.e2e.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*!

Check failure on line 1 in e2e/playwright/copy-move-actions/src/tests/move.e2e.ts

View workflow job for this annotation

GitHub Actions / E2E Playwright - copy-move-actions

[Copy Move Actions] › src/tests/move.e2e.ts:88:7 › Move actions › [C291958] Move multiple items

2) [Copy Move Actions] › src/tests/move.e2e.ts:88:7 › Move actions › [C291958] Move multiple items Test timeout of 150000ms exceeded.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
Expand All @@ -22,7 +22,7 @@
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { ApiClientFactory, test, Utils, PersonalFilesPage, NodesApi, LoginPage, TrashcanApi } from '@alfresco/playwright-shared';
import { ApiClientFactory, test, Utils, PersonalFilesPage, NodesApi, LoginPage, TrashcanApi } from '@alfresco/aca-playwright-shared';
import { expect } from '@playwright/test';

test.describe('Move actions', () => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/copy-move-actions/tsconfig.e2e.adf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/copy-move-actions/tsconfig.e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node", "@playwright/test"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/create-actions/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { PlaywrightTestConfig } from '@playwright/test';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/playwright-shared';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/aca-playwright-shared';
import EXCLUDED_JSON from './exclude.tests.json';

const config: PlaywrightTestConfig<CustomConfig> = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {
errorStrings,
test,
TrashcanApi
} from '@alfresco/playwright-shared';
} from '@alfresco/aca-playwright-shared';

test.describe('Create file from template', () => {
let nodesApi: NodesApi;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {
errorStrings,
test,
TrashcanApi
} from '@alfresco/playwright-shared';
} from '@alfresco/aca-playwright-shared';

test.describe('Create folder from template', () => {
const apiClientFactory = new ApiClientFactory();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {
errorStrings,
test,
TrashcanApi
} from '@alfresco/playwright-shared';
} from '@alfresco/aca-playwright-shared';

test.describe('Create folders', () => {
const apiClientFactory = new ApiClientFactory();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
Breadcrumb,
TrashcanApi,
NodesApi
} from '@alfresco/playwright-shared';
} from '@alfresco/aca-playwright-shared';

test.describe('Create Libraries ', () => {
const apiClientFactory = new ApiClientFactory();
Expand Down Expand Up @@ -119,7 +119,7 @@
await expect(libraryDialog.getLabelText(libraryNameLabel)).toHaveValue(randomLibraryName);
await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName);
await libraryDialog.createButton.click();
await expect(libraryBreadcrumb.getItemByTitle(randomLibraryName)).toBeVisible();

Check failure on line 122 in e2e/playwright/create-actions/src/tests/create-library.e2e.ts

View workflow job for this annotation

GitHub Actions / E2E Playwright - create-actions

[Create Actions] › src/tests/create-library.e2e.ts:117:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library

1) [Create Actions] › src/tests/create-library.e2e.ts:117:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library-1a19z]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library-1a19z]') 120 | await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName); 121 | await libraryDialog.createButton.click(); > 122 | await expect(libraryBreadcrumb.getItemByTitle(randomLibraryName)).toBeVisible(); | ^ 123 | 124 | await myLibrariesPage.navigate(); 125 | await expect(libraryTable.getCellByColumnNameAndRowItem(randomLibraryName, publicVisibility)).toBeVisible(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/create-actions/src/tests/create-library.e2e.ts:122:73

await myLibrariesPage.navigate();
await expect(libraryTable.getCellByColumnNameAndRowItem(randomLibraryName, publicVisibility)).toBeVisible();
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/create-actions/tsconfig.e2e.adf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/create-actions/tsconfig.e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node", "@playwright/test"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/delete-actions/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { PlaywrightTestConfig } from '@playwright/test';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/playwright-shared';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/aca-playwright-shared';
import EXCLUDED_JSON from './exclude.tests.json';

const config: PlaywrightTestConfig<CustomConfig> = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect } from '@playwright/test';
import { ApiClientFactory, NodesApi, Utils, test, TrashcanApi } from '@alfresco/playwright-shared';
import { ApiClientFactory, NodesApi, Utils, test, TrashcanApi } from '@alfresco/aca-playwright-shared';

test.describe('Delete and undo delete', () => {
const apiClientFactory = new ApiClientFactory();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect } from '@playwright/test';
import { ApiClientFactory, NodesApi, Utils, test, TrashcanApi, SitesApi } from '@alfresco/playwright-shared';
import { ApiClientFactory, NodesApi, Utils, test, TrashcanApi, SitesApi } from '@alfresco/aca-playwright-shared';

test.describe('Delete and undo delete', () => {
const apiClientFactory = new ApiClientFactory();
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/delete-actions/src/tests/restore.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect } from '@playwright/test';
import { ApiClientFactory, NodesApi, Utils, test, TrashcanApi, SitesApi, APP_ROUTES, TrashPage } from '@alfresco/playwright-shared';
import { ApiClientFactory, NodesApi, Utils, test, TrashcanApi, SitesApi, APP_ROUTES, TrashPage } from '@alfresco/aca-playwright-shared';

test.describe('Restore from Trash', () => {
const apiClientFactory = new ApiClientFactory();
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/delete-actions/tsconfig.e2e.adf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/delete-actions/tsconfig.e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node", "@playwright/test"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/edit-actions/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { PlaywrightTestConfig } from '@playwright/test';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/playwright-shared';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/aca-playwright-shared';
import EXCLUDED_JSON from './exclude.tests.json';

const config: PlaywrightTestConfig<CustomConfig> = {
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/edit-actions/src/tests/edit-folder.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect } from '@playwright/test';
import { ApiClientFactory, NodesApi, Utils, test, TrashcanApi } from '@alfresco/playwright-shared';
import { ApiClientFactory, NodesApi, Utils, test, TrashcanApi } from '@alfresco/aca-playwright-shared';

test.describe('Edit folder', () => {
const apiClientFactory = new ApiClientFactory();
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/edit-actions/src/tests/edit-offline.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect } from '@playwright/test';
import { ApiClientFactory, NodesApi, Utils, test, TrashcanApi, FileActionsApi, TEST_FILES } from '@alfresco/playwright-shared';
import { ApiClientFactory, NodesApi, Utils, test, TrashcanApi, FileActionsApi, TEST_FILES } from '@alfresco/aca-playwright-shared';

test.describe('Edit offline - on Personal Files', () => {
const apiClientFactory = new ApiClientFactory();
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/edit-actions/tsconfig.e2e.adf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/edit-actions/tsconfig.e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node", "@playwright/test"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/favorite-actions/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { PlaywrightTestConfig } from '@playwright/test';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/playwright-shared';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/aca-playwright-shared';
import EXCLUDED_JSON from './exclude.tests.json';

const config: PlaywrightTestConfig<CustomConfig> = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect } from '@playwright/test';
import { ApiClientFactory, Utils, test, TrashcanApi, NodesApi, FavoritesPageApi, SharedLinksApi } from '@alfresco/playwright-shared';
import { ApiClientFactory, Utils, test, TrashcanApi, NodesApi, FavoritesPageApi, SharedLinksApi } from '@alfresco/aca-playwright-shared';

test.describe('Mark items as favorites', () => {
let trashcanApi: TrashcanApi;
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/favorite-actions/tsconfig.e2e.adf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/favorite-actions/tsconfig.e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node", "@playwright/test"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/folder-rules/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { PlaywrightTestConfig } from '@playwright/test';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/playwright-shared';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/aca-playwright-shared';
import EXCLUDED_JSON from './exclude.tests.json';

const config: PlaywrightTestConfig<CustomConfig> = {
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/folder-rules/src/tests/create-rules.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect } from '@playwright/test';
import { ActionType, ApiClientFactory, test, Utils, TrashcanApi, NodesApi, Comparator, Field } from '@alfresco/playwright-shared';
import { ActionType, ApiClientFactory, test, Utils, TrashcanApi, NodesApi, Comparator, Field } from '@alfresco/aca-playwright-shared';

test.use({ launchOptions: { slowMo: 300 } });
test.describe('Folder Rules Actions', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { ApiClientFactory, test, Utils, NodesApi, TrashcanApi, RulesApi } from '@alfresco/playwright-shared';
import { ApiClientFactory, test, Utils, NodesApi, TrashcanApi, RulesApi } from '@alfresco/aca-playwright-shared';
import { expect } from '@playwright/test';

test.use({ launchOptions: { slowMo: 300 } });
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/folder-rules/src/tests/update-rules.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { ApiClientFactory, test, Utils, NodesApi, TrashcanApi, ActionType, RulesApi, Field, Comparator } from '@alfresco/playwright-shared';
import { ApiClientFactory, test, Utils, NodesApi, TrashcanApi, ActionType, RulesApi, Field, Comparator } from '@alfresco/aca-playwright-shared';
import { expect } from '@playwright/test';

test.use({ launchOptions: { slowMo: 300 } });
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/folder-rules/tsconfig.e2e.adf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/folder-rules/tsconfig.e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": ["jasmine", "jasminewd2", "node", "@playwright/test"],
"skipLibCheck": true,
"paths": {
"@alfresco/playwright-shared": ["../../../projects/aca-playwright-shared/src/index.ts"]
"@alfresco/aca-playwright-shared": ["dist/@alfresco/aca-playwright-shared"]
}
},
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/info-drawer/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { PlaywrightTestConfig } from '@playwright/test';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/playwright-shared';
import { CustomConfig, getGlobalConfig, getExcludedTestsRegExpArray } from '@alfresco/aca-playwright-shared';
import EXCLUDED_JSON from './exclude.tests.json';

const config: PlaywrightTestConfig<CustomConfig> = {
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/info-drawer/src/tests/comments.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect } from '@playwright/test';
import { ApiClientFactory, Utils, test, TrashcanApi, FavoritesPageApi, NodesApi, FileActionsApi } from '@alfresco/playwright-shared';
import { ApiClientFactory, Utils, test, TrashcanApi, FavoritesPageApi, NodesApi, FileActionsApi } from '@alfresco/aca-playwright-shared';

test.describe('Info Drawer - Comments', () => {
const apiClientFactory = new ApiClientFactory();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect } from '@playwright/test';
import { ApiClientFactory, Utils, test, TrashcanApi, NodesApi, FileActionsApi } from '@alfresco/playwright-shared';
import { ApiClientFactory, Utils, test, TrashcanApi, NodesApi, FileActionsApi } from '@alfresco/aca-playwright-shared';

test.describe('Info Drawer - File Folder Properties', () => {
let nodesApi: NodesApi;
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { expect, Page } from '@playwright/test';
import { ApiClientFactory, test, TrashcanApi, NodesApi, FileActionsApi, TEST_FILES, Utils } from '@alfresco/playwright-shared';
import { ApiClientFactory, test, TrashcanApi, NodesApi, FileActionsApi, TEST_FILES, Utils } from '@alfresco/aca-playwright-shared';

test.describe('File preview', () => {
const timestamp = new Date().getTime();
Expand Down
Loading
Loading