[AAE-5362] Add option to make actions button visible only on hover (#7117)

* [AAE-5362] Add option to make actions button visible only on hover

* [AAE-5362] Refactor

* Unrelated linting fixes
This commit is contained in:
Thomas Hunter
2021-06-22 17:28:38 +02:00
committed by GitHub
parent b5e4316c08
commit e2b8557f4b
7 changed files with 29 additions and 9 deletions

View File

@@ -135,7 +135,7 @@ describe('CommentsComponent', () => {
getProcessCommentsSpy.and.returnValue(of([]));
fixture.detectChanges();
await fixture.whenStable()
await fixture.whenStable();
expect(fixture.nativeElement.querySelector('#comment-container')).toBeNull();
});
@@ -145,7 +145,7 @@ describe('CommentsComponent', () => {
component.ngOnChanges({'taskId': change});
fixture.detectChanges();
await fixture.whenStable()
await fixture.whenStable();
expect(fixture.nativeElement.querySelector('#comment-input')).not.toBeNull();
});
@@ -154,7 +154,7 @@ describe('CommentsComponent', () => {
component.readOnly = true;
fixture.detectChanges();
await fixture.whenStable()
await fixture.whenStable();
expect(fixture.nativeElement.querySelector('#comment-input')).toBeNull();
});