Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
ISAICP-4124: Ensure that files in custom pages are displayed.
Browse files Browse the repository at this point in the history
  • Loading branch information
idimopoulos committed Jan 17, 2018
1 parent 07b8876 commit 909d826
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/features/custom_page/add_custom_page.feature
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,16 @@ Feature: "Add custom page" visibility options.
When I fill in the following:
| Title | About us |
And I enter "We are open about everything!" in the "Body" wysiwyg editor
And I attach the file "test.zip" to "Add a new file"
And I press "Upload"
# The "Description" field is the description of the file.
And I fill in "Description" with "Test file"
And I press "Save"
Then I should see the heading "About us"
And I should see the success message "Custom page About us has been created."
And I should see the text "Attachments"
# The description of the file is set as the text to display.
And I should see the link "Test file"
And the "Open Collective" collection should have a custom page titled "About us"
# Check that the link to the custom page is visible on the collection page.
When I go to the homepage of the "Open Collective" collection
Expand Down

0 comments on commit 909d826

Please sign in to comment.