Sha256: fef89888cc7bd5deab8c4294e5f09ba0dc8a13bb48ea91a94dc2fa21eb658596

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

Feature: Display a page

  Background:
    Given I open the application

  @javascript
  Scenario: Display the home.txt page
    When I click the node with path "./home.txt"

    Then I should have the following open tabs:
      | home |
    And I should see page title "Rwiki ./home.txt"
    And I should see "Sample page" within "h1"
    And I should see "Lorem ipsum.."
    And I should see "Sample section" within "h2"

  @javascript
  Scenario: Display the ./folder/test.txt page
    When I double click the node with path "./folder"
    And I click the node with path "./folder/test.txt"

    Then I should have the following open tabs:
      | test |
    And I should see page title "Rwiki ./folder/test.txt"
    And I should see "Test 1" within "h3"
    And I should see "Item one"
    And I should see "Item two"
    And I should see "Item three"
    And I should see "Last item"

  @javascript
  Scenario: Display the several page
    When I click the node with path "./home.txt"
    And I double click the node with path "./folder"
    And I click the node with path "./folder/test.txt"

    Then I should have the following open tabs:
      | home |
      | test |
    And I should see page title "Rwiki ./folder/test.txt"

Version data entries

2 entries across 2 versions & 1 rubygems

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