[ACA-3468] Enable Document List filters in ACA (#1495)

* [ACA-3471] too long french translation doesn't fix in the UI (#1499)

* [ACA-3538] Fix search result layout (#1500)

* [ACA-3468] Enable Document List filters in ACA

* [ACA-3468] Get pagination settings from document list

* [ACA-3468] Move event handlers and pagination to page component

* [ACA-3468] Remove useless OnChanges

* [ACA-3468] Fix linter

* [ACA-3468] Add test for document list definition

* [ACA-3468] Fix lint

* [ACA-3468] Remove identifier

* [ACA-3468] Update to lastest ADF alpha to fix search result

* [ACA-3468] Update to lastest ADF alpha

* Fixed unit test

* re-enable tests

* rollback changes to test

* fix reload

* * fixed search e2e

* fix issue with page reload on search results

* update tests

Co-authored-by: arditdomi <32884230+arditdomi@users.noreply.github.com>
Co-authored-by: PizzaVito <vito.albano.123@gmail.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: dhrn <dharan.g@muraai.com>
This commit is contained in:
Baptiste Mahé
2020-06-29 18:28:31 +02:00
committed by GitHub
parent ef5457875e
commit 2e8b863413
10 changed files with 280 additions and 36 deletions

View File

@@ -24,6 +24,7 @@
*/
import { BrowsingPage, Viewer, Utils } from '@alfresco/aca-testing-shared';
import { BrowserActions } from '@alfresco/adf-testing';
const page = new BrowsingPage();
const { dataTable, toolbar } = page;
@@ -104,7 +105,7 @@ export async function checkMultipleSelToolbarActions(items: string[], expectedTo
export async function checkViewerActions(item: string, expectedToolbarPrimary: string[], expectedToolbarMore: string[]): Promise<void> {
await dataTable.selectItem(item);
await toolbar.viewButton.click();
await BrowserActions.click(toolbar.viewButton);
await viewer.waitForViewerToOpen();
let actualPrimaryActions = await viewerToolbar.getButtons();