karate
karate copied to clipboard
JavaScript functions cannot access global vars after executing feature in nested context
If I am running a Karate feature, which calls a Java method, which then executes another Karate feature, something about that nested call to Karate seems to disrupt something in its JavaScript environment, such that JavaScript functions can no longer see global vars.
Attached is a zip file with a test (KarateJsGlobalTest.java) that reproduces the issue.