Sha256: ae1c3a89342e12bd127432f809f194c979b819eee321990a23dad2aac704f10f

Contents?: true

Size: 1.37 KB

Versions: 2

Compression:

Stored size: 1.37 KB

Contents

Feature: Editing a page

  Background:
    Given I open the application

  @javascript
  Scenario: Invoke the editor window
    When I click the node with path "./home.txt"
    And I press "Edit the page"
    Then I should see the window titled "Editing page ./home.txt"

  @javascript
  Scenario: Edit and save the page
    When I click the node with path "./home.txt"
    And I press "Edit the page"
    Then I should see the window titled "Editing page ./home.txt"

    When I fill in "editor" with "h1. A new page header"
    And I press "Save"
    Then I should not see the window
    And I should see "A new page header" within "h1"

    When I reload the application
    Then I should see "A new page header" within "h1"

  @javascript
  Scenario: Edit and Save and continue
    When I click the node with path "./home.txt"
    And I press "Edit the page"
    Then I should see the window titled "Editing page ./home.txt"

    When I fill in "editor" with "h1. A new page header"
    And I press "Save and continue"
    Then I should see "A new page header" within "h1"


  @javascript
    Scenario: Edit and Cancel
    When I click the node with path "./home.txt"
    And I press "Edit the page"
    Then I should see the window titled "Editing page ./home.txt"

    When I fill in "editor" with "h1. A new page header"
    And I press "Cancel"
    Then I should see "Sample page" within "h1"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rwiki-0.2.2 features/editor.feature
rwiki-0.2.1 features/editor.feature