summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
Diffstat (limited to 'features/project')
-rw-r--r--features/project/merge_requests.feature8
1 files changed, 4 insertions, 4 deletions
diff --git a/features/project/merge_requests.feature b/features/project/merge_requests.feature
index f1adf0bd34d..f8a43e1ee36 100644
--- a/features/project/merge_requests.feature
+++ b/features/project/merge_requests.feature
@@ -193,21 +193,21 @@ Feature: Project Merge Requests
@javascript
Scenario: I can't preview without text
Given I visit merge request page "Bug NS-04"
- And I click link "Edit"
+ 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
@javascript
Scenario: I can preview with text
Given I visit merge request page "Bug NS-04"
- And I click link "Edit"
+ And I click link "Edit" for the merge request
And I write a description like "Nice"
Then I should see the Markdown preview button
@javascript
Scenario: I preview a merge request description
Given I visit merge request page "Bug NS-04"
- And I click link "Edit"
+ 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 preview
And I should not see the Markdown text field
@@ -215,6 +215,6 @@ Feature: Project Merge Requests
@javascript
Scenario: I can edit after preview
Given I visit merge request page "Bug NS-04"
- And I click link "Edit"
+ 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