mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1344] New Custom Loading Content Directive for Datatable Component (#4156)
* [ADF-1344] New Custom Loading Content Directive for Datatable Component * [ADF-1344] Add unit tests for directives on Document List * [ADF-1344] Add directive prefix to context-menu directive * [ADF-1344] Old directive selectors have been put back * [ADF-1344] Add old selector for empty-content directive
This commit is contained in:
committed by
Eugenio Romano
parent
5887fa1052
commit
1c25b50b1a
@@ -58,11 +58,11 @@ describe('SidebarActionMenuComponent', () => {
|
||||
@Component({
|
||||
template: `
|
||||
<adf-sidebar-action-menu [expanded]="expanded" [title]="title">
|
||||
<mat-icon sidebar-menu-title-icon>arrow_drop_down</mat-icon>
|
||||
<div sidebar-menu-expand-icon>
|
||||
<mat-icon adf-sidebar-menu-title-icon>arrow_drop_down</mat-icon>
|
||||
<div adf-sidebar-menu-expand-icon>
|
||||
<mat-icon>queue</mat-icon>
|
||||
</div>
|
||||
<div sidebar-menu-options>
|
||||
<div adf-sidebar-menu-options>
|
||||
<button mat-menu-item>
|
||||
<mat-icon>assignment</mat-icon>
|
||||
<span>Option1</span>
|
||||
@@ -122,7 +122,7 @@ describe('Custom SidebarActionMenuComponent', () => {
|
||||
expect(title.textContent).toBe('FakeTitle');
|
||||
});
|
||||
|
||||
it('should render the sidebar-menu-options', () => {
|
||||
it('should render the adf-sidebar-menu-options', () => {
|
||||
fixture.detectChanges();
|
||||
const actionButton = fixture.nativeElement.querySelector('.adf-sidebar-action-menu-button');
|
||||
const options = fixture.nativeElement.querySelectorAll('.adf-sidebar-action-menu-options');
|
||||
|
Reference in New Issue
Block a user