[ACS-11868] check pdf viewer e2e file (#5279)

* [ACS-11868] fix for excluded test add document check

* [ACS-11868] fix test check pdf and image viewer-e2e-test

* [ACS-11868] fix test check pdf and image viewer-e2e-test

* resolve pr review changes

* text fix

* review fix
This commit is contained in:
Akash Rathod
2026-07-22 15:52:19 +02:00
committed by GitHub
parent 6ac916ea82
commit 18a3cbcf82
4 changed files with 36 additions and 17 deletions
+2 -4
View File
@@ -1,5 +1,3 @@
{
"all": {
"XAT-19377": "https://hyland.atlassian.net/browse/ACS-11868"
}
}
"all": {}
}
@@ -89,8 +89,9 @@ test.describe('Version actions', () => {
fileId = (await fileActionsApi.uploadFile(filesToUpload[0].path, filenameBeforeUpdate, '-my-')).entry.id;
fileAfterUpdateId = (
await fileActionsApi.updateNodeContentFromFile(fileId, filesToUpload[1].path, true, 'new major version description', filenameAfterUpdate)
await fileActionsApi.uploadNewVersionFile(fileId, filesToUpload[1].path, filenameAfterUpdate, true, 'new major version description')
).entry.id;
await fileActionsApi.waitForNodes(filenameAfterUpdate, { expect: 1 });
await favoritesApi.addFavoritesByIds('file', [fileId]);
await favoritesApi.waitForApi(username, { expect: 1 });
@@ -132,6 +133,8 @@ test.describe('Version actions', () => {
test('[XAT-19377] Can view previous version of a document after a viewer is opened from Manage Versions dialog', async ({ personalFiles }) => {
await personalFiles.viewer.waitForViewerToOpen();
await personalFiles.viewer.waitForViewerContentToRender('document');
await personalFiles.viewer.toolbar.clickViewerMoreActions();
await personalFiles.matMenu.clickMenuItem('Manage Versions');
await personalFiles.manageVersionsDialog.clickListActionButtonForVersion('2.0');