summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorVinnie Okada <vokada@mrvinn.com>2014-10-16 23:38:08 -0500
committerVinnie Okada <vokada@mrvinn.com>2014-10-18 18:07:46 -0500
commitde53bc9d8470d94ec1b956cc2ea1df077c4d034d (patch)
tree93f354407e4fd24936957c1d352d55a43f718c42 /features
parente06f0ead9843df2688ca2f341a3b37d4d56a955d (diff)
downloadgitlab-ce-de53bc9d8470d94ec1b956cc2ea1df077c4d034d.tar.gz
Add new Markdown preview test
Add a test to make sure that Markdown previews are available when editing an existing issue.
Diffstat (limited to 'features')
-rw-r--r--features/project/issues/issues.feature7
1 files changed, 7 insertions, 0 deletions
diff --git a/features/project/issues/issues.feature b/features/project/issues/issues.feature
index 9970be0c596..28ea44530fe 100644
--- a/features/project/issues/issues.feature
+++ b/features/project/issues/issues.feature
@@ -186,3 +186,10 @@ Feature: Project Issues
Given I click link "New Issue"
And I preview a description text like "Bug fixed :smile:"
Then I should see the Markdown write tab
+
+ @javascript
+ Scenario: I can preview when editing an existing issue
+ Given I click link "Release 0.4"
+ And I click link "Edit" for the issue
+ And I preview a description text like "Bug fixed :smile:"
+ Then I should see the Markdown write tab