online_manual.feature
1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@docs
Feature: online manual
  As a user
  I want to read the manual
  So that I know how to do something in Noosfero
  Background:
    Given the documentation is built
  Scenario: initial page of online manual
    When I go to /doc
    Then I should see "Noosfero online manual"
  Scenario: displaying index content
    When I go to /doc
    Then I should see "User features"
    And I should see "Content Management"
  Scenario: displaying section
    When I go to /doc
    And I follow "User features"
    Then I should see "Accepting friends"
    And I should see "Commenting"
  Scenario: displaying topic
    When I go to /doc
    And I follow "User features"
    And I follow "Commenting"
    Then I should see "How to access"
  Scenario: adding title on browser
    When I go to /doc
    Then I should see "Online Manual - Colivre.net"
  Scenario: adding title on browser in a section
    When I go to /doc
    And I follow "User features"
    Then I should see "User features - Online Manual - Colivre.net"
  Scenario: adding title on browser in a topic
    When I go to /doc
    And I follow "User features"
    And I follow "Commenting articles"
    Then I should see "Commenting articles - User features - Online Manual - Colivre.net"