summaryrefslogtreecommitdiff
path: root/features/project/issues
diff options
context:
space:
mode:
authorVinnie Okada <vokada@mrvinn.com>2014-10-16 23:36:52 -0500
committerVinnie Okada <vokada@mrvinn.com>2014-10-18 18:07:23 -0500
commite06f0ead9843df2688ca2f341a3b37d4d56a955d (patch)
treef6ccee3ab1023f5be90d7931ee0c5504a9b2abd5 /features/project/issues
parente1491465de441b386c72726f0b869104d1c15680 (diff)
downloadgitlab-ce-e06f0ead9843df2688ca2f341a3b37d4d56a955d.tar.gz
Fix Markdown preview tests
Update Spinach tests for Markdown previews for the new-ish tab UI that replaced the old preview/edit toggle button.
Diffstat (limited to 'features/project/issues')
-rw-r--r--features/project/issues/issues.feature8
1 files changed, 4 insertions, 4 deletions
diff --git a/features/project/issues/issues.feature b/features/project/issues/issues.feature
index e7fbe2bd6f1..9970be0c596 100644
--- a/features/project/issues/issues.feature
+++ b/features/project/issues/issues.feature
@@ -166,13 +166,13 @@ Feature: Project Issues
Scenario: I can't preview without text
Given I click link "New Issue"
And I haven't written any description text
- Then I should not see the Markdown preview button
+ Then The Markdown preview tab should say there is nothing to do
@javascript
Scenario: I can preview with text
Given I click link "New Issue"
- And I write a description like "Nice"
- Then I should see the Markdown preview button
+ And I write a description like ":+1: Nice"
+ Then The Markdown preview tab should display rendered Markdown
@javascript
Scenario: I preview an issue description
@@ -185,4 +185,4 @@ Feature: Project Issues
Scenario: I can edit after preview
Given I click link "New Issue"
And I preview a description text like "Bug fixed :smile:"
- Then I should see the Markdown edit button
+ Then I should see the Markdown write tab