Skip to content
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

Run Configurations not using environment/VM options/arguments #36

Closed
arnaldop opened this issue Aug 1, 2023 · 4 comments
Closed

Run Configurations not using environment/VM options/arguments #36

arnaldop opened this issue Aug 1, 2023 · 4 comments
Assignees

Comments

@arnaldop
Copy link

arnaldop commented Aug 1, 2023

Running tests using the plugin does not take any of these into account:
image

To confirm, I expanded the full command in the Run window, and searched for the missing parameter, and it was not anywhere in the command.

/bin/java
-javaagent:...
-Dfile.encoding=UTF-8
-Dsun.stdout.encoding=UTF-8
-Dsun.stderr.encoding=UTF-8
-classpath JARs.jar
com.intuit.karate.Main
-H com.intuit.karate.cli.IntellijHook
/project/feature.feature:222

This was working at least 2-3 weeks ago.

@mvaldez
Copy link

mvaldez commented Aug 1, 2023

I'm having the same problem. The environment variables are not persisting when using the Karate intellij plugin on 2023.2. Works fine using command line with gradle.

@ptrthomas
Copy link
Member

this is high-priority, we are looking into it

@jansorg
Copy link

jansorg commented Aug 2, 2023

AFAIK this has the same root cause as #35

@ptrthomas
Copy link
Member

@arnaldop @mvaldez the new release 1.7.7.361 is now available, thanks for the feedback and your patience 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants