[ACS-11855] include e2es lithium (#5194)

* [ACS-11855] included some e2es + small refactoring / improvements

* [ACS-11855] more tests include

* [ACS-11855] sonar cloud fix 1

* [ACS-11855] copilot review fixes 1

* [ACS-11855] copilot review fixes 2

* [ACS-11855] small tests fixes or improvements

* [ACS-11855] fixed failing tests

* [ACS-11855] sonar cloud fix

* [ACS-11855] sonar cloud fix 2

* [ACS-11855] more search improvements

* [ACS-11855] review fix 1

* [ACS-11855] review fix 2

* [ACS-11855] more small improvements
This commit is contained in:
Adam Świderski
2026-05-21 12:24:45 +02:00
committed by GitHub
parent c67b4dc203
commit aa03f7d005
35 changed files with 84 additions and 128 deletions
+1 -8
View File
@@ -1,12 +1,5 @@
{
"all": {
"XAT-5501": "https://hyland.atlassian.net/browse/ACS-9889",
"XAT-5499": "https://hyland.atlassian.net/browse/ACS-9889",
"XAT-17181": "https://hyland.atlassian.net/browse/ACS-9889",
"XAT-17640": "https://hyland.atlassian.net/browse/ACS-9889",
"XAT-17644": "https://hyland.atlassian.net/browse/ACS-9889",
"XAT-17182": "https://hyland.atlassian.net/browse/ACS-9889"
},
"all": {},
"firefox": {
"XAT-17177": "https://hyland.atlassian.net/browse/ACS-10917",
"XAT-17178": "https://hyland.atlassian.net/browse/ACS-10917",
@@ -97,8 +97,7 @@ test.describe('viewer file types', () => {
async function openFileInViewer(page: PersonalFilesPage, fileName: string) {
await page.dataTable.performClickFolderOrFileToOpen(fileName);
expect(await page.viewer.isViewerOpened(), 'Viewer is not opened').toBe(true);
await page.viewer.waitForViewerLoaderToFinish();
await page.viewer.waitForViewerToOpen();
await Utils.delayInSeconds(1);
}
@@ -75,7 +75,7 @@ test.describe('from File Libraries', () => {
await myLibrariesPage.copyMoveDialog.selectLocation('Personal Files');
await myLibrariesPage.copyMoveDialog.selectDestination(destination);
await myLibrariesPage.copyMoveDialog.actionButton.click();
await expect(myLibrariesPage.snackBar.getByMessageLocator('Moved 1 item')).toBeVisible();
expect(await myLibrariesPage.snackBar.getSnackBarMessage()).toContain('Moved 1 item');
await myLibrariesPage.viewer.closeButtonLocator.click();
await myLibrariesPage.dataTable.getRowByName(xlsxLibraries).waitFor({ state: 'detached' });
@@ -137,6 +137,9 @@ test.describe('Version actions', () => {
test('[XAT-5499] Should be possible to view a previous document version - Recent Files', async ({ recentFilesPage }) => {
expect(recentFilesPage.page.url()).toContain('1.0');
await recentFilesPage.viewer.waitForViewerToOpen();
await expect(recentFilesPage.viewer.unknownFormat).toBeHidden();
expect(await recentFilesPage.viewer.getFileTitle()).toContain(filenameBeforeUpdate);
});
test('[XAT-5500] Previous document version title should be the same in Preview mode as in Version Manager - Recent Files', async ({
@@ -224,8 +224,7 @@ test.describe('viewer zoom functionality and reset', () => {
await myLibrariesPage.navigate();
await myLibrariesPage.dataTable.performClickFolderOrFileToOpen(randomLibraryName);
await myLibrariesPage.dataTable.performClickFolderOrFileToOpen(randomDocxName);
await myLibrariesPage.viewer.waitForViewerLoaderToFinish();
expect(await myLibrariesPage.viewer.isViewerOpened(), 'Viewer is not opened').toBe(true);
await myLibrariesPage.viewer.waitForViewerToOpen();
await myLibrariesPage.viewer.waitForZoomPercentageToDisplay();
await validateFitToPageButtonActivity(myLibrariesPage);
});