diff --git a/src/cdk/overlay/position/flexible-connected-position-strategy.spec.ts b/src/cdk/overlay/position/flexible-connected-position-strategy.spec.ts index 7201dc809b7..d946af7c871 100644 --- a/src/cdk/overlay/position/flexible-connected-position-strategy.spec.ts +++ b/src/cdk/overlay/position/flexible-connected-position-strategy.spec.ts @@ -1154,7 +1154,7 @@ describe('FlexibleConnectedPositionStrategy', () => { it('should align to the trigger if the overlay is wider than the viewport, but the trigger ' + 'is still within the viewport', () => { originElement.style.top = '200px'; - originElement.style.left = '200px'; + originElement.style.left = '150px'; positionStrategy.withPositions([ {