Aleksander Nowodzinski50bb75c2e5Updated how the getPositionedAncestor() is used in the getOptimalPosition() because it no longer considers the passed element. Refactoring in tests.
50bb75c2e5
Updated how the getPositionedAncestor() is used in the getOptimalPosition() because it no longer considers the passed element. Refactoring in tests.