[ACA-1595] Location link - reduce HTTP requests for tooltip (#535)

* get node tooltip info on hover

* refactore

* remove nodeLocation private attribute

* e2e - added datatable method for async tooltips

* fix failing tests

* lint

* lint

* removed manual unsubscribe
This commit is contained in:
Cilibiu Bogdan
2018-07-26 22:39:19 +03:00
committed by Denys Vuika
parent 34888e2b0f
commit 617f80c9fd
5 changed files with 40 additions and 22 deletions

View File

@@ -136,7 +136,7 @@ describe('Shared Files', () => {
});
it('Location column displays a tooltip with the entire path of the file [C213667]', () => {
expect(dataTable.getItemLocationTooltip(fileAdmin)).toEqual(`File Libraries/${siteName}`);
expect(dataTable.getItemLocationTooltip(file1User)).toEqual(`Personal Files/${folderUser}`);
expect(dataTable.getItemLocationTileAttr(fileAdmin)).toEqual(`File Libraries/${siteName}`);
expect(dataTable.getItemLocationTileAttr(file1User)).toEqual(`Personal Files/${folderUser}`);
});
});