|
|
@ -23,7 +23,7 @@ Feature: Saving Queries |
|
|
|
And I click on "Save" |
|
|
|
And I click on "Save" |
|
|
|
And I fill in "Testreport" for "query_name" |
|
|
|
And I fill in "Testreport" for "query_name" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I wait for Ajax |
|
|
|
And I wait 10 seconds for Ajax |
|
|
|
Then I should see "Testreport" within "#ur_caption" |
|
|
|
Then I should see "Testreport" within "#ur_caption" |
|
|
|
And I should see "Testreport" within "#private_sidebar_report_list" |
|
|
|
And I should see "Testreport" within "#private_sidebar_report_list" |
|
|
|
And I should see "Issue" in columns |
|
|
|
And I should see "Issue" in columns |
|
|
@ -49,13 +49,13 @@ Feature: Saving Queries |
|
|
|
And I click on "Clear" |
|
|
|
And I click on "Clear" |
|
|
|
And I group columns by "Issue" |
|
|
|
And I group columns by "Issue" |
|
|
|
And I group rows by "Project" |
|
|
|
And I group rows by "Project" |
|
|
|
And I wait for Ajax |
|
|
|
And I wait 10 seconds for Ajax |
|
|
|
And I set the filter "user_id" to the user with the login "developer" with the operator "!" |
|
|
|
And I set the filter "user_id" to the user with the login "developer" with the operator "!" |
|
|
|
And I click on "Save" |
|
|
|
And I click on "Save" |
|
|
|
And I fill in "Testreport" for "query_name" |
|
|
|
And I fill in "Testreport" for "query_name" |
|
|
|
And I check "Public" |
|
|
|
And I check "Public" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I wait for Ajax |
|
|
|
And I wait 10 seconds for Ajax |
|
|
|
Then I should see "Testreport" within "#ur_caption" |
|
|
|
Then I should see "Testreport" within "#ur_caption" |
|
|
|
And I should see "Testreport" within "#public_sidebar_report_list" |
|
|
|
And I should see "Testreport" within "#public_sidebar_report_list" |
|
|
|
And I should see "Issue" in columns |
|
|
|
And I should see "Issue" in columns |
|
|
@ -86,7 +86,7 @@ Feature: Saving Queries |
|
|
|
Then I should not see "Public" |
|
|
|
Then I should not see "Public" |
|
|
|
And I fill in "Testreport" for "query_name" |
|
|
|
And I fill in "Testreport" for "query_name" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I wait for Ajax |
|
|
|
And I wait 10 seconds for Ajax |
|
|
|
Then I should see "Testreport" within "#ur_caption" |
|
|
|
Then I should see "Testreport" within "#ur_caption" |
|
|
|
And I should see "Testreport" within "#private_sidebar_report_list" |
|
|
|
And I should see "Testreport" within "#private_sidebar_report_list" |
|
|
|
|
|
|
|
|
|
|
@ -104,7 +104,7 @@ Feature: Saving Queries |
|
|
|
Then I should see "Public" |
|
|
|
Then I should see "Public" |
|
|
|
And I fill in "Testreport" for "query_name" |
|
|
|
And I fill in "Testreport" for "query_name" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I wait 15 seconds for Ajax |
|
|
|
And I wait 10 seconds for Ajax |
|
|
|
Then I should see "Testreport" within "#ur_caption" |
|
|
|
Then I should see "Testreport" within "#ur_caption" |
|
|
|
And I should see "Testreport" within "#private_sidebar_report_list" |
|
|
|
And I should see "Testreport" within "#private_sidebar_report_list" |
|
|
|
Then I should see "Save" within "#query-icon-save-as" # Save |
|
|
|
Then I should see "Save" within "#query-icon-save-as" # Save |
|
|
@ -113,7 +113,7 @@ Feature: Saving Queries |
|
|
|
And I check "Public" |
|
|
|
And I check "Public" |
|
|
|
And I fill in "Testreport2" for "query_name" |
|
|
|
And I fill in "Testreport2" for "query_name" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I wait for Ajax |
|
|
|
And I wait 10 seconds for Ajax |
|
|
|
Then I should see "Testreport2" within "#ur_caption" |
|
|
|
Then I should see "Testreport2" within "#ur_caption" |
|
|
|
And I should see "Testreport2" within "#public_sidebar_report_list" |
|
|
|
And I should see "Testreport2" within "#public_sidebar_report_list" |
|
|
|
And I should see "Testreport" within "#private_sidebar_report_list" |
|
|
|
And I should see "Testreport" within "#private_sidebar_report_list" |
|
|
@ -130,12 +130,12 @@ Feature: Saving Queries |
|
|
|
And I click on "Save" |
|
|
|
And I click on "Save" |
|
|
|
And I fill in "Testreport" for "query_name" |
|
|
|
And I fill in "Testreport" for "query_name" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I wait for Ajax |
|
|
|
And I wait 10 seconds for Ajax |
|
|
|
And I should see "Testreport" within "#private_sidebar_report_list" |
|
|
|
And I should see "Testreport" within "#private_sidebar_report_list" |
|
|
|
And I click on "#query_saved_name" |
|
|
|
And I click on "#query_saved_name" |
|
|
|
And I fill in "Renamed" for "value" |
|
|
|
And I fill in "Renamed" for "value" |
|
|
|
And I press "Rename" within "#query_saved_name-inplaceeditor" |
|
|
|
And I press "Rename" within "#query_saved_name-inplaceeditor" |
|
|
|
And I wait for Ajax |
|
|
|
And I wait 10 seconds for Ajax |
|
|
|
Then I should see "Renamed" within "#private_sidebar_report_list" |
|
|
|
Then I should see "Renamed" within "#private_sidebar_report_list" |
|
|
|
And I should not see "Testreport" within "#private_sidebar_report_list" |
|
|
|
And I should not see "Testreport" within "#private_sidebar_report_list" |
|
|
|
|
|
|
|
|
|
|
@ -152,12 +152,12 @@ Feature: Saving Queries |
|
|
|
And I fill in "Testreport" for "query_name" |
|
|
|
And I fill in "Testreport" for "query_name" |
|
|
|
And I check "Public" |
|
|
|
And I check "Public" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I follow "Save" within "#save_as_form" |
|
|
|
And I wait for Ajax |
|
|
|
And I wait 10 seconds for Ajax |
|
|
|
Then I should see "Testreport" within "#public_sidebar_report_list" |
|
|
|
Then I should see "Testreport" within "#public_sidebar_report_list" |
|
|
|
And I click on "#query_saved_name" |
|
|
|
And I click on "#query_saved_name" |
|
|
|
And I fill in "Renamed" for "value" |
|
|
|
And I fill in "Renamed" for "value" |
|
|
|
And I press "Rename" within "#query_saved_name-inplaceeditor" |
|
|
|
And I press "Rename" within "#query_saved_name-inplaceeditor" |
|
|
|
And I wait for Ajax |
|
|
|
And I wait 10 seconds for Ajax |
|
|
|
Then I should see "Renamed" within "#public_sidebar_report_list" |
|
|
|
Then I should see "Renamed" within "#public_sidebar_report_list" |
|
|
|
Then I should not see "Testreport" within "#public_sidebar_report_list" |
|
|
|
Then I should not see "Testreport" within "#public_sidebar_report_list" |
|
|
|
|
|
|
|
|
|
|
|