Remove unsupported network_traffic
in specs
This commit is contained in:
parent
1ddfe8ca33
commit
b03fe23d53
1 changed files with 0 additions and 3 deletions
|
@ -74,18 +74,15 @@ describe 'Comments on personal snippets', :js do
|
||||||
|
|
||||||
it 'should not have autocomplete' do
|
it 'should not have autocomplete' do
|
||||||
wait_for_requests
|
wait_for_requests
|
||||||
request_count_before = page.driver.network_traffic.count
|
|
||||||
|
|
||||||
find('#note_note').native.send_keys('')
|
find('#note_note').native.send_keys('')
|
||||||
fill_in 'note[note]', with: '@'
|
fill_in 'note[note]', with: '@'
|
||||||
|
|
||||||
wait_for_requests
|
wait_for_requests
|
||||||
request_count_after = page.driver.network_traffic.count
|
|
||||||
|
|
||||||
# This selector probably won't be in place even if autocomplete was enabled
|
# This selector probably won't be in place even if autocomplete was enabled
|
||||||
# but we want to make sure
|
# but we want to make sure
|
||||||
expect(page).not_to have_selector('.atwho-view')
|
expect(page).not_to have_selector('.atwho-view')
|
||||||
expect(request_count_before).to eq(request_count_after)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue