TSK-1121: Corrected HTML to fit old unit tests
This commit is contained in:
parent
d991db248c
commit
9205d87367
|
@ -13,11 +13,9 @@
|
|||
<a *ngIf="hasItems" (click)="changeToPage(page?.totalPages)" aria-label="Last">Last</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="footer pull-right">
|
||||
<span [hidden]="numberOfItems === 0">
|
||||
<i [innerHTML]="getPagesTextToShow()"></i>
|
||||
</span>
|
||||
<span [hidden]="numberOfItems !== 0 && page.totalElements !== 0">
|
||||
<i>Loading...</i>
|
||||
</span>
|
||||
</div>
|
||||
<span class="footer pull-right" [hidden]="numberOfItems === 0">
|
||||
<i [innerHTML]="getPagesTextToShow()"></i>
|
||||
</span>
|
||||
<span class="footer pull-right" [hidden]="numberOfItems !== 0 && page.totalElements !== 0">
|
||||
<i>Loading...</i>
|
||||
</span>
|
||||
|
|
|
@ -34,7 +34,6 @@ describe('PaginationComponent', () => {
|
|||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
expect(debugElement.querySelectorAll('#wb-pagination > li').length).toBe(2);
|
||||
});
|
||||
|
||||
it('should create 3 pages if total pages are 3', () => {
|
||||
|
|
Loading…
Reference in New Issue