When i'm trying to test a method that uses pageDecorator.getAbsoluteParent(), the test fails throwing a null pointer exception. When i checked the AEM library code's test classes for page decorator, they've used page.getAbsoluteParent() which works perfectly fine. (Not sure how the tests were passed)
When i'm trying to test a method that uses pageDecorator.getAbsoluteParent(), the test fails throwing a null pointer exception. When i checked the AEM library code's test classes for page decorator, they've used page.getAbsoluteParent() which works perfectly fine. (Not sure how the tests were passed)
Here is the content:-
Error_-