Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
Description
whenever importing cucumber tests from scenarios, Tests are not correctly identified if feature has same name.
The first found Test is updated, even if belongs to a completely different feature file (although having a similar name, but stored on a different location).
(hard to reproduce; see comments below)
How to reproduce:
- import 1 Test from feature/sample.feature
- import another Test from feature/core/sample.feature
What is expected:
- Two different Tests would be created
- first one with "id:x" and "sample.feature" labels
- second one with "id:y" and "core/sample.feature" labels
What happens:
- the first Test is found and id:y will be added to it (wrongly) and "sample.feature" will be added to it (wrongly) and steps will be overwritten based on the second test (wrongly).. summary will also wrongly be overwritten
See attachment example.zip (just rename core/example.feature to sample.feature)
Attachments
Issue Links
- duplicates
-
XRAYJENKINS-37 Improve the performance of the Cucumber .features import task to do just one API request
- Resolved