From 2dbeb565a81ce6842d3e867456b421a612bef497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 17 Nov 2015 11:19:25 +0100 Subject: [PATCH 1/2] Remove cuke for duplicate --- features/edit_story.feature | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/features/edit_story.feature b/features/edit_story.feature index 6702067e76..f8326ee5f4 100644 --- a/features/edit_story.feature +++ b/features/edit_story.feature @@ -161,16 +161,3 @@ Feature: Edit story on backlogs view And I follow "New Story" of the "Sprint 001" backlogs menu And I close the "Sprint 001" backlogs menu Then I should not see "Epic" within_hidden ".type_id.helper" - - @javascript - Scenario: Story duplication with copying all tasks - Given the project has the following tasks: - | subject | parent | - | Task 1 | Story A | - And I am on the work package index page for the project called "ecookbook" - When I follow "Story A" - And I select "Duplicate" from the action menu - And I choose "copy_tasks_all" within "#backlogs-attributes" - And I press "Create" - And I follow "Relations" - Then I should see "Task 1" From 1017d89a1887de399e34cb2d14e10f911f1abb79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 17 Nov 2015 11:29:18 +0100 Subject: [PATCH 2/2] Remove create tasks via work package view --- .../fixed_version_by_issue_hierarchy.feature | 73 ------------------- ...chy_restriction_project_boundaries.feature | 12 --- 2 files changed, 85 deletions(-) diff --git a/features/fixed_version_by_issue_hierarchy.feature b/features/fixed_version_by_issue_hierarchy.feature index ebecbe2023..2c13db11be 100644 --- a/features/fixed_version_by_issue_hierarchy.feature +++ b/features/fixed_version_by_issue_hierarchy.feature @@ -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 # 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 I go to the page of the work package "Story A" - And I follow the link to add a subtask - And I select "Task" from "work_package_type_id" - And I fill in "Task 0815" for "work_package_subject" - And I click on the first button matching "Create" - Then I should see "Sprint 001" 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 I go to the new work_package page of the project called "ecookbook" - And I select "Task" from "work_package_type_id" - And I fill in "Task 0815" for "work_package_subject" - And I fill in the id of the work_package "Story A" as the parent work_package - And I click on the first button matching "Create" - Then I should see "Sprint 001" 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 I go to the new work_package page of the project called "ecookbook" - And I select "Task" from "work_package_type_id" - And I fill in "Task 0815" for "work_package_subject" - And I fill in the id of the work_package "Story A" as the parent work_package - And I select "Sprint 003" from "work_package_fixed_version_id" - And I click on the first button matching "Create" - Then I should see "Sprint 001" within "#work-package-version" - - @javascript - Scenario: Moving a task between stories via work_package/edit (bug 9324) - Given the project has the following tasks: - | subject | parent | - | Task 1 | Story A | - When I go to the edit page of the work_package "Task 1" - And I fill in the id of the work_package "Story C" as the parent work_package - And I press "Submit" - Then I should see "Sprint 002" within "#work-package-version" - - Scenario: Changing the fixed_version of a task with a non backlogs parent work_package (bug 8354) - Given the project has the following work_packages: - | subject | sprint | type | - | Epic 1 | Sprint 001 | Epic | - And the project has the following tasks: - | subject | parent | - | Task 1 | Epic 1 | - When I go to the edit page of the work_package "Task 1" - And I select "Sprint 002" from "work_package_fixed_version_id" - And I press "Submit" - Then I should see "Successful update." within "div.flash" - - Scenario: Changing the fixed_version of an epic should not change the target version of the child (bug 8903) - Given the project has the following work_packages: - | subject | sprint | type | parent | - | Epic 1 | Sprint 001 | Epic | | - | Task 1 | Sprint 002 | Task | Epic 1 | - When I go to the edit page of the work_package "Epic 1" - And I select "Sprint 003" from "work_package_fixed_version_id" - And I press "Submit" - Then I should see "Successful update." within "div.flash" - And the task "Task 1" should have "Sprint 002" as its target version - - Scenario: Modification of a backlogs story with tasks is still possible (bug 9711) - Given the project has the following tasks: - | subject | parent | - | Task 1 | Story A | - | Task 2 | Story A | - When I go to the edit page of the work_package "Story A" - And I select "Sprint 002" from "work_package_fixed_version_id" - And I click "Submit" - Then I should not see "Data has been updated by another user." within "div.flash" - And the story "Story A" should have "Sprint 002" as its target version - And the task "Task 1" should have "Sprint 002" as its target version - And the task "Task 2" should have "Sprint 002" as its target version diff --git a/features/issue_hierarchy_restriction_project_boundaries.feature b/features/issue_hierarchy_restriction_project_boundaries.feature index 7764bbefd1..d06d7b56ff 100644 --- a/features/issue_hierarchy_restriction_project_boundaries.feature +++ b/features/issue_hierarchy_restriction_project_boundaries.feature @@ -98,15 +98,3 @@ Feature: The work_package hierarchy between backlogs stories and backlogs tasks And the user "markus" is a "scrum master" in the project "child_project" And the "cross_project_work_package_relations" setting is set to true And I am already logged in as "markus" - - @javascript - Scenario: Adding a task in the child project as a child to the story is inhibited - Given the project "parent_project" has the following work_packages: - | subject | type | - | Story A | Story | - When I go to the work_packages/new page of the project called "child_project" - And I select "Task" from "work_package_type_id" - And I fill in "Task 0815" for "work_package_subject" - And I fill in the id of the work_package "Story A" as the parent work_package - And I click on the first button matching "Create" - Then I should be notified that the work_package "Story A" is an invalid parent to the work_package "Task 0815" because of cross project limitations