@ -136,76 +136,3 @@ Feature: The work_package hierarchy defines the allowed versions for each work_p
#Scenario: Moving a task between stories on the taskboard
#Scenario: Moving a task between stories on the taskboard
# not testable for now
# not testable for now
@javascript
Scenario: Creating a task, via subtask, as a subtask to a story sets the new task's fixed version to the parent's fixed version
When Igotothepageoftheworkpackage"StoryA"
And Ifollowthelinktoaddasubtask
And Iselect"Task"from"work_package_type_id"
And Ifillin"Task0815"for"work_package_subject"
And Iclickonthefirstbuttonmatching"Create"
Then Ishouldsee"Sprint001"within"#work-package-version"
@javascript
Scenario: Creating a task, via new work_package, as a subtask to a story set´s the new task´s fixed version to the parent´s fixed version
When Igotothenewwork_packagepageoftheprojectcalled"ecookbook"
And Iselect"Task"from"work_package_type_id"
And Ifillin"Task0815"for"work_package_subject"
And Ifillintheidofthework_package"StoryA"astheparentwork_package
And Iclickonthefirstbuttonmatching"Create"
Then Ishouldsee"Sprint001"within"#work-package-version"
@javascript
Scenario: Creating a task, via new work_package, as a subtask to a story and setting a fixed version is overriden by the parent´s fixed version (bug 8904)
When Igotothenewwork_packagepageoftheprojectcalled"ecookbook"
And Iselect"Task"from"work_package_type_id"
And Ifillin"Task0815"for"work_package_subject"
And Ifillintheidofthework_package"StoryA"astheparentwork_package
And Iselect"Sprint003"from"work_package_fixed_version_id"
And Iclickonthefirstbuttonmatching"Create"
Then Ishouldsee"Sprint001"within"#work-package-version"
@javascript
Scenario: Moving a task between stories via work_package/edit (bug 9324)
Given theprojecthasthefollowingtasks:
|subject |parent |
|Task1 |StoryA |
When Igototheeditpageofthework_package"Task1"
And Ifillintheidofthework_package"StoryC"astheparentwork_package
And Ipress"Submit"
Then Ishouldsee"Sprint002"within"#work-package-version"
Scenario: Changing the fixed_version of a task with a non backlogs parent work_package (bug 8354)
Given theprojecthasthefollowingwork_packages:
|subject |sprint |type |
|Epic1 |Sprint001 |Epic |
And theprojecthasthefollowingtasks:
|subject |parent |
|Task1 |Epic1 |
When Igototheeditpageofthework_package"Task1"
And Iselect"Sprint002"from"work_package_fixed_version_id"
And Ipress"Submit"
Then Ishouldsee"Successfulupdate."within"div.flash"
Scenario: Changing the fixed_version of an epic should not change the target version of the child (bug 8903)
Given theprojecthasthefollowingwork_packages:
|subject |sprint |type |parent |
|Epic1 |Sprint001 |Epic | |
|Task1 |Sprint002 |Task |Epic1 |
When Igototheeditpageofthework_package"Epic1"
And Iselect"Sprint003"from"work_package_fixed_version_id"
And Ipress"Submit"
Then Ishouldsee"Successfulupdate."within"div.flash"
And thetask"Task1"shouldhave"Sprint002"asitstargetversion
Scenario: Modification of a backlogs story with tasks is still possible (bug 9711)
Given theprojecthasthefollowingtasks:
|subject |parent |
|Task1 |StoryA |
|Task2 |StoryA |
When Igototheeditpageofthework_package"StoryA"
And Iselect"Sprint002"from"work_package_fixed_version_id"
And Iclick"Submit"
Then Ishouldnotsee"Datahasbeenupdatedbyanotheruser."within"div.flash"
And thestory"StoryA"shouldhave"Sprint002"asitstargetversion
And thetask"Task1"shouldhave"Sprint002"asitstargetversion
And thetask"Task2"shouldhave"Sprint002"asitstargetversion