16 Commits

Author SHA1 Message Date
Adam Świderski
9d22bf0efe
[ACS-9297] [ACA] [E2E] Update test IDs to match the XRAY test cases IDs (#4429)
* [ACS-9297] [E2E] Authentication and List Views updated

* [ACS-9297] navigation tests IDs updated

* [ACS-9297] updated pagination IDs

* [ACS-9297] updated download actions ids

* [ACS-9297] Updated upload-download actions IDs & changed the location of viewer-version-actions tests to match XRAY

* [ACS-9297] updated copy-move-actions IDs

* [ACS-9297] Updated delete-actions IDs

* [ACS-9297] updated create-actions IDs

* [ACS-9297] Updated library-actions IDs

* [ACS_9297] Updated share IDs

* [ACS-9297] Special Permissions Updated IDs

* [ACS-9297] Updated viewer IDs

* [ACS-9297] Updated comments IDs

* [ACS-9297] Updated Search IDs

* [ACS-9297] Updated the remaning IDs

* [ACS-9297] one tests excluded one duplicated deleted

* [ACS-9297] fixing rebase mistakes 1
2025-03-19 10:20:24 +01:00
Mykyta Maliarchuk
09636b377d
[ACS-9211] Update license headers (#4372) 2025-02-04 12:11:48 +01:00
Akash Rathod
2f507323ac
[ACS-8886] enable excluded test from ACA (#4170)
* [ACS-8886] enable excluded test

* [ACS-8886] enable excluded test

* [ACS-8886] test fix and added ticket to resovle

* [ACS-8886] test reexcluded as valid fail

* [ACS-8886] test enalbe

* [ACS-8886] test fix for admin
2024-10-08 17:25:13 +02:00
Adam Świderski
de8f48cff0
[ACS-8866] [E2E] Added UI, Debug and Headed modes to NX console (#4160) 2024-10-03 12:30:19 +02:00
jacekpluta
edcc6f8047
[ACS-8201] Knowledge Retrieval - getting AI response for one or more selected files (#4127)
* [ACS-8202] basic flow getting ai response for one or more selected files (#3936)

* ACS-8202 Added animated icon

* ACS-8202 Added search ai input

* ACS-8202 Added AI search results page

* ACS-8202 Allow to run knowledge retrieval on files inside library, shared, favourites and recent files

* ACS-8202 Hide icon when selected more than 100 files or non text files

* ACS-8202 Display notification when too many files are selected

* ACS-8202 Added agents dropdown

* ACS-8202 Styles for AI response

* ACS-8202 Applied design changes

* ACS-8202 Added query card to Knowledge retrieval page results

* ACS-8202 Fixed search collapsing when opened results page

* ACS-8202 Changed placeholder in input for results page, wrapping text and scrolling for results page

* ACS-8202 Display snackbar with messages when conditions are not met

* ACS-8202 Disallow run knowledge retrieval for libraries, leave input when click on x button

* ACS-8202 Renaming files

* ACS-8202 Trigger ai input by selecting agent instead of clicking on button

* ACS-8202 Reverted triggering showing input by selecting option from select

* ACS-8202 Display dropdown with agents by clicking on button

* ACS-8202 Structural changes - services and agents button component

* ACS-8202 Removed part for examples from search page

* ACS-8202 Simplified html for search page

* ACS-8202 Refactored html and styles for search page, translations for search page

* ACS-8202 More html and styles refactoring

* ACS-8202 Formatting html

* ACS-8202 Removed references to angular material classes

* ACS-8202 Added data automation id attributes

* ACS-8202 Load agents from backend, formatting html for agents button component and adding data automation ids to that component

* ACS-8202 Correction after rebase

* ACS-8202 Set agent for input based on selected agent from dropdown for agents button

* ACS-8202 Hide agent button for libraries pages and use translations for warnings when clicked on agents button

* ACS-8202 Pass agent id to search results page

* ACS-8202 Used form control instead of ngmodel for search query

* ACS-8202 Moved search ai service and search ai input state to ADF

* ACS-8202 Results page ts clean up

* ACS-8202 Used ask and getAnswer functions from search ai service

* ACS-8202 Cleaning of search ai navigation service

* ACS-8202 Small clean ups

* ACS-8202 Renamed sources to references

* ACS-8202 Fixed asking next question from results page

* ACS-8202 Added possibility to use knowledge retrieval from search results page

* ACS-8202 Fixed issue with selecting the same agent after previously closing input on search results page

* ACS-8202 Disallowed using knowledge retrieval on trash page

* ACS-8202 Hide toggling knowledge retrieval for tasks and processes, fixed displaying ask button for favorites page

* ACS-8202 Removed redundant image and function

* ACS-8202 Renamed breadcrumbTemplate to header

* ACS-8202 Removed redundant code, added some comments, made some fields as private

* ACS-8202 Display error message on search page

* ACS-8202 Accessibility changes

* ACS-8202 Small correction

* ACS-8202 Addressed comments

* ACS-8202 Displayed correct initials

* ACS-8202 Removed redundant imports

* ACS-8202 Change css value

* ACS-8202 Removed icon animation

* ACS-8202 Removed icon animation

* ACS-8201 Small correction after rebasing with Angular 15

* [ACS-8398] unit tests (#3973)

* ACS-8398 Unit tests for agents button and part for agents menu

* ACS-8398 Unit tests for search ai input component

* [ACS-8210] Agent basic details popup (#3942)

* [ACS-8210] Agent basic details popup

* [ACS-8210] Agent basic details popup - review fixes

---------

Co-authored-by: Aleksander Sklorz <aleksander.sklorz@hyland.com>

* [ACS-8382] Blurring the AI answer section before getting response from backend (#3948)

* [ACS-8398] Unit tests part 2 (#3989)

* ACS-8398 Unit tests for search ai input container

* ACS-8398 Unit tests for search ai navigation service and rest tests for search ai input container component

* ACS-8398 Added missing type

* [ACS-8484] Add feature flag to knowledge retrieval (#4003)

* [ACS-8562] "Ask Agent" button name is changed to "Ask Discovery"

* [ACS-8573] Allow user to ask question without file selection

* [ACS-8312] Display warning about losing response (#4012)

* ACS-8201 Fixed issues after rebase

* [ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page (#4030)

[ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page

* [ACS-8399] Integrate all changes with backend (#4076)

* [ACS-8399] Integrate all changes with backend

* [ACS-8399] Integrate all changes with backend - review fixes

* Answers endpoint fix

* Answers endpoint fix (#4107)

* [ACS-8664] generic question redirection to hx insight page (#4102)

* ACS-8664 Open page in new tab

* ACS-8664 Loading HX insight url

* ACS-8664 Unit tests

* ACS-8664 Fix after rebasing

* ACS-8664 Fixed unit tests

* ACS-8664 Added type

* ACS-8664 Removed duplicated lines

* ACS-8664 Removed duplicated lines

* ACS-8664 Addressed comments

* [ACS-8695] Getting Agent avatar (#4110)

* [ACS-8695] Getting Agent avatar

* [ACS-8695] Getting Agent avatar - fixes

* [ACS-8695] Getting Agent avatar - fixes 2

* Adding mocked agent avatars (#4117)

* [ACS-8201] review fixes

* [ACS-8201] review fixes

* [E2E] excluded failing tests to fix later pt.1

* [ACS-8767] allow to open referenced files (#4129)

* ACS-8767 Opening referenced files

* ACS-8767 Reverted one line

* ACS-8767 Removed unwanted code

* ACS-8767

* ACS-8767 Unit tests for allowing clicking on references

* ACS-8767 Unit tests

* ACS-8767 Moved duplicated code to function

* ACS-8767 Resolved sonar issue

* ACS-8767 Resolved sonar issue

* [ACS-8201] knowledge retrieval feature flag - false

* [E2E] excluded failing tests to fix later pt.2

* ACS-8201 Fixed tests

---------

Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com>
Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
Co-authored-by: datguychen <adam.swiderski@hyland.com>
2024-09-20 14:47:41 +02:00
MichalKinas
96df46a32a
Make aca-playwright-shared buildable and publishable (#4098)
* Make aca-playwright-shared buildable and publishable

* Small PR workflow fix
2024-09-04 18:24:46 +02:00
Adam Świderski
2bc4e158f2
[ACS-8561] [E2E] Merge-selectItem-and-selectMultiItem-into-one-method (#4011)
* [ACS-8561] [E2E] Merge-selectItem-and-selectMultiItem-into-one-method

* [ACS-8561] method fixes 1

* [ACS-8561] review fixes 1
2024-08-08 10:06:43 +02:00
Adam Świderski
70de07f3f1
[ACS-8548] [E2E] deleted unused users from configs (#4004) 2024-08-06 10:55:51 -04:00
Adam Świderski
d9391bef51
[ACS-7453] updated license header to 2024 (#3747)
* [ACS-7453] updated license header to 2024

* [ACS-7453] Updated the rest of licenses manually to 2024

* [ACS-7453] review changes
2024-03-29 12:35:49 +01:00
Adam Świderski
132ce1f75e
[ACS-7451] playwright eslint plugin introduced (#3746) 2024-03-29 11:42:58 +01:00
Adam Świderski
a20f8d9ac8
[ACS-7360] aca playwright e2e file name rename with .e2e.ts extension (#3738)
* [ACS-7360] authentication updated to e2e.ts

* [ACS-7360] copy-move-actions tests updated to e2e.ts

* [ACS-7360] create-actions tests updated to e2e.ts

* [ACS-7360] folder-rules tests updated to e2e.ts

* [ACS-7360] info-drawer tests updates to e2e.ts

* [ACS-7360] library-actions tests updated to e2e.ts

* [ACS_7360] list-views tests updated to e2e.ts

* [ACS-7360] navigation tests updated to e2e.ts

* [ACS-7360] pagination tests updated to e2e.ts

* [ACS-7360] search tests updated to e2e.ts

* [ACS-7360] share-actions tests updated to e2e.ts

* [ACS-7360] special-permissions tests updated to e2e.ts

* [ACS-7360] viewer tests updated to e2e.ts

* [ACS-7360] replaced every .spec.ts and .test.ts with .e2e.ts

* [ACS-7360] undo .spec.ts chages for non test files

* [ACS-7360] hardcoded credentials sonarcloud fix 1

* [ACS-7360] hardcoded credentials sonarcloud fix 2
2024-03-27 15:27:56 +01:00
Adam Świderski
2046630f58
[ACS-7295] create actions - beforeEach and afterAll refactored (#3730)
* [ACS-7295] create actions beforeEach and afterAll refactored

* [ACS-7295] review fix 1

* [ACS-7295] review fix 2
2024-03-25 16:07:01 +01:00
Adam Świderski
184f521e7b
[ACS-7294] Updated hooks - copy-move-actions (#3721)
* [ACS-7294] Updated hooks - copy-move-actions

* [ACS-7294] fixed one comments test
2024-03-22 10:19:05 +01:00
dependabot[bot]
76f83da505
Build(deps-dev): Bump @playwright/test from 1.37.1 to 1.42.1 (#3682)
* Build(deps-dev): Bump @playwright/test from 1.37.1 to 1.42.1

Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.37.1 to 1.42.1.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.37.1...v1.42.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Playwright 1.42.1 upstream - fixed info-drawer tests

* Playwright 1.42.1 upstream - fixed copy-move-actions tests

* @datguychen
Playwright 1.42.1 upstream - fixed library-actions tests

* Playwright 1.42.1 upstream - SonarCloud fix 1

* Playwright 1.42.1 upstream - review fix 1

* Playwright 1.42.1 upstream - review fix 2

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: datguychen <adam.swiderski@hyland.com>
2024-03-21 11:26:52 +01:00
Denys Vuika
dbe724552f
[ACS-6572] break dependency on adf-testing (#3594)
* remove Logger dependency

* remove BrowserVisibility dependency

* remove BrowserActions dependency

* remove ViewerPage dependency

* remove ApiUtil dependency

* remove StringUtil dependency

* remove adf-testing dependency

* bug fixes
2024-01-11 14:02:58 +00:00
swapnil-verma-gl
f917a663b7
[ACS-5014] Migrated Copy Move actions E2Es from protractor to playwright (#3531)
* [ACS-5014] Added Playwright E2E tests for copy-move actions

* [ACS-5014] Fixed missing import in tsconfig.e2e.json

* [ACS-5014] Removed unneeded method from utils.ts

* [ACS-5014] Updated playwright.config.ts

* [ACS-5014] Copy and Move tests are now working

* [ACS-5014] Removed unneeded test.only

* [ACS-5014] Added test case IDs to E2E tests

* [ACS-6211] Removed TODO note. Removed protractor test case files

* [ACS-5014] Added E2E tests for Destination Picker in copy-move actions

* [ACS-5014] Removed unneded only from test suite

* [ACS-5014] Updated import of logger from @alfresco/adf-cli to @alfresco/adf-testing

* [ACS-5014] Addressed code review findings. Moved objects to beforeAll/beforeEach wherever applicable. Added missing await.

* [ACS-5014] Addressed code review findings. Removed unused methods/objects from content-node-selector-dialog.ts

* [ACS-5014] Addressed code review findings. Removed unused methods/objects from content-node-selector-dialog.ts

* [ACS-5014] SonarLint fix

* [ACS-5014] Fixed breaking change for other E2Es

* [ACS-5014] Updated E2Es to use correct locator for more actions button
2023-12-06 16:01:48 +05:30