-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config object data unavailable within features called from karate-config.js #1838
Comments
@ptrthomas I should clarify. I meant passing any object reference to another feature file within karate-config. I just happened to be using config in this case. Eg "config.testData" here... |
@kirksl ok. will look into this later. can you try a quick experiment. and var temp = karate.toJson({ testData: config.testData, entity: data });
karate.call(callee, temp); |
@ptrthomas done. |
@kirksl just took a look at this and the project is a bit too complicated to navigate. I'd like it to be more minimal, because from what little I could understand, this is not valid use of call etc. anyway, it is most likely fixed in the latest changes to |
This issue started occurring after Karate 1.0.1
myproject.zip
What we are expecting (eg "testData", "someConfigVar", "someConfigVal")
The text was updated successfully, but these errors were encountered: