Skip to content

Commit

Permalink
[ACS-5156] Bug fixes for search Input (#3182)
Browse files Browse the repository at this point in the history
* Serach Input Visible

* Serach Input Visible

* cleanup library file

* Search input visible

---------

Co-authored-by: vijayanssettu <vijayan.settu@hyland.com>
  • Loading branch information
vijayanssettu and vijayanssettu committed May 26, 2023
1 parent bf1fa75 commit 638d2f7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
10 changes: 0 additions & 10 deletions e2e/suites/search/search-results-libraries.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,16 +174,6 @@ describe('Search results - libraries', () => {
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 () => {
await toolbar.clickSearchIconButton();
await searchInput.clickSearchButton();
Expand Down
1 change: 0 additions & 1 deletion projects/aca-content/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@
}
},
"SEARCH_LIBRARIES": {
"TITLE": "Libraries found...",
"FOUND_RESULTS": "{{ number }} results",
"FOUND_ONE_RESULT": "{{ number }} result"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
(ngModelChange)="inputChange($event)"
(keyup.enter)="searchSubmit($event)"
[placeholder]="'SEARCH.INPUT.PLACEHOLDER' | translate"
autocomplete="off"
/>
<div matSuffix class="app-suffix-search-icon-wrapper">
<mat-icon *ngIf="searchTerm.length" (click)="clear()" class="app-clear-icon">clear</mat-icon>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<aca-page-layout>
<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">
<ng-container *ngFor="let entry of actions; trackBy: trackByActionId">
<aca-toolbar-action [actionRef]="entry"></aca-toolbar-action>
Expand Down

0 comments on commit 638d2f7

Please sign in to comment.