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 ...@@ -195,14 +195,14 @@ Feature: Project Merge Requests
Given I visit merge request page "Bug NS-04" Given I visit merge request page "Bug NS-04"
And I click link "Edit" for the merge request And I click link "Edit" for the merge request
And I haven't written any description text 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 @javascript
Scenario: I can preview with text Scenario: I can preview with text
Given I visit merge request page "Bug NS-04" Given I visit merge request page "Bug NS-04"
And I click link "Edit" for the merge request And I click link "Edit" for the merge request
And I write a description like "Nice" And I write a description like ":+1: Nice"
Then I should see the Markdown preview button Then The Markdown preview tab should display rendered Markdown
@javascript @javascript
Scenario: I preview a merge request description Scenario: I preview a merge request description
...@@ -217,4 +217,4 @@ Feature: Project Merge Requests ...@@ -217,4 +217,4 @@ Feature: Project Merge Requests
Given I visit merge request page "Bug NS-04" Given I visit merge request page "Bug NS-04"
And I click link "Edit" for the merge request And I click link "Edit" for the merge request
And I preview a description text like "Bug fixed :smile:" 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 class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
include SharedAuthentication include SharedAuthentication
include SharedIssuable
include SharedProject include SharedProject
include SharedNote include SharedNote
include SharedPaths 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