mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[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:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user