[ACS-12629] Automate XAT-19936 + lots of viewer refactoring (#5372)

* [ACS-12629] Automated xat-19936 - pt1

* [ACS-12629] viewer refactoring

* [ACS-12629] infodrawer changes

* [ACS-12629] sonar fix 1
This commit is contained in:
Adam Świderski
2026-09-04 14:11:11 +02:00
committed by GitHub
parent 8134f59d80
commit ec82e76753
22 changed files with 148 additions and 87 deletions
@@ -139,7 +139,7 @@ test.describe('Remember sorting', () => {
test('[XAT-4526] Size sort order is retained after viewing a file and closing the viewer', async ({ personalFiles }) => {
await personalFiles.dataTable.performClickFolderOrFileToOpen(initialSortState.firstElement);
await personalFiles.viewer.closeButtonLocator.click();
await personalFiles.viewer.closeButton.click();
await personalFiles.waitForPageLoad();
const firstExpectedSortState = await getSortState(personalFiles);
expect(firstExpectedSortState).toEqual(initialSortState);
@@ -149,7 +149,7 @@ test.describe('Remember sorting', () => {
await personalFiles.page.waitForTimeout(1000);
const secondExpectedSortData = await getSortState(personalFiles);
await personalFiles.dataTable.performClickFolderOrFileToOpen(secondExpectedSortData.firstElement);
await personalFiles.viewer.closeButtonLocator.click();
await personalFiles.viewer.closeButton.click();
await personalFiles.waitForPageLoad();
const actualSortData = await getSortState(personalFiles);
expect(actualSortData).toEqual(secondExpectedSortData);