summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-11 22:50:08 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-11 22:50:08 +0300
commit7bf8d22f178d5628e9c2dc8e79ec94a016e1d69b (patch)
tree942b3767187e57c8249dfc5d5d37717a78e75ae3 /spec/features
parent13fec18ac9cbdecdef3b0e5fb7dd7480e9d7cbbf (diff)
downloadgitlab-ce-7bf8d22f178d5628e9c2dc8e79ec94a016e1d69b.tar.gz
Remove commented tests since nobody is going to fix them
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/notes_on_merge_requests_spec.rb45
1 files changed, 0 insertions, 45 deletions
diff --git a/spec/features/notes_on_merge_requests_spec.rb b/spec/features/notes_on_merge_requests_spec.rb
index 16bdaf0f83c..ba580d9484d 100644
--- a/spec/features/notes_on_merge_requests_spec.rb
+++ b/spec/features/notes_on_merge_requests_spec.rb
@@ -206,17 +206,6 @@ describe "On a merge request diff", js: true, focus: true do
find(".js-note-preview-button").trigger("click")
end
end
-
- # TODO: fix
- #it 'should check if previews were rendered separately' do
- #within("tr[id='4735dfc552ad7bf15ca468adc3cad9d05b624490_185_185'] + .js-temp-notes-holder") do
- #should have_css(".js-note-preview", text: "One comment on line 185")
- #end
-
- #within("tr[id='342e16cbbd482ac2047dc679b2749d248cc1428f_18_17'] + .js-temp-notes-holder") do
- #should have_css(".js-note-preview", text: "Another comment on line 17")
- #end
- #end
end
describe "posting a note" do
@@ -239,42 +228,8 @@ describe "On a merge request diff", js: true, focus: true do
should have_css(".notes_holder .note", count: 1)
should have_link("Reply")
end
-
- # TODO: fix
- #it "should remove last note of a discussion" do
- # within("tr[id='342e16cbbd482ac2047dc679b2749d248cc1428f_18_17'] + .notes-holder") do
- # find(".js-note-delete").click
- # end
- # should_not have_css(".note_holder")
- #end
end
end
-
- # TODO: fix
- #describe "when replying to a note" do
- #before do
- ## create first note
- # find('a[data-line-code="4735dfc552ad7bf15ca468adc3cad9d05b624490_184_184"]').click
-
- # within(".js-temp-notes-holder") do
- # fill_in "note[note]", with: "One comment on line 184"
- # click_button("Add Comment")
- #end
-
- # within(".js-temp-notes-holder") do
- # find(".js-discussion-reply-button").click
- # fill_in "note[note]", with: "An additional comment in reply"
- # click_button("Add Comment")
- # end
- #end
-
- #it 'should be inserted and form removed from reply' do
- # should have_content("An additional comment in reply")
- # within(".notes_holder") { should have_css(".note", count: 2) }
- # within(".notes_holder") { should have_no_css("form") }
- # within(".notes_holder") { should have_link("Reply") }
- # end
- #end
end
describe "On merge request discussion", js: true do