Balrog994 / cucumber-test-runner

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

Renaming a Feature keeps the old named Feature visible within Test Explorer #3

Closed hardymj closed 1 year ago

hardymj commented 1 year ago

Hi, I went to rename a feature and noticed that one the the feature was renamed the original name was still present in the Test Explorer

Example. I started with the following basic named feature files. Before

I renamed FeatureOne to become FeatureThree and FeatureThree appears but FeatureOne is still present image

If you select the to Go to Test on Feature One it will display the "the editor could not be opened because the file was not found" image

If you restart Visual Studio Code, it does remove FeatureOne.

Pressing the Refresh Tests does not remove the old named feature

hardymj commented 1 year ago

If the Feature file is within the folder features, it will rename ok. If the feature file is outside of this folder then it doesn't auto update

hardymj commented 1 year ago

I can confirm this is now working. Thanks