summaryrefslogtreecommitdiff
path: root/spec/features/snippets
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-08-12 23:01:45 -0700
committerStan Hu <stanhu@gmail.com>2017-08-12 23:01:45 -0700
commitb03fe23d536cda3f65965f31c4e3965e66858616 (patch)
tree0036c7c8ea0defa40250735a2bbbea5be27dac18 /spec/features/snippets
parent1ddfe8ca33ab2ccd7badc5ef52ea7d88da46b32f (diff)
downloadgitlab-ce-b03fe23d536cda3f65965f31c4e3965e66858616.tar.gz
Remove unsupported `network_traffic` in specs
Diffstat (limited to 'spec/features/snippets')
-rw-r--r--spec/features/snippets/notes_on_personal_snippets_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/features/snippets/notes_on_personal_snippets_spec.rb b/spec/features/snippets/notes_on_personal_snippets_spec.rb
index f1d0905738b..b7245c1d92b 100644
--- a/spec/features/snippets/notes_on_personal_snippets_spec.rb
+++ b/spec/features/snippets/notes_on_personal_snippets_spec.rb
@@ -74,18 +74,15 @@ describe 'Comments on personal snippets', :js do
it 'should not have autocomplete' do
wait_for_requests
- request_count_before = page.driver.network_traffic.count
find('#note_note').native.send_keys('')
fill_in 'note[note]', with: '@'
wait_for_requests
- request_count_after = page.driver.network_traffic.count
# This selector probably won't be in place even if autocomplete was enabled
# but we want to make sure
expect(page).not_to have_selector('.atwho-view')
- expect(request_count_before).to eq(request_count_after)
end
end