Balrog994 / cucumber-test-runner

An Extension for Visual Studio Code to Run and Debug CucumberJS Tests
MIT License
5 stars 8 forks source link

Run Test doesn't work when try to run a single scenario #13

Closed cchuyc closed 1 year ago

cchuyc commented 1 year ago

When I Click Run Test to try to run a single scenario. I see a record was generated at the terminal (see the screenshot) there is no pass or failed mark with the step. Seems nothing happend.

I clicked the Show Result Output. But there is nothing to show. image

40740379883bbacd5936c6756ec4182

here is my cucumber.js configuration

image

Balrog994 commented 1 year ago

Hi @cchuyc ,

have you tried looking at the "Cucumber Test Runner" output window and see if there are any errors?

By looking at your configuration file, it seems like you have some more configuration options that are not visible in the screenshot. Please ensure that no path is specified in the options used by the test runner, it usually break the runner because of a bug in cucumber-cli.

You can follow the guide in README to configure a custom profile just for the runner ;)

cchuyc commented 1 year ago

Thank you @Balrog994 ,the problem was solved after the cucumberTestRunner.profile was configured correctly.