cuke optimizations

* using faster logged in step
pull/6827/head
Jens Ulferts 13 years ago
parent a6943e902e
commit 113c8ff633
  1. 16
      features/filter.feature

@ -3,7 +3,7 @@ Feature: Filter
@javascript
Scenario: When using jump-to-project comming from the overall cost report to a projects report sets the project filter to that project
Given there is a standard cost control project named "First Project"
And I am logged in as "controller"
And I am already logged in as "controller"
And I am on the overall Cost Reports page
And I jump to project "First Project"
Then "First Project" should be selected for "project_id_arg_1_val"
@ -11,7 +11,7 @@ Feature: Filter
@javascript
Scenario: When using jump-to-project comming from a projects cost report to the overall cost report page unsets the project filter
Given there is a standard cost control project named "First Project"
And I am logged in as "controller"
And I am already logged in as "controller"
And I am on the Cost Reports page for the project called "First Project"
And I follow "Cost Reports"
Then "" should be selected for "project_id_arg_1_val"
@ -20,7 +20,7 @@ Feature: Filter
Scenario: When using jump-to-project comming from a projects cost report to another projects report sets the project filter to the second project
Given there is a standard cost control project named "First Project"
And there is a standard cost control project named "Second Project"
And I am logged in as "controller"
And I am already logged in as "controller"
And I am on the Cost Reports page for the project called "First Project"
And I jump to project "Second Project"
Then "Second Project" should be selected for "project_id_arg_1_val"
@ -28,7 +28,7 @@ Feature: Filter
@javascript
Scenario: We got some awesome default settings
Given there is a standard cost control project named "First Project"
And I am logged in as "controller"
And I am already logged in as "controller"
And I am on the Cost Reports page for the project called "First Project"
Then filter "spent_on" should be visible
And filter "user_id" should be visible
@ -36,7 +36,7 @@ Feature: Filter
@javascript
Scenario: A click on clear removes all filters
Given there is a standard cost control project named "First Project"
And I am logged in as "controller"
And I am already logged in as "controller"
And I am on the Cost Reports page for the project called "First Project"
And I click on "Clear"
Then filter "spent_on" should not be visible
@ -45,7 +45,7 @@ Feature: Filter
@javascript
Scenario: A set filter is getting restored after reload
Given there is a standard cost control project named "First Project"
And I am logged in as "controller"
And I am already logged in as "controller"
And I am on the Cost Reports page for the project called "First Project"
And I wait for Ajax
And I click on "Clear"
@ -58,7 +58,7 @@ Feature: Filter
@javascript
Scenario: A click on clear enables the option in the Add-Filter-Selectbox
Given there is a standard cost control project named "First Project"
And I am logged in as "controller"
And I am already logged in as "controller"
And I am on the Cost Reports page for the project called "First Project"
And I wait for Ajax
Then "user_id" should not be selectable from "add_filter_select"
@ -70,7 +70,7 @@ Feature: Filter
@javascript
Scenario: Setting a Filter disables the option in the Add-Filter-Selectbox
Given there is a standard cost control project named "First Project"
And I am logged in as "controller"
And I am already logged in as "controller"
And I am on the Cost Reports page for the project called "First Project"
And I wait for Ajax
And I click on "Clear"

Loading…
Cancel
Save