From bcf261c14ad80d0e4831b576189b7bc8cac72317 Mon Sep 17 00:00:00 2001 From: plamenamiteva Date: Tue, 5 Oct 2021 13:28:17 +0300 Subject: [PATCH] test(overlay): fix failing test #9882 --- .../igniteui-angular/src/lib/services/overlay/overlay.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/igniteui-angular/src/lib/services/overlay/overlay.spec.ts b/projects/igniteui-angular/src/lib/services/overlay/overlay.spec.ts index 6d69b5a5159..a522217ae56 100644 --- a/projects/igniteui-angular/src/lib/services/overlay/overlay.spec.ts +++ b/projects/igniteui-angular/src/lib/services/overlay/overlay.spec.ts @@ -3138,7 +3138,7 @@ describe('igxOverlay', () => { tick(); wrapperElement = (fixture.nativeElement as HTMLElement) .parentElement.getElementsByClassName(CLASS_OVERLAY_WRAPPER_MODAL)[0] as HTMLElement; - expect(wrapperElement.style.visibility).toEqual('hidden'); + expect(wrapperElement).toBeUndefined(); })); // 3.2 Non - Modal