Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
5bb8aff5
Commit
5bb8aff5
authored
Oct 18, 2014
by
Vinnie Okada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix more Markdown preview tests
parent
74c82ae3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
features/project/merge_requests.feature
features/project/merge_requests.feature
+4
-4
features/steps/project/issues/issues.rb
features/steps/project/issues/issues.rb
+1
-0
No files found.
features/project/merge_requests.feature
View file @
5bb8aff5
...
@@ -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 butto
n
Then
The Markdown preview tab should display rendered Markdow
n
@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
features/steps/project/issues/issues.rb
View file @
5bb8aff5
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment