Sha256: e360bbb0f5bbdc2002abdf71fa3f3c042239edb832979360d359d48cb56f479a

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

Feature: Delete a page

  Background:
    Given I open the application

  Scenario: Delete a page
    When I right click the tree node "/Home/Personal stuff"
    And I follow "Delete page"
    Then I should see dialog box titled "Confirm"

    When I press "Yes" within the dialog box
    Then I should not see the tree node titled "Personal stuff"

    When I reload the application
    Then I should not see the tree node titled "Personal stuff"

  Scenario: Delete a page when the tab is open
    When I open the page "/Home/Personal stuff"
    And I open the page "/Home/Development"
    And I right click the tree node "/Home/Development"
    And I follow "Delete page"
    Then I should see dialog box titled "Confirm"

    When I press "Yes" within the dialog box
    Then I should not see the tree node titled "Development"
    And I should see active tab titled "Personal stuff"
    And I should see the application title "Rwiki /Home/Personal stuff"

    When I right click the tree node "/Home/Personal stuff"
    And I follow "Delete page"
    Then I should see dialog box titled "Confirm"

    When I press "Yes" within the dialog box
    Then I should not see the tree node titled "Personal stuff"
    And I should have no open tabs
    And I should see the application title "Rwiki"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rwiki-0.2.5 features/delete_page.feature