Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,117
Community Members
 
Community Events
176
Community Groups

Importing cucumber feature file imports only one test

Edited

Hi, 

I have a feature file with two tests which I am trying to import using Xray, it creates the background but imports only one test. When I try to re-import the same file again, the first test description and steps gets updated from the second test in the file. So I could import only one test.

Could someone please help?

@xx-111 is ticket ID for an epic in our project. First time the import created test for scenario user can delete and gave an ID as say ex @xx-123 so I added that tag for first scenario which is User can Delete and re-imported the same file but this time the test @xx-123 got updated with the data from the second test id. User can edit. Confused.

 

@xx-111
Feature: Some feature description

  Background:
    Given Some step description
    When Some step description
    And Some step description
      | Categories | Region  | Currency | FromDate | ToDate  | Budget  |
      | somData    | somData | somData  | somData  | somData | somData |
    And Some step description
    And Some step description
    And Some step description
    And Some step description

  Scenario: User can delete
    Then Some step description
    When Some step description
    And Some step description
    Then Some step description

  Scenario: User can edit
    When Some step description
    Then Some step description
    And Some step description
      | name    | tot |
      | somData | 2   |
      | somData | 3   |
End point I am using -

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events