mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-19 17:14:45 +00:00
[ACS-5156] Bug fixes for search Input (#3182)
* Serach Input Visible * Serach Input Visible * cleanup library file * Search input visible --------- Co-authored-by: vijayanssettu <vijayan.settu@hyland.com>
This commit is contained in:
parent
bf1fa75041
commit
638d2f776c
@ -174,16 +174,6 @@ describe('Search results - libraries', () => {
|
|||||||
expect(await dataTable.isItemPresent(site4.name)).toBe(true, `${site4.name} not displayed`);
|
expect(await dataTable.isItemPresent(site4.name)).toBe(true, `${site4.name} not displayed`);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('[C290015] Results page title', async () => {
|
|
||||||
await toolbar.clickSearchIconButton();
|
|
||||||
await searchInput.clickSearchButton();
|
|
||||||
await searchInput.checkLibraries();
|
|
||||||
await searchInput.searchForLibrary(random);
|
|
||||||
await dataTable.waitForBody();
|
|
||||||
|
|
||||||
expect(await page.breadcrumb.currentItem.getText()).toEqual('Libraries found...');
|
|
||||||
});
|
|
||||||
|
|
||||||
it('[C290016] Results page columns', async () => {
|
it('[C290016] Results page columns', async () => {
|
||||||
await toolbar.clickSearchIconButton();
|
await toolbar.clickSearchIconButton();
|
||||||
await searchInput.clickSearchButton();
|
await searchInput.clickSearchButton();
|
||||||
|
@ -235,7 +235,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"SEARCH_LIBRARIES": {
|
"SEARCH_LIBRARIES": {
|
||||||
"TITLE": "Libraries found...",
|
|
||||||
"FOUND_RESULTS": "{{ number }} results",
|
"FOUND_RESULTS": "{{ number }} results",
|
||||||
"FOUND_ONE_RESULT": "{{ number }} result"
|
"FOUND_ONE_RESULT": "{{ number }} result"
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
(ngModelChange)="inputChange($event)"
|
(ngModelChange)="inputChange($event)"
|
||||||
(keyup.enter)="searchSubmit($event)"
|
(keyup.enter)="searchSubmit($event)"
|
||||||
[placeholder]="'SEARCH.INPUT.PLACEHOLDER' | translate"
|
[placeholder]="'SEARCH.INPUT.PLACEHOLDER' | translate"
|
||||||
|
autocomplete="off"
|
||||||
/>
|
/>
|
||||||
<div matSuffix class="app-suffix-search-icon-wrapper">
|
<div matSuffix class="app-suffix-search-icon-wrapper">
|
||||||
<mat-icon *ngIf="searchTerm.length" (click)="clear()" class="app-clear-icon">clear</mat-icon>
|
<mat-icon *ngIf="searchTerm.length" (click)="clear()" class="app-clear-icon">clear</mat-icon>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<aca-page-layout>
|
<aca-page-layout>
|
||||||
<aca-page-layout-header>
|
<aca-page-layout-header>
|
||||||
<adf-breadcrumb root="APP.BROWSE.SEARCH_LIBRARIES.TITLE"> </adf-breadcrumb>
|
<aca-search-input></aca-search-input>
|
||||||
|
<div class="adf-toolbar--spacer adf-toolbar-divider"></div>
|
||||||
<adf-toolbar class="adf-toolbar--inline">
|
<adf-toolbar class="adf-toolbar--inline">
|
||||||
<ng-container *ngFor="let entry of actions; trackBy: trackByActionId">
|
<ng-container *ngFor="let entry of actions; trackBy: trackByActionId">
|
||||||
<aca-toolbar-action [actionRef]="entry"></aca-toolbar-action>
|
<aca-toolbar-action [actionRef]="entry"></aca-toolbar-action>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user