Sha256: 43b95a17357d0ddffb34563604b5a31404459df46fa45df80d47e6bd9f7bcf4e

Contents?: true

Size: 1.24 KB

Versions: 34

Compression:

Stored size: 1.24 KB

Contents

Feature: Cut and Paste

  Background: 
    When I open a new edit tab

  Scenario: Cut removes the text
    When I replace the contents with "Frank"
    And I select from 0 to 3
    And I cut text
    Then I should not see "Fra" in the edit tab  
    And I should see "nk" in the edit tab  

  Scenario: Copy leaves the text
    When I replace the contents with "Frank"
    And I select from 0 to 3
    And I copy text
    Then I should see "Frank" in the edit tab  

  Scenario: Paste inserts the cut text
    When I replace the contents with "Frank"
    And I select from 0 to 3
    And I cut text
    And I move the cursor to 2
    And I paste text
    Then the contents should be "nkFra<c>"

  Scenario: Paste inserts the copied text
    When I replace the contents with "Frank"
    And I select from 0 to 3
    And I copy text
    And I move the cursor to 2
    And I paste text
    Then I should see "FrFraank" in the edit tab
    Then the contents should be "FrFra<c>ank"

  Scenario: Paste pastes the most recent copy
    When I replace the contents with "Frank"
    And I select from 0 to 3
    And I copy text
    And I select from 3 to 5
    And I copy text
    And I move the cursor to 0
    And I paste text
    Then the contents should be "nk<c>Frank"
 

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
redcar-0.9.1 plugins/edit_view/features/cut_and_paste.feature
redcar-0.9.0 plugins/edit_view/features/cut_and_paste.feature
redcar-0.8.1 plugins/edit_view/features/cut_and_paste.feature
redcar-0.8 plugins/edit_view/features/cut_and_paste.feature
redcar-0.7 plugins/edit_view/features/cut_and_paste.feature
redcar-0.6.1 plugins/edit_view/features/cut_and_paste.feature
redcar-0.6 plugins/edit_view/features/cut_and_paste.feature
redcar-0.6.1dev plugins/edit_view/features/cut_and_paste.feature
redcar-0.5.1 plugins/edit_view/features/cut_and_paste.feature
redcar-0.5 plugins/edit_view/features/cut_and_paste.feature
redcar-0.5.6dev plugins/edit_view/features/cut_and_paste.feature
redcar-0.5.5dev plugins/edit_view/features/cut_and_paste.feature
redcar-0.5.4dev plugins/edit_view/features/cut_and_paste.feature
redcar-0.5.3dev plugins/edit_view/features/cut_and_paste.feature