groovy.lang.MissingMethodException: No signature of method:
cucumber.runtime.groovy.GroovyWorld.to() is applicable for argument types: (java.lang.Class) values: [class com.mgl.ngr.automation.pages.LoginPage]
Possible solutions: is(java.lang.Object), any(), use([Ljava.lang.Object;), with(groovy.lang.Closure), any(groovy.lang.Closure), use(java.lang.Class, groovy.lang.Closure)
at cucumber.runtime.groovy.GroovyWorld.findWorldWithMethod(GroovyWorld.java:77)
at cucumber.runtime.groovy.GroovyWorld.invokeMethod(GroovyWorld.java:38)
at CucumberVUSStepDef$_run_closure1.doCall(CucumberVUSStepDef.groovy:6)
at ✽.Given a VUS that is "true"(C:/Development/GIT/ngr-automated-testing/src/cucumber/resources/features/CucumberVUS.feature:6)
Disconnected from the target VM, address: '
127.0.0.1:51182', transport: 'socket'
Process finished with exit code 1