mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
Make aca-playwright-shared buildable and publishable (#4098)
* Make aca-playwright-shared buildable and publishable * Small PR workflow fix
This commit is contained in:
@@ -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> = {
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, Utils, test, SIDEBAR_LABELS, SearchPage, PersonalFilesPage } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, Utils, test, SIDEBAR_LABELS, SearchPage, PersonalFilesPage } from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Empty list views', () => {
|
||||
const username = `user-${Utils.random()}`;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, NodesApi, Utils, test, SitesApi, FavoritesPageApi, timeouts, TrashcanApi } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, NodesApi, Utils, test, SitesApi, FavoritesPageApi, timeouts, TrashcanApi } from '@alfresco/aca-playwright-shared';
|
||||
import { Site } from '@alfresco/js-api';
|
||||
|
||||
test.describe('Favorites Files', () => {
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, FavoritesPageApi, SitesApi, Utils, test, timeouts } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, FavoritesPageApi, SitesApi, Utils, test, timeouts } from '@alfresco/aca-playwright-shared';
|
||||
import { Site } from '@alfresco/js-api';
|
||||
|
||||
test.describe('File Libraries', () => {
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, NodesApi, TrashcanApi, Utils, test } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, NodesApi, TrashcanApi, Utils, test } from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Generic errors', () => {
|
||||
const username = `user-${Utils.random()}`;
|
||||
|
@@ -34,7 +34,7 @@ import {
|
||||
Utils,
|
||||
test,
|
||||
timeouts
|
||||
} from '@alfresco/playwright-shared';
|
||||
} from '@alfresco/aca-playwright-shared';
|
||||
import { Site } from '@alfresco/js-api';
|
||||
|
||||
test.describe('Special permissions', () => {
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { APP_ROUTES, ApiClientFactory, NodesApi, SIDEBAR_LABELS, Utils, test, TrashcanApi } from '@alfresco/playwright-shared';
|
||||
import { APP_ROUTES, ApiClientFactory, NodesApi, SIDEBAR_LABELS, Utils, test, TrashcanApi } from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Personal Files', () => {
|
||||
let nodesApi: NodesApi;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, NodesApi, SearchPageApi, SitesApi, TrashcanApi, Utils, test, timeouts } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, NodesApi, SearchPageApi, SitesApi, TrashcanApi, Utils, test, timeouts } from '@alfresco/aca-playwright-shared';
|
||||
import { Site } from '@alfresco/js-api';
|
||||
|
||||
test.describe('Recent Files', () => {
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, NodesApi, Utils, test, SitesApi, timeouts, SharedLinksApi, TrashcanApi } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, NodesApi, Utils, test, SitesApi, timeouts, SharedLinksApi, TrashcanApi } from '@alfresco/aca-playwright-shared';
|
||||
import { Site } from '@alfresco/js-api';
|
||||
|
||||
test.describe('Shared Files', () => {
|
||||
|
@@ -33,7 +33,7 @@ import {
|
||||
Utils,
|
||||
test,
|
||||
timeouts
|
||||
} from '@alfresco/playwright-shared';
|
||||
} from '@alfresco/aca-playwright-shared';
|
||||
|
||||
async function getSortState(myPersonalFiles: PersonalFilesPage): Promise<{ [key: string]: string }> {
|
||||
return {
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, NodesApi, Utils, getUserState, test, TrashcanApi, users } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, NodesApi, Utils, getUserState, test, TrashcanApi, users } from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.use({ storageState: getUserState('admin') });
|
||||
test.describe('Trash admin', () => {
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, NodesApi, SitesApi, Utils, test, TrashcanApi } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, NodesApi, SitesApi, Utils, test, TrashcanApi } from '@alfresco/aca-playwright-shared';
|
||||
import { Site } from '@alfresco/js-api';
|
||||
|
||||
test.describe('Trash', () => {
|
||||
|
@@ -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"]
|
||||
|
@@ -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"]
|
||||
|
Reference in New Issue
Block a user