Skip to content

Commit 2fe4c97

Browse files
committed
test(progress-bar): check for text visibility in indeterminate bar, #6129
1 parent 4ffb53e commit 2fe4c97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

projects/igniteui-angular/src/lib/progressbar/circularbar.component.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,9 @@ describe('IgCircularBar', () => {
450450
fix.detectChanges();
451451

452452
expect(bar.classList.contains(CIRCULAR_INDETERMINATE_CLASS)).toEqual(true);
453+
454+
// Expect text in indeterminate bar to be hidden;
455+
expect(getComputedStyle(bar.querySelector('text').firstElementChild).visibility).toEqual('hidden');
453456
});
454457
});
455458
});

0 commit comments

Comments
 (0)