From cca54ccdd39fbb9da4a2aac4c6ab8d34526b8009 Mon Sep 17 00:00:00 2001 From: jwollert Date: Fri, 16 Sep 2011 17:05:17 +0200 Subject: [PATCH] fixin' the cukes, have to use ids on some occasions because capybara does not lightly click on a lowly span --- features/saving.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/saving.feature b/features/saving.feature index 5cfc1c8538..5787172ace 100644 --- a/features/saving.feature +++ b/features/saving.feature @@ -69,7 +69,7 @@ Feature: Saving Queries | view_time_entries | And I am logged in as "testuser" And I am on the Cost Reports page for the project called "Permission_Test" - Then I should not see "Save" within "#query-icon-save-as" # Save + Then I should not see "Save" within ".buttons" @javascript Scenario: Public Reports can't be saved by users allowed to save private queries @@ -131,7 +131,7 @@ Feature: Saving Queries And I follow "Save" within "#save_as_form" And I wait for Ajax And I should see "Testreport" within "#private_sidebar_report_list" - And I click on "Testreport" within "#query_saved_name" + And I click on "#query_saved_name" And I fill in "Renamed" for "value" And I press "Rename" within "#query_saved_name-inplaceeditor" And I wait for Ajax @@ -153,7 +153,7 @@ Feature: Saving Queries And I follow "Save" within "#save_as_form" And I wait for Ajax Then I should see "Testreport" within "#public_sidebar_report_list" - And I click on "Testreport" within "#query_saved_name" + And I click on "#query_saved_name" And I fill in "Renamed" for "value" And I press "Rename" within "#query_saved_name-inplaceeditor" And I wait for Ajax