Skip to content

Commit

Permalink
Whitespace cleanup of Cucumber feature file
Browse files Browse the repository at this point in the history
Change-Id: Ice8eee56b19a3f524fea916f91be886b0ad94c1a
  • Loading branch information
zeljkofilipin committed Aug 19, 2013
1 parent 9fa6d7d commit e595270
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions selenium_cuc/features/label.feature
Original file line number Diff line number Diff line change
Expand Up @@ -14,55 +14,64 @@ Feature: Edit label
Then Original label should be displayed
And Label edit button should be there
And Label cancel button should not be there

Scenario: Click edit button
When I click the label edit button
Then Label input element should be there
And Label input element should contain original label
And Label cancel button should be there

Scenario: Modify the label
When I click the label edit button
And I enter MODIFIED LABEL as label
Then Label save button should be there
And Label cancel button should be there
And Label edit button should not be there

Scenario: Label cancel
When I click the label edit button
And I enter MODIFIED LABEL as label
And I click the label cancel button
Then Original label should be displayed
And Label edit button should be there
And Label cancel button should not be there

Scenario: Label cancel with ESCAPE
When I click the label edit button
And I enter MODIFIED LABEL as label
And I press the ESC key
Then Original label should be displayed
And Label edit button should be there
And Label cancel button should not be there

Scenario: Label save
When I click the label edit button
And I enter MODIFIED LABEL as label
And I click the label save button
Then MODIFIED LABEL should be displayed as label
When I reload the page
Then MODIFIED LABEL should be displayed as label

Scenario: Label save with RETURN
When I click the label edit button
And I enter MODIFIED LABEL as label
And I press the RETURN key
Then MODIFIED LABEL should be displayed as label
When I reload the page
Then MODIFIED LABEL should be displayed as label

Scenario: Label with unnormalized value
When I click the label edit button
And I enter bla bla as label
And I click the label save button
Then bla bla should be displayed as label

Scenario: Label with "0" as value
When I click the label edit button
And I enter 0 as label
And I click the label save button
Then 0 should be displayed as label

Scenario: Label with a too long value
When I click the label edit button
And I enter looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong as label
Expand Down

0 comments on commit e595270

Please sign in to comment.