Update diff_comments tests
This commit is contained in:
parent
de63de18d7
commit
87b3c73ea5
2 changed files with 5 additions and 5 deletions
|
@ -57,9 +57,9 @@ Feature: Project Commits Diff Comments
|
|||
Then I should see two separate previews
|
||||
|
||||
@javascript
|
||||
Scenario: I have a reply button in discussions
|
||||
Scenario: I have can reply in discussions
|
||||
Given I leave a diff comment like "Typo, please fix"
|
||||
Then I should see a discussion reply button
|
||||
Then I should see a discussion reply text field
|
||||
|
||||
@javascript
|
||||
Scenario: I can preview with text
|
||||
|
@ -83,7 +83,7 @@ Feature: Project Commits Diff Comments
|
|||
Given I preview a diff comment text like "Should fix it :smile:"
|
||||
And I submit the diff comment
|
||||
Then I should not see the diff comment form
|
||||
And I should see a discussion reply button
|
||||
And I should see a discussion reply text field
|
||||
|
||||
@javascript
|
||||
Scenario: I can add a comment on a side-by-side commit diff (left side)
|
||||
|
|
|
@ -153,9 +153,9 @@ module SharedDiffNote
|
|||
end
|
||||
end
|
||||
|
||||
step 'I should see a discussion reply button' do
|
||||
step 'I should see a discussion reply text field' do
|
||||
page.within(diff_file_selector) do
|
||||
expect(page).to have_button('Reply')
|
||||
expect(page).to have_css('.note-reply-field')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue