summaryrefslogtreecommitdiff
path: root/features/project/wiki.feature
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-26 14:51:52 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-07-26 14:51:52 +0800
commitb04f95a2edadd2f84bcecee59bf7001ff6362d00 (patch)
tree4c6ca2ce730f43668c68bbd11064f1af4cab31f8 /features/project/wiki.feature
parentbd44f1419784ea98ad513f2f2f67ffeb94853c04 (diff)
parent68162ba900f1b9003fa3d07613333f201be8154a (diff)
downloadgitlab-ce-b04f95a2edadd2f84bcecee59bf7001ff6362d00.tar.gz
Merge remote-tracking branch 'upstream/master' into new-issue-by-email
* upstream/master: (620 commits) Added '*.js.es6 gitlab-language=javascript' to .gitattributes Fix CI status icon link underline Update CHANGELOG after 8.10.1 Add CHANGELOG Add es6 gem Instrument Nokogiri parsing methods Fix backup restore Use project ID in repository cache to prevent stale data from persisting across projects Add iid to MR API response `WikiPage` should have a slug even when not persisted. ES6ify all the things! Make fork counter always clickable (!5463) Revert "Merge branch '17073-tagscontroller-index-is-terrible-response-time-goes-up-to-5-…" Fix CHANGELOG Add spec for dashes in paths Fix Error 500 when creating Wiki pages with hyphens or spaces Add links to the real markdown.md file for all GFM examples Remove magic comments from Ruby files (!5456) Ignore invalid trusted proxies in X-Forwarded-For header remove search_id for label dropdown filter ...
Diffstat (limited to 'features/project/wiki.feature')
-rw-r--r--features/project/wiki.feature6
1 files changed, 6 insertions, 0 deletions
diff --git a/features/project/wiki.feature b/features/project/wiki.feature
index d4811b1ff54..63ce3ccb536 100644
--- a/features/project/wiki.feature
+++ b/features/project/wiki.feature
@@ -8,6 +8,12 @@ Feature: Project Wiki
Given I create the Wiki Home page
Then I should see the newly created wiki page
+ Scenario: Add new page with errors
+ Given I create the Wiki Home page with no content
+ Then I should see a "Content can't be blank" error message
+ When I create the Wiki Home page
+ Then I should see the newly created wiki page
+
Scenario: Pressing Cancel while editing a brand new Wiki
Given I click on the Cancel button
Then I should be redirected back to the Edit Home Wiki page