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

gauge-vscode v0.0.13 does not work with gauge-java v0.7.8 in Mac #442

Closed
jnlabs opened this issue Jul 15, 2020 · 7 comments
Closed

gauge-vscode v0.0.13 does not work with gauge-java v0.7.8 in Mac #442

jnlabs opened this issue Jul 15, 2020 · 7 comments

Comments

@jnlabs
Copy link

jnlabs commented Jul 15, 2020

gauge-vscode v0.0.13 does not work with gauge-java v0.7.8

Mac: Catalina 10.15.5
VS Code version: 1.47.1

gauge-vscode version: 0.0.13

Gauge version: 1.1.1
Plugins

html-report (4.0.12)
java (0.7.8)
js (2.3.12)
screenshot (0.0.1)
xml-report (0.2.3)

image
image

@sriv
Copy link
Member

sriv commented Jul 15, 2020

Do you see anything in the logs? Ideally there should be some information either in gauge.log or lsp.log.

Also, what does gauge version --machine-readable say?

@jnlabs
Copy link
Author

jnlabs commented Jul 16, 2020

I see lsp.log generated. I believe gauge.log is generated during test execution but my issue is that the vscode plugin features is not working such as 'Goto Definition' and 'Format Specification'.

lsp-clean.log

gauge version --machine-readable

@NivedhaSenthil
Copy link
Member

@jnlabs can you please update the plugins to latest version and try again

@jnlabs
Copy link
Author

jnlabs commented Jul 24, 2020

Hi @NivedhaSenthil , i updated the plugin to version 0.0.14.
Format Specification works only with .spec file but doesn't work with .cpt
Goto Definition only works with steps defined in concept. Below error is displayed when trying to goto definition with non-concept steps.
image

@NivedhaSenthil
Copy link
Member

Can you please ensure that gauge-java version is also updated? since there were few issue with the older version.
I could run a sample project fine with below versions.

Gauge version: 1.1.1
Commit Hash: 6e0d83f

Plugins
-------
html-report (4.0.12)
java (0.7.9)
screenshot (0.0.1)

@jnlabs
Copy link
Author

jnlabs commented Jul 24, 2020

Hi @NivedhaSenthil , thank you for your quick response. My project also running(test execution) just fine. The issue is vscode plugin unable to goto step definition and concept document format not working. Although we can still proceed but editing is difficult when these features are not working.

FYI, I have step definitions in src/test/java and steps from compiled maven artifact.
Below is my gauge-java version both gauge plugin and gradle dependency.

Gauge version: 1.1.1
Plugins
-------
html-report (4.0.12)
java (0.7.9) --> (same version with gradle dependency)
js (2.3.12)
screenshot (0.0.1)
xml-report (0.2.3)

@zabil
Copy link
Member

zabil commented Oct 28, 2020

Format Specification works only with .spec file but doesn't work with .cpt

This is a known issue getgauge/gauge#1509

FYI, I have step definitions in src/test/java and steps from compiled maven artifact.

This is not supported at the moment and is tracked here #438

@zabil zabil closed this as completed Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants