[ACA-1607] Libraries - add/remove favorite library action (#816)

* workaround rework

* avorite unfavorite i18n reference

* extension definition

* is favorite library default value

* add action tooltip

* toglle favorite library state

* add toggle favorite library directive

* remove default isFavorite library value

* rework favorite library directive

* mark selected as favorite on favorite libaries route

* update tests

* add context menu delete library action

* update e2e
This commit is contained in:
Cilibiu Bogdan
2018-11-22 12:37:14 +02:00
committed by Denys Vuika
parent f0f9867d44
commit 0bd64f2543
8 changed files with 113 additions and 50 deletions

View File

@@ -126,10 +126,10 @@ describe('Context menu actions - single selection : ', () => {
expect(await dataTable.hasContextMenu()).toBe(false, 'Context menu is displayed');
});
it('Context menu does not appear for a library - [C286276]', async () => {
it('Context menu appears for a library - [C286276]', async () => {
await page.clickFileLibrariesAndWait();
await dataTable.rightClickOnItem(siteName);
expect(await dataTable.hasContextMenu()).toBe(false, 'Context menu is displayed for a site');
expect(await dataTable.hasContextMenu()).toBe(true, 'Context menu is displayed for a site');
});
});