diff --git a/package-lock.json b/package-lock.json index 60e5aaab5..f5c671953 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,11 +9,11 @@ "version": "8.1.0", "license": "LGPL-3.0", "dependencies": { - "@alfresco/adf-content-services": "9.0.0", - "@alfresco/adf-core": "9.0.0", - "@alfresco/adf-extensions": "9.0.0", - "@alfresco/eslint-plugin-eslint-angular": "9.0.0", - "@alfresco/js-api": "10.0.0", + "@alfresco/adf-content-services": "9.2.0-29815065241", + "@alfresco/adf-core": "9.2.0-29815065241", + "@alfresco/adf-extensions": "9.2.0-29815065241", + "@alfresco/eslint-plugin-eslint-angular": "9.2.0-29815065241", + "@alfresco/js-api": "10.2.0-29815065241", "@angular/animations": "20.3.25", "@angular/cdk": "20.2.14", "@angular/common": "20.3.25", @@ -41,7 +41,7 @@ "zone.js": "0.15.0" }, "devDependencies": { - "@alfresco/adf-cli": "9.0.0", + "@alfresco/adf-cli": "9.2.0-29815065241", "@angular-devkit/build-angular": "20.3.30", "@angular-devkit/core": "20.3.16", "@angular-devkit/schematics": "20.3.16", @@ -98,13 +98,13 @@ } }, "node_modules/@alfresco/adf-cli": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@alfresco/adf-cli/-/adf-cli-9.0.0.tgz", - "integrity": "sha512-W+THcHpHqGiD1DCnzFgeCYfzs7NODZ7NSip9QZ2PmMO2t5dIyZkFjocekWibDxxUcTDMS+ZSK0WPem8yR8Z2Xw==", + "version": "9.2.0-29815065241", + "resolved": "https://registry.npmjs.org/@alfresco/adf-cli/-/adf-cli-9.2.0-29815065241.tgz", + "integrity": "sha512-/Ep6Sywa5S9vNLOTIGa51w/8GoEfvG41m6PeCWqeaVJm+DR8w6o1JvWDOsbRXtpZyn2T/4H5uNREyPhKrBEIBw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@alfresco/js-api": ">=9.5.0", + "@alfresco/js-api": ">=10.2.0-29815065241", "ejs": "^3.1.10", "node-fetch": "^2.7.0", "spdx-license-list": "^5.0.0" @@ -115,16 +115,16 @@ } }, "node_modules/@alfresco/adf-content-services": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@alfresco/adf-content-services/-/adf-content-services-9.0.0.tgz", - "integrity": "sha512-VE+L37jfM/VTSG1HZbZeVZWZLcGBi+BYoKB+GYz3iL2HBitnhCjJSB9qt3DDv3qi5G45ddt/GuM++0iQunoS6w==", + "version": "9.2.0-29815065241", + "resolved": "https://registry.npmjs.org/@alfresco/adf-content-services/-/adf-content-services-9.2.0-29815065241.tgz", + "integrity": "sha512-OW+C9krij4OhMGXG0aLS9DMQjxwpT15cRQ6Pid9cc9W7cSTTF7q+fNZlowUrvmEGE37XcV+YRyDHd+CzX4Qvqg==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { - "@alfresco/adf-core": ">=9.0.0", - "@alfresco/js-api": ">=10.0.0", + "@alfresco/adf-core": ">=9.2.0-29815065241", + "@alfresco/js-api": ">=10.2.0-29815065241", "@angular/animations": ">=20.3.25", "@angular/cdk": ">=20.2.14", "@angular/common": ">=20.3.25", @@ -139,9 +139,9 @@ } }, "node_modules/@alfresco/adf-core": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@alfresco/adf-core/-/adf-core-9.0.0.tgz", - "integrity": "sha512-Bt+lh9XecvJ3MKZm56pt7kClMTpsqhiL+hSaUvvAYvcjah8Qp5UdJ39IAW6J8gA5nULEQHRVKmZpy/P2X7+iPg==", + "version": "9.2.0-29815065241", + "resolved": "https://registry.npmjs.org/@alfresco/adf-core/-/adf-core-9.2.0-29815065241.tgz", + "integrity": "sha512-LCMWVXWnNRayK+/lV8dUP6aIBRafEdtV77xThA6KQpIejo1mxvwC9ZuqN7U0Ry35EPHWUmzZ+vV9cP0Kr86uhw==", "license": "Apache-2.0", "dependencies": { "angular-oauth2-oidc": "19.0.0", @@ -150,8 +150,8 @@ "tslib": "^2.3.0" }, "peerDependencies": { - "@alfresco/adf-extensions": ">=9.0.0", - "@alfresco/js-api": ">=10.0.0", + "@alfresco/adf-extensions": ">=9.2.0-29815065241", + "@alfresco/js-api": ">=10.2.0-29815065241", "@angular/animations": ">=20.3.25", "@angular/cdk": ">=20.2.14", "@angular/common": ">=20.3.25", @@ -190,29 +190,29 @@ } }, "node_modules/@alfresco/adf-extensions": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@alfresco/adf-extensions/-/adf-extensions-9.0.0.tgz", - "integrity": "sha512-/VLdJfO66Or1hmk3909gcGfgUFh2RiUnKcsJfQumbYfMVri8BVud3LwT/LkWqNNq2hXZcdgNxwBjZF2N5hsdOw==", + "version": "9.2.0-29815065241", + "resolved": "https://registry.npmjs.org/@alfresco/adf-extensions/-/adf-extensions-9.2.0-29815065241.tgz", + "integrity": "sha512-nsq4CSETLmqyvQ87NeA+vNXNpl0sgz9pjraw/iVeAUzVMfYbz9CJgSjyMXhpBiPS0aRwUuxtH7A+usXGpmZj5A==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { - "@alfresco/js-api": ">=10.0.0", + "@alfresco/js-api": ">=10.2.0-29815065241", "@angular/common": ">=20.3.25", "@angular/core": ">=20.3.25" } }, "node_modules/@alfresco/eslint-plugin-eslint-angular": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@alfresco/eslint-plugin-eslint-angular/-/eslint-plugin-eslint-angular-9.0.0.tgz", - "integrity": "sha512-enjnWbh7/6ygFxeBA8yG3RRhwv72r8cODyGNKj9XixqpPPPPW8S3iL3qcrmiyyMGtn/k5aaxf39OSYirL1fBfg==", + "version": "9.2.0-29815065241", + "resolved": "https://registry.npmjs.org/@alfresco/eslint-plugin-eslint-angular/-/eslint-plugin-eslint-angular-9.2.0-29815065241.tgz", + "integrity": "sha512-UoKLXDd+lmcUudl6XD7eaP7j0OJsoVrNbVxwRoKE3rM25BVDhWJs6a8qqpHYmkEADNjTVZK+Ntt/vkGojjV1eQ==", "license": "Apache-2.0" }, "node_modules/@alfresco/js-api": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-10.0.0.tgz", - "integrity": "sha512-hfLhhgjnBYBs9sTwEHHs5LwsfPYtUhq10VgU4Hzs4TAtGIFDxHnusmmkJ4Bt1xj9KQC/Dx4Ia2lpH5GC65KQlA==", + "version": "10.2.0-29815065241", + "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-10.2.0-29815065241.tgz", + "integrity": "sha512-SXxWbZuVuQ1jjtZvXE2Bgm4EycWLABoTrA3Bn/c4VL0PlgECrIxMEd6JJzgqwbiInMGEPDaP1ScEI+V4b41T3g==", "license": "Apache-2.0", "dependencies": { "eventemitter3": "^5.0.1", diff --git a/package.json b/package.json index f302e8da4..ab4c89449 100644 --- a/package.json +++ b/package.json @@ -42,11 +42,11 @@ }, "private": true, "dependencies": { - "@alfresco/adf-content-services": "9.0.0", - "@alfresco/adf-core": "9.0.0", - "@alfresco/adf-extensions": "9.0.0", - "@alfresco/eslint-plugin-eslint-angular": "9.0.0", - "@alfresco/js-api": "10.0.0", + "@alfresco/adf-content-services": "9.2.0-29815065241", + "@alfresco/adf-core": "9.2.0-29815065241", + "@alfresco/adf-extensions": "9.2.0-29815065241", + "@alfresco/eslint-plugin-eslint-angular": "9.2.0-29815065241", + "@alfresco/js-api": "10.2.0-29815065241", "@angular/animations": "20.3.25", "@angular/cdk": "20.2.14", "@angular/common": "20.3.25", @@ -79,7 +79,7 @@ } }, "devDependencies": { - "@alfresco/adf-cli": "9.0.0", + "@alfresco/adf-cli": "9.2.0-29815065241", "@angular-devkit/build-angular": "20.3.30", "@angular-devkit/core": "20.3.16", "@angular-devkit/schematics": "20.3.16", diff --git a/projects/aca-content/folder-rules/src/rule-details/actions/rule-action.ui-component.spec.ts b/projects/aca-content/folder-rules/src/rule-details/actions/rule-action.ui-component.spec.ts index 77b91d999..0bbd799f9 100644 --- a/projects/aca-content/folder-rules/src/rule-details/actions/rule-action.ui-component.spec.ts +++ b/projects/aca-content/folder-rules/src/rule-details/actions/rule-action.ui-component.spec.ts @@ -103,12 +103,12 @@ describe('RuleActionUiComponent', () => { await changeMatSelectValue('Action 1 title'); - await unitTestingUtils.fillMatInput('test'); + await unitTestingUtils.input.fill('test'); await fixture.whenStable(); expect(component.parameters).toEqual({ 'mock-action-parameter-boolean': false, 'mock-action-parameter-text': 'test' }); - await unitTestingUtils.fillMatInput(''); + await unitTestingUtils.input.fill(''); await fixture.whenStable(); expect(component.parameters).toEqual({ 'mock-action-parameter-boolean': false }); diff --git a/projects/aca-content/folder-rules/src/rule-details/triggers/rule-triggers.ui-component.spec.ts b/projects/aca-content/folder-rules/src/rule-details/triggers/rule-triggers.ui-component.spec.ts index cdd21724a..caa4c5c85 100644 --- a/projects/aca-content/folder-rules/src/rule-details/triggers/rule-triggers.ui-component.spec.ts +++ b/projects/aca-content/folder-rules/src/rule-details/triggers/rule-triggers.ui-component.spec.ts @@ -43,7 +43,7 @@ describe('RuleTriggerUiComponent', () => { const getCheckboxOutbound = (): DebugElement => unitTestingUtils.getByDataAutomationId('rule-trigger-checkbox-outbound'); const toggleMatCheckbox = async (dataAutomationId: string) => { - const checkbox = await unitTestingUtils.getMatCheckboxByDataAutomationId(dataAutomationId); + const checkbox = await unitTestingUtils.checkbox.getByDataAutomationId(dataAutomationId); await checkbox.toggle(); }; diff --git a/projects/aca-content/src/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.spec.ts b/projects/aca-content/src/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.spec.ts index 019871878..6451245ee 100644 --- a/projects/aca-content/src/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.spec.ts +++ b/projects/aca-content/src/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.spec.ts @@ -44,7 +44,7 @@ describe('LibraryMetadataFormComponent', () => { const getNameInput = (): HTMLInputElement => unitTestingUtils.getInputByDataAutomationId('app-library-metadata-form-name-input'); - const clickEditButton = (): Promise => unitTestingUtils.clickMatButtonByDataAutomationId('app-library-metadata-form-edit-button'); + const clickEditButton = (): Promise => unitTestingUtils.button.clickByDataAutomationId('app-library-metadata-form-edit-button'); beforeEach(() => { TestBed.configureTestingModule({ @@ -286,7 +286,7 @@ describe('LibraryMetadataFormComponent', () => { const nameInput = getNameInput(); spyOn(nameInput, 'focus'); - await unitTestingUtils.clickMatButtonByDataAutomationId('app-library-metadata-form-cancel-button'); + await unitTestingUtils.button.clickByDataAutomationId('app-library-metadata-form-cancel-button'); expect(nameInput.focus).not.toHaveBeenCalled(); }); diff --git a/projects/aca-content/src/lib/components/view-profile/view-profile.component.spec.ts b/projects/aca-content/src/lib/components/view-profile/view-profile.component.spec.ts index cd801137f..7560c891d 100644 --- a/projects/aca-content/src/lib/components/view-profile/view-profile.component.spec.ts +++ b/projects/aca-content/src/lib/components/view-profile/view-profile.component.spec.ts @@ -203,7 +203,7 @@ describe('ViewProfileComponent', () => { it('should navigate to personal files when go to personal files button is clicked', async () => { spyOn(router, 'navigate'); - await unitTestingUtils.clickMatButtonByCSS('.app-profile-icon'); + await unitTestingUtils.button.clickByCSS('.app-profile-icon'); expect(router.navigate).toHaveBeenCalledWith(['/personal-files'], { replaceUrl: true }); });