mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-5601] Add badges to custom name column (#3450)
* [ACS-5601] Add badges to name column component * [ACS-5601] Add on click handler to column badges * [ACS-5601] Fix badge hover color * [ACS-5601] Restore modal configuration, prettier fixes * [ACS-5601] Add missing tooltip translation * [ACS-5601] Add process content services to extension service * [ACS-5601] Add adf dynamic component to custom name column * [ACS-5601] Add missing dosc and unit tests * [ACS-5601] Post rebase package lock update * [ACS-5601] CR fixes * [ACS-5601] Unit test fix * [ACS-5601] CR fix * [ACS-5601] Fix unit test, add contrast gray to badges * [ACS-5601] fix fail test and exclude one test * [ACS-5601] fix fail test and exclude one test --------- Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
This commit is contained in:
@@ -56,7 +56,7 @@ test.describe('Single click on item name', () => {
|
||||
});
|
||||
|
||||
test.afterAll(async ({ nodesApiAction }) => {
|
||||
await nodesApiAction.deleteNodes([deletedFolder1Id, deletedFile1Id], true);
|
||||
await nodesApiAction.deleteNodes([deletedFolder1Id, deletedFile1Id, folder1Id, folderSearchId], true);
|
||||
});
|
||||
|
||||
test('[C284899] Hyperlink does not appear for items in the Trash', async ({ trashPage }) => {
|
||||
@@ -65,17 +65,11 @@ test.describe('Single click on item name', () => {
|
||||
expect(await trashPage.dataTable.getCellLinkByName(deletedFolder1).isVisible(), 'Link on name is present').toBe(false);
|
||||
});
|
||||
|
||||
test.describe('on Personal Files', () => {
|
||||
test.afterAll(async ({ nodesApiAction }) => {
|
||||
await nodesApiAction.deleteNodes([folder1Id, folderSearchId], true);
|
||||
});
|
||||
|
||||
test('[C280034] Navigate inside the folder when clicking the hyperlink on Personal Files', async ({ personalFiles }) => {
|
||||
await personalFiles.navigate();
|
||||
await personalFiles.dataTable.getCellLinkByName(folder1).click();
|
||||
await personalFiles.dataTable.spinnerWaitForReload();
|
||||
expect(await personalFiles.breadcrumb.currentItem.innerText()).toBe(folder1);
|
||||
});
|
||||
test('[C280034] Navigate inside the folder when clicking the hyperlink on Personal Files', async ({ personalFiles }) => {
|
||||
await personalFiles.navigate();
|
||||
await personalFiles.dataTable.getCellLinkByName(folder1).click();
|
||||
await personalFiles.dataTable.spinnerWaitForReload();
|
||||
expect(await personalFiles.breadcrumb.currentItem.innerText()).toBe(folder1);
|
||||
});
|
||||
|
||||
test('[C284902] Navigate inside the library when clicking the hyperlink on File Libraries', async ({ myLibrariesPage }) => {
|
||||
|
@@ -1 +1,3 @@
|
||||
{}
|
||||
{
|
||||
"C286379": "https://alfresco.atlassian.net/browse/ACS-5601"
|
||||
}
|
||||
|
@@ -102,7 +102,6 @@ test.describe('viewer action file', () => {
|
||||
const download = await downloadPromise;
|
||||
expect(download.suggestedFilename(), 'File should found in download location').toBe(fileForEditOffline);
|
||||
expect(await personalFiles.viewer.isViewerOpened(), 'Viewer is closed after pressing Full screen').toBe(true);
|
||||
await personalFiles.reload({ waitUntil: 'domcontentloaded' });
|
||||
await personalFiles.acaHeader.clickViewerMoreActions();
|
||||
expect(await personalFiles.matMenu.isMenuItemVisible('Cancel Editing'), 'Cancel Editing menu should be visible').toBe(true);
|
||||
});
|
||||
@@ -112,7 +111,6 @@ test.describe('viewer action file', () => {
|
||||
await personalFiles.viewer.waitForViewerToOpen();
|
||||
await personalFiles.acaHeader.clickViewerMoreActions();
|
||||
await personalFiles.matMenu.clickMenuItem('Cancel Editing');
|
||||
await personalFiles.reload({ waitUntil: 'domcontentloaded' });
|
||||
await personalFiles.acaHeader.clickViewerMoreActions();
|
||||
expect(await personalFiles.matMenu.isMenuItemVisible('Edit Offline'), 'Edit offline menu should be visible').toBe(true);
|
||||
});
|
||||
|
Reference in New Issue
Block a user