Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. try to find the Test by key, if found then update it; else...
  2. try to find the Test having:
    1. a label with the original relative path of .feature (e.g. "core/sample_addition.feature)
    2. a label named "id:xxx", where xxx is some number (e.g. "id:1", "id:32"); this label comes from a scenario/scenario outline's tag
    3. no other label ending in ".feature"
  3. try to find the Test having:
    1. a label with the original relative path of .feature (e.g. "core/sample_addition.feature)
    2. the same summary
    3. no other label ending in ".feature"
  4. try to find the Test having:
    1. the same Summary
    2. no label ending in ".feature", except the one corresponding to the relative path of the Cucumber file being imported
  5. When a Test is found, if Xray Enterprise is enabled, the import will update
    • the default version if it is Cucumber/Gherkin,
    • the latest active Cucumber/Gherkin test case version.
    • create a new version if none of the previous ones are matched
  6. create Test in that project and add a label with the relative path of the feature. The tags used in the scenario/scenario outline are also added as labels.

...