Sha256: b35d419e4aa4f08f784b63c2a11166f7912d2aaad9545f12d721963e284d8e18

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

Feature: Create page

  Background:
    Given I go to the home page
    And I wait for ajax call complete

  @javascript
  Scenario: Create a new page
    When I right click node "./folder"
    And I follow "Create page"
    Then I should see dialog box titled "Create page"

    When I fill in the dialog box input with "The new page"
    And press "OK"
    And I reload the page
    And I double click node "./folder"
    Then I should see "The new page"

    When I click node "./folder/The new page.txt"
    Then I should have the following open tabs:
      | The new page |

  @javascript
  Scenario: Create an existing page
    When I right click node "./folder"
    And I follow "Create page"
    Then I should see dialog box titled "Create page"

    When I fill in the dialog box input with "test"
    And press "OK"
    And I reload the page
    And I double click node "./folder"
    And I click node "./folder/test.txt"
    Then I should see "Test 1" within "h3"

  @javascript
  Scenario: Create a folder
    When I right click node "./folder"
    And I follow "Create folder"
    Then I should see dialog box titled "Create folder"

    When I fill in the dialog box input with "The new folder"
    And press "OK"
    And I reload the page
    And I double click node "./folder"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rwiki-0.1.3 features/create_page.feature