From 657969b27801a277b9cdfcaa3849615dd1651aff Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Tue, 2 Nov 2021 10:44:31 +0200 Subject: [PATCH] test(material/select): fix failing unit test Fixes a unit test that started failing, because it tries to scroll the page down, but there isn't enough content for it to scroll. --- src/material/select/select.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/select/select.spec.ts b/src/material/select/select.spec.ts index 8a2a9905ef75..c47af1cf88e7 100644 --- a/src/material/select/select.spec.ts +++ b/src/material/select/select.spec.ts @@ -4407,7 +4407,7 @@ describe('MatSelect', () => { it('should fall back to "below" positioning properly when scrolled', fakeAsync(() => { // Give plenty of space for the select to open below the trigger - fixture.componentInstance.heightBelow = 650; + fixture.componentInstance.heightBelow = 2000; fixture.detectChanges(); // Select an option too low in the list to fit in limited space above