Commit 5bb8aff5 authored by Vinnie Okada's avatar Vinnie Okada

Fix more Markdown preview tests

parent 74c82ae3
......@@ -195,14 +195,14 @@ Feature: Project Merge Requests
Given I visit merge request page "Bug NS-04"
And I click link "Edit" for the merge request
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 visit merge request page "Bug NS-04"
And I click link "Edit" for the merge request
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 a merge request description
......@@ -217,4 +217,4 @@ Feature: Project Merge Requests
Given I visit merge request page "Bug NS-04"
And I click link "Edit" for the merge request
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
class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
include SharedAuthentication
include SharedIssuable
include SharedProject
include SharedNote
include SharedPaths
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment