MicroFocus / octane-teamcity-plugin

Other
0 stars 8 forks source link

After renaming feature files, Octane still uses the old names #41

Open deni-hi opened 10 months ago

deni-hi commented 10 months ago

Hello,

starting tests and getting the results was working nicely until I renamed some of my feature files. After renaming, I started all tests from Octane's Pipeline section and the results arrived in Octane. However, Octane doesn't seem to have updated this information (new file names) internally: if I start the tests from the test suite, the names of the files that are passed to TeamCity in the "testsToRun" parameter are still the old ones.

The report file created when starting the tests from the Pipeline section contains the new file names inside the tag in the "path" attribute. There's also a "tag" attribute, which refers to the Octane tag. So I imagine using this information the plugin could update the names of the files inside Octane. Please let me know if there's an alternative way to make this happen and if you need more information about this issue.

I wish you a great start to 2024!

nissimshitrit commented 10 months ago

Hello @deni-hi , it seems like an issue with Octane , we will handle for future release. Only workaround I found for this issue that you will be able to run inside suite run is by creating new test on Octane, it can be done by remove the Octane annotation that map to ID's from Octane in feature file the repository like '@TID*REV1.0.' or '@BSPID' Thanks, Nissim

deni-hi commented 10 months ago

Hi @nissimshitrit thanks for clarifying this. I've recreated the tests with new ids. Unfortunately this way the history of the tests is lost, as it's linked to the old ids, but fortunately the feature file names aren't changed often. I'll be looking forward to the new release. I appreciate your quick response! Best, Denise