From 3f64fc1bedd0ae189d8cd3d7e7aefaf2a7b9e883 Mon Sep 17 00:00:00 2001 From: Matt Rogers Date: Mon, 12 Dec 2011 10:54:28 -0600 Subject: [PATCH] Add a feature to prevent project editing in two places at once Still marked as wip for the moment. Will unmark it after it passes. --- features/project_edit.feature | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/features/project_edit.feature b/features/project_edit.feature index a21dfc2c..8bf9ef89 100644 --- a/features/project_edit.feature +++ b/features/project_edit.feature @@ -33,6 +33,18 @@ Feature: Edit a project Then I should see that a project named "release tracks 1.8" is not present And I should see that a project named "release tracks 2.0" is present + @selenium @wip + Scenario: I cannot edit the project name in two places + Given I have a project "release tracks 1.8" with 1 todos + When I go to the "release tracks 1.8" project + And I click to edit the project name in place + Then I should be able to change the project name in place + When I edit the project settings + Then I should not be able to change the project name in placeA + When I close the project settings + Then I should be able to change the project name in place + + # Ticket #1041 @selenium Scenario: I can change the name of the project using the Edit Project Settings form