[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
@@ -143,7 +143,7 @@ test.describe('Unshare a file from Search Results', () => {
await page.goto(url);
await personalFiles.viewer.waitForViewerToOpen();
await expect(personalFiles.viewer.fileTitleButtonLocator).not.toHaveText(file2);
await expect(personalFiles.viewer.fileTitleButton).not.toHaveText(file2);
expect(await nodesApiAction.isFileShared(file2Id)).toBe(false);
});
@@ -174,7 +174,7 @@ test.describe('Unshare a file from Search Results', () => {
await page.goto(url);
await personalFiles.viewer.waitForViewerToOpen();
expect(personalFiles.viewer.fileTitleButtonLocator.textContent()).not.toEqual(file4);
expect(personalFiles.viewer.fileTitleButton.textContent()).not.toEqual(file4);
expect(await nodesApiAction.isFileShared(file4Id)).toBe(false);
});