Hey everyone, myself and my team are currently struggling with an issue with IntelliJ regarding the implementation of Authoring Assistance as described here:
https://gebish.org/manual/current/#intellij-supportCurrently we are unable to utilize autocomplete for Navigators defined within our Page and Module classes when referencing them in our scripts.
So in the following example: and: "I click on Some Button on Some Page"
def somePage = to SomePage
somePage.someButton.click()In the instance that "SomePage" is defined as such:
class SomePage extends Page {
static at = { title.contains("SomePage") }
static content = {
someButton(wait:true) {$(#"someButton")}
}
}We are unable to utilize autocomplete when referencing "someButton" when making the call: editCallPage.someButton.click()
At this point we're starting to believe that strong typing is the best method (as it enables autocomplete) to allow for this functionality, but the Book of Geb lists IntelliJ IDEA's support as a viable alternative so I just don't understand what our team is doing wrong here.
We are currently utilizing IntelliJ IDEA 2021.2.3 (Ultimate Edition)
Any assistance would be greatly appreciated! Thanks!