Sha256: b2ec439a75194c735a304cedc35b2bb2a0a9eea8bf7e27b3a2b9c01e284e7cd8

Contents?: true

Size: 1.73 KB

Versions: 7

Compression:

Stored size: 1.73 KB

Contents

Feature: Undo and Redo

  Scenario: Commands are inactive for a new tab
    When I open a new edit tab
    Then the menu item "Edit|Undo" should be inactive
    And the menu item "Edit|Redo" should be inactive
  
  Scenario: Undo becomes active when I type something
    When I open a new edit tab
    And I replace the contents with "Bolzano"
    Then the menu item "Edit|Undo" should be active
    And the menu item "Edit|Redo" should be inactive
    
  Scenario: Undo undoes typing
    When I open a new edit tab
    And I replace the contents with "Bolzano"
    And I undo
    Then I should not see "Bolzano" in the edit tab

  Scenario: Undo undoes typing twice
    When I open a new edit tab
    And I replace the contents with "Bolzano"
    And I replace the contents with "Weierstrass"
    And I undo
    Then I should not see "Weierstrass" in the edit tab
    And I should see "Bolzano" in the edit tab
    And I undo
    Then I should not see "Weierstrass" in the edit tab
    And I should not see "Bolzano" in the edit tab

  Scenario: Undo becomes inactive and redo active when I undo everything
    When I open a new edit tab
    And I replace the contents with "Bolzano"
    And I undo
    Then the menu item "Edit|Undo" should be inactive
    And the menu item "Edit|Redo" should be active
    
  Scenario: Redo redoes typing
    When I open a new edit tab
    And I replace the contents with "Bolzano"
    And I undo
    And I redo
    And I should see "Bolzano" in the edit tab
    
  Scenario: Redo becomes inactive when I redo everything
    When I open a new edit tab
    And I replace the contents with "Bolzano"
    And I undo
    And I redo
    Then the menu item "Edit|Undo" should be active
    And the menu item "Edit|Redo" should be inactive
    

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
redcar-0.3.4.3 plugins/edit_view/features/undo_and_redo.feature
redcar-0.3.4.2 plugins/edit_view/features/undo_and_redo.feature
redcar-0.3.4.1 plugins/edit_view/features/undo_and_redo.feature
redcar-0.3.4 plugins/edit_view/features/undo_and_redo.feature
redcar-0.3.3 plugins/edit_view/features/undo_and_redo.feature
redcar-0.3.2dev plugins/edit_view/features/undo_and_redo.feature
redcar-0.3.1dev plugins/edit_view/features/undo_and_redo.feature