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, NodesApi, TrashcanApi, FileActionsApi, TEST_FILES, CategoriesApi } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, Utils, test, NodesApi, TrashcanApi, FileActionsApi, TEST_FILES, CategoriesApi } from '@alfresco/aca-playwright-shared';
|
||||
import { CategoryLinkBody, CategoryPaging, CategoryEntry } from '@alfresco/js-api';
|
||||
|
||||
test.describe('Search - Filters - Categories', () => {
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, Utils, test, NodesApi, TrashcanApi, FileActionsApi, TEST_FILES } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, Utils, test, NodesApi, TrashcanApi, FileActionsApi, TEST_FILES } from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Search - Filters - Date', () => {
|
||||
let nodesApi: NodesApi;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect, Locator } from '@playwright/test';
|
||||
import { ApiClientFactory, Utils, test, SearchPage } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, Utils, test, SearchPage } from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Search - Filters - General', () => {
|
||||
const username = `user-${Utils.random()}`;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, Utils, test, NodesApi, TrashcanApi, SitesApi, SITE_VISIBILITY, SITE_ROLES } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, Utils, test, NodesApi, TrashcanApi, SitesApi, SITE_VISIBILITY, SITE_ROLES } from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Search - Filters - Location', () => {
|
||||
let nodesApi: NodesApi;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, Utils, test, NodesApi, TrashcanApi, FileActionsApi } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, Utils, test, NodesApi, TrashcanApi, FileActionsApi } from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Search - Filters - Logic', () => {
|
||||
let nodesApi: NodesApi;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, Utils, test, NodesApi, TrashcanApi, FileActionsApi, TEST_FILES } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, Utils, test, NodesApi, TrashcanApi, FileActionsApi, TEST_FILES } from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Search - Filters - Properties', () => {
|
||||
let nodesApi: NodesApi;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, Utils, test, NodesApi, TrashcanApi, TagsApi, FileActionsApi } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, Utils, test, NodesApi, TrashcanApi, TagsApi, FileActionsApi } from '@alfresco/aca-playwright-shared';
|
||||
import { TagEntry, TagPaging } from '@alfresco/js-api';
|
||||
|
||||
test.describe('Search - Filters - Tags', () => {
|
||||
|
@@ -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('Search - Input', () => {
|
||||
const username = `user1-${Utils.random()}`;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, Utils, test, TrashcanApi, NodesApi } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, Utils, test, TrashcanApi, NodesApi } from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Search results - files and folders', () => {
|
||||
let nodesApi: NodesApi;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, Utils, test, TrashcanApi, NodesApi, SitesApi } from '@alfresco/playwright-shared';
|
||||
import { ApiClientFactory, Utils, test, TrashcanApi, NodesApi, SitesApi } from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Search Results - General', () => {
|
||||
let trashcanApi: TrashcanApi;
|
||||
|
@@ -33,7 +33,7 @@ import {
|
||||
FileActionsApi,
|
||||
SITE_VISIBILITY,
|
||||
SITE_ROLES
|
||||
} from '@alfresco/playwright-shared';
|
||||
} from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Search Results - General', () => {
|
||||
let trashcanApi: TrashcanApi;
|
||||
|
@@ -34,7 +34,7 @@ import {
|
||||
SearchPage,
|
||||
SortByDirection,
|
||||
SortByType
|
||||
} from '@alfresco/playwright-shared';
|
||||
} from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Search sorting', () => {
|
||||
const random = Utils.random();
|
||||
|
@@ -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