-
Notifications
You must be signed in to change notification settings - Fork 5
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
IntelliJ: JavaScript-style outline variables are not interpolated in scenario names #41
Comments
@petrandreev interesting. the intellij log parsing system doesn't seem to like back-ticks and the below test works fine, but the moment you add one of the above, you see the problem Feature:
Scenario Outline: name is
* def name = name
* match name == "#? _ == 'Bob' || _ == 'Nyan'"
Examples:
| name | age | title |
| Bob | 10 | name is Bob and age is 10 |
| Nyan | 5 | name is Nyan and age is 5 | |
@petrandreev then please follow this process so we can fix this in the core project: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue |
Thanks for response, I'm sure you will find the paid time to file the issue, following the mentioned |
remove intellij hook because of complaints: karatelabs/intellij-plugin#41 remove legacy ide support
fixed and in early access here: https://github.com/karatelabs/karate-intellij-plugin/wiki/V2-Refactor-2024 |
In IntelliJ IDEA, Build #IC-232.9921.47, built on September 12, 2023
with Karate (Freemium) plugin, Version 1.7.7.361-232:
while running tests in
![image](https://private-user-images.githubusercontent.com/5670574/270326797-e65cd5a1-f570-41f4-a325-b6ac46d5072a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2OTE3OTQsIm5iZiI6MTczOTY5MTQ5NCwicGF0aCI6Ii81NjcwNTc0LzI3MDMyNjc5Ny1lNjVjZDVhMS1mNTcwLTQxZjQtYTMyNS1iNmFjNDZkNTA3MmEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDczODE0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDU2NTIwYjQ0YTJiODIwNTQ5ZjBjNzQwN2ExZGUwMTM0ZmM4ZGM1YTNmYzYwNTNjMTcyZWYwYmZlNGVjZTE5YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ytEjaPeoFhvqWInxl11rK71hN-MeQCv81_gSTbYC04k)
karate-core/src/test/java/com/intuit/karate/core/parser/test-outline-name-js.feature
the JS variable names are not interpolated and the cog wheels suggest tests to infinitely run, but they all are completed:
Karate reports show proper JS-expressions interpolation though:
![image](https://private-user-images.githubusercontent.com/5670574/270327073-e3d608fb-8edf-4c7b-8bd9-455ee2727092.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2OTE3OTQsIm5iZiI6MTczOTY5MTQ5NCwicGF0aCI6Ii81NjcwNTc0LzI3MDMyNzA3My1lM2Q2MDhmYi04ZWRmLTRjN2ItOGJkOS00NTVlZTI3MjcwOTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDczODE0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTkyZGY2YjdlOTg2OTdhNzJhZGRjYTljNzc4Yzk5NzcwNjRhODg0MDAwNzM1N2FkNzE0OWI2YmI4N2Y1MTY2YSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.SqjD_fS-fVz9w98K-re5oKk4bibcezmC_XufENZhgys)
The text was updated successfully, but these errors were encountered: