Sha256: 72db4d7762681f7f2412928a9848559c170d3635a0fc7cc33af10d0a7a27a60f

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

Feature: Display a page

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

  @javascript
  Scenario: Display the home.txt page
    When I click node "./home.txt"
    And I wait for ajax call complete

    Then I should have the following open tabs:
      | home |
    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 node "./folder"
    And I click node "./folder/test.txt"
    And I wait for ajax call complete

    Then I should have the following open tabs:
      | test |
    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 node "./home.txt"
    And I double click node "./folder"
    And I click node "./folder/test.txt"
    And I wait for ajax call complete

    Then I should have the following open tabs:
      | home |
      | test |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rwiki-0.1.3 features/display_page.feature