intellij-community icon indicating copy to clipboard operation
intellij-community copied to clipboard

IDEA-113632 - Fix Geb Page content not being available

Open Poundex opened this issue 1 year ago • 0 comments

Fixes IDEA-113632

When using Page objects, Geb makes the content from the Page definition available. However, IJ is currently not recognising this:

notworking

This change makes content from the current detected Page available:

working

Any method which changes the Page (to(), via(), page()) or asserts the current page (at()) will modify the current page, and only content from the last detected page will be in scope. The dynamic variables have the correct type, and navigate correctly back to their definitions in the Page. Completion is also working as expected:

completion

Poundex avatar Oct 15 '24 12:10 Poundex