Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 3001 Bytes
1 | Feature: Managing pages |
2 | In order to create, modify, and delete content from the website |
3 | a content editor |
4 | wants to manipulate pages in the admin interface |
5 | |
6 | Scenario: Listing pages |
7 | Given I am logged in as "existing" |
8 | When I go to the "pages" admin page |
9 | Then I should see "Pages" |
10 | And I should see "Home" |
11 | |
12 | Scenario: No pages |
13 | Given I am logged in as "existing" |
14 | Given there are no pages |
15 | When I go to the "pages" admin page |
16 | Then I should see "No Pages" |
17 | |
18 | Scenario: Creating a homepage |
19 | Given I am logged in as "existing" |
20 | Given there are no pages |
21 | When I go to the "pages" admin page |
22 | And I follow "New Homepage" |
23 | Then I should see "New Page" |
24 | And there should be a "body" part |
25 | And there should be an "extended" part |
26 | When I fill in "Page Title" with "My site" |
27 | And I fill in "Slug" with "/" |
28 | And I fill in "Breadcrumb" with "My site" |
29 | And I fill in the "body" content with "Under Construction" |
30 | And I fill in the "extended" content with "foobar" |
31 | And I select "Published" from "Status" |
32 | And I press "Create page" |
33 | Then I should be on the sitemap |
34 | And I should see "My site" |
35 | When I go to the homepage |
36 | Then I should see "Under Construction" |
37 | |
38 | Scenario: Creating child pages |
39 | Given I am logged in as "existing" |
40 | And there is a homepage |
41 | When I go to the "pages" admin page |
42 | And I follow "Add child" |
43 | Then I should see "New Page" |
44 | And there should be a "body" part |
45 | And there should be an "extended" part |
46 | When I fill in "Page Title" with "My child" |
47 | And I fill in "Slug" with "my-child" |
48 | And I fill in "Breadcrumb" with "My child" |
49 | And I fill in the "body" content with "Under Construction" |
50 | And I fill in the "extended" content with "foobar" |
51 | And I select "Published" from "Status" |
52 | And I press "Save and Continue Editing" |
53 | Then I should see "Edit Page" |
54 | And I should see "Under Construction" |
55 | When I go to the new child page |
56 | Then I should see "Under Construction" |
57 | |
58 | Scenario: Delete page |
59 | Given I am logged in as "existing" |
60 | When I go to the "pages" admin page |
61 | And I follow "Remove" |
62 | Then I should see "permanently remove" |
63 | When I press "Delete Pages" |
64 | Then I should see "No Pages" |
65 | |
66 | Scenario: View a page |
67 | Given I am logged in as "existing" |
68 | When I view a page |
69 | Then I should see "Edit Page" |
70 | |
71 | Scenario: Change page type |
72 | Given I am logged in as "existing" |
73 | When I edit the "virtual" page |
74 | And I select "<normal>" from "Page type" |
75 | And I press "Save and Continue Editing" |
76 | Then I should see "Edit Page" |
77 | And "<normal>" should be selected for "Page type" |
78 | |
79 | Scenario: Change page status from Scheduled to Draft |
80 | Given I am logged in as "existing" |
81 | When I edit the "scheduled" page |
82 | Then "Published" should be selected for "Status" |
83 | And I select "Draft" from "Status" |
84 | And I press "Save and Continue Editing" |
85 | And "Draft" should be selected for "Status" |