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-dev-0.12.17dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.16dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.15dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.14dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.13dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.12dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.11dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.10dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.9dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.8dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.7dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.6dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.4dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.3dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.1dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.0dev-java plugins/edit_view/features/cut_and_paste.feature
redcar-0.11 plugins/edit_view/features/cut_and_paste.feature
redcar-0.11.0dev plugins/edit_view/features/cut_and_paste.feature
redcar-0.10 plugins/edit_view/features/cut_and_paste.feature
redcar-0.9.2 plugins/edit_view/features/cut_and_paste.feature