Sha256: a40d7b4fdec2acf1c8a0be4964cc86140b634a9bf9062473b31a49e68c662f5f

Contents?: true

Size: 1.33 KB

Versions: 3

Compression:

Stored size: 1.33 KB

Contents

Feature: Tab Panel

  Background:
    Given I open the application

  @javascript
  Scenario: Close a tab
    When I click the node with path "./home.txt"
    And I click the node with path "./test.txt"

    Then I should have the following open tabs:
      | home |
      | test |
    And the node with path "./test.txt" should be selected

    When I close tab for page "./test.txt"
    Then I should have the following open tabs:
      | home |
    And the node with path "./test.txt" should be selected

    When I close tab for page "./home.txt"
    Then I should have no open tabs

  @javascript
  Scenario: Switching a tabs
    When I click the node with path "./home.txt"
    And I click the node with path "./test.txt"
    Then I should see "This is a test"

    When I click tab for page "./home.txt"
    Then I should see "Sample page" within "h1"
    And the node with path "./home.txt" should be selected
    And the node with path "./test.txt" should not be selected

    When I click tab for page "./test.txt"
    Then I should see "This is a test"
    And the node with path "./test.txt" should be selected
    And the node with path "./home.txt" should not be selected

  @javascript
  Scenario: Close tab from context menu

  @javascript
  Scenario: Close other tabs from context menu

  @javascript
  Scenario: Close all tabs from context menu

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rwiki-0.2.3 features/tab_panel.feature
rwiki-0.2.2 features/tab_panel.feature
rwiki-0.2.1 features/tab_panel.feature