summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-04-07 08:58:12 -0700
committerStan Hu <stanhu@gmail.com>2015-04-07 09:10:11 -0700
commit3143edfea6b71a6a26470e3f4a9cffa773f584ec (patch)
tree54988bcedb2d9300e40803c71498f36602c9496a /features/project
parent7feec5fe051172ee055f3c82da22b1b330e13c74 (diff)
downloadgitlab-ce-3143edfea6b71a6a26470e3f4a9cffa773f584ec.tar.gz
Fix bug where Wiki pages that include a '/' were no longer accessible
Closes #1363
Diffstat (limited to 'features/project')
-rw-r--r--features/project/wiki.feature24
1 files changed, 24 insertions, 0 deletions
diff --git a/features/project/wiki.feature b/features/project/wiki.feature
index 4a8c771ddac..977cd609a11 100644
--- a/features/project/wiki.feature
+++ b/features/project/wiki.feature
@@ -62,3 +62,27 @@ Feature: Project Wiki
And I browse to wiki page with images
And I click on image link
Then I should see the new wiki page form
+
+ @javascript
+ Scenario: New Wiki page that has a path
+ Given I create a New page with paths
+ And I click on the "Pages" button
+ Then I should see non-escaped link in the pages list
+
+ @javascript
+ Scenario: Edit Wiki page that has a path
+ Given I create a New page with paths
+ And I click on the "Pages" button
+ And I edit the Wiki page with a path
+ Then I should see a non-escaped path
+ And I should see the Editing page
+ And I change the content
+ Then I should see the updated content
+
+ @javascript
+ Scenario: View the page history of a Wiki page that has a path
+ Given I create a New page with paths
+ And I click on the "Pages" button
+ And I view the page history of a Wiki page that has a path
+ Then I should see a non-escaped path
+ And I should see the page history