spec: Remove the will-navigate test
It is unreliable to test in renderer process, remove it for now.
This commit is contained in:
parent
269f70c12a
commit
576257470b
1 changed files with 0 additions and 10 deletions
|
@ -294,16 +294,6 @@ describe 'browser-window module', ->
|
||||||
w.show()
|
w.show()
|
||||||
w.minimize()
|
w.minimize()
|
||||||
|
|
||||||
describe 'will-navigate event', ->
|
|
||||||
@timeout 10000
|
|
||||||
it 'emits when user starts a navigation', (done) ->
|
|
||||||
url = "file://#{fixtures}/pages/will-navigate.html"
|
|
||||||
w.webContents.on 'will-navigate', (event, u) ->
|
|
||||||
event.preventDefault()
|
|
||||||
assert.equal u, url
|
|
||||||
done()
|
|
||||||
w.loadUrl url
|
|
||||||
|
|
||||||
xdescribe 'beginFrameSubscription method', ->
|
xdescribe 'beginFrameSubscription method', ->
|
||||||
it 'subscribes frame updates', (done) ->
|
it 'subscribes frame updates', (done) ->
|
||||||
w.loadUrl "file://#{fixtures}/api/blank.html"
|
w.loadUrl "file://#{fixtures}/api/blank.html"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue