abhinaba-ghosh / cucumber-quick

:rabbit2: vscode extension to run cucumber scenarios quickly and easily
https://marketplace.visualstudio.com/items?itemName=AbhinabaGhosh.cucumberquick
MIT License
5 stars 7 forks source link

Running Feature or Scenario Issue #3

Closed Sand5 closed 4 years ago

Sand5 commented 4 years ago

I'm facing an issue when running the any feature or scenarios using the webdriverio cucumber framework.

Im seeing the following error message displayed every time I right click and run the .feature file.

2020-06-01T12:57:54.683Z INFO @wdio/cli:launcher: Run onPrepare hook 2020-06-01T12:57:54.685Z ERROR @wdio/cli:launcher: Missing capabilities, exiting with failure 2020-06-01T12:57:54.686Z INFO @wdio/cli:launcher: Run onComplete hook

I do not have anything contained within this hook so i know that is the problem. However what shall I place in that hook?

Any help would be greatly appreciated.

abhinaba-ghosh commented 4 years ago

Hi @Kwabs5 , Sorry for replying late. I guess, you need to set the cucumber-quick configuration correctly in your .vscode/settings.json file.

I have created a video to show how to configure the settings to make use of this extension with WebDriverIO. Go through it, and let me know if this can solve the issue.

cucumber-quick.webm.zip

Sand5 commented 4 years ago

Hi @abhinaba-ghosh

Firstly thank you very much for getting back to me, this greatly appreciated.

Also thank you for providing the video that was very kind of you. With your support I have now managed to get the the plugin working.

Thank you once again.

abhinaba-ghosh commented 4 years ago

Hi @Kwabs5 , I am glad that it helped. Do raise requests if you like to see some changes/enhancements in the extension.

Sand5 commented 4 years ago

Hi @abhinaba-ghosh ,

Sure I will do, I have seen one small change that is required. When running cucumber scenario outlines the plugin does not seem to run just that scenario outline but all files. I think it would be a good step to have this added in. I will raise a request for this.

Thanks