Hi,
I have:
Visual Studio Code
- Version: 1.78.2
- Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
- Date: 2023-05-10T14:44:45.204Z (2 wks ago)
- Electron: 22.5.2
- Chromium: 108.0.5359.215
- Node.js: 16.17.1
- V8: 10.8.168.25-electron.0
- OS: Darwin x64 21.6.0
- Sandboxed: Yes
ZenWave Karate IDE v1.3.4
ZenWave KarateIDE Classpath Jar v1.4.0
Karate Jar: karate-1.4.0.jar
Procedure
In the explorer, I right click a yaml file, then I click Karate IDE Generate Karate Test
Results
While with the petstore.yaml, the plugin works, with a api.yaml file created by me I get the error message below:
2023-05-31 16:20:41.076 [error] TypeError: Cannot read properties of undefined (reading 'paths')
at t.getOperationsFor (/Users/dcremonini/.vscode/extensions/karateide.karate-ide-1.3.4/dist/extension.js:2:257374)
at /Users/dcremonini/.vscode/extensions/karateide.karate-ide-1.3.4/dist/extension.js:2:252610
at Generator.next (<anonymous>)
at a (/Users/dcremonini/.vscode/extensions/karateide.karate-ide-1.3.4/dist/extension.js:2:251678) karateIDE.generators.openapi.test {"value":"KarateIDE.karate-ide","c":"karateide.karate-ide"}
Additional information
- There aren't any similar bugs.
- A comparison of the structure of the
petstore.yaml and of api.yaml doesn't ring any bell.
- I reinstalled the plugins a few times.
- I can't share the original file but I'm willing to work on it to nail down the problem.
- If I rename
karate-1.4.0.jar to karate.jar has no effect.
- In .vscode/settings.json I have:
{
"karateIDE.karateCli.karateEnv": ""
}
Hi,
I have:
Visual Studio Code
ZenWave Karate IDE v1.3.4
ZenWave KarateIDE Classpath Jar v1.4.0
Karate Jar: karate-1.4.0.jar
Procedure
In the explorer, I right click a yaml file, then I click Karate IDE Generate Karate Test
Results
While with the
petstore.yaml, the plugin works, with aapi.yamlfile created by me I get the error message below:Additional information
petstore.yamland ofapi.yamldoesn't ring any bell.karate-1.4.0.jartokarate.jarhas no effect.