Enable a few tests
This commit is contained in:
parent
90c3d87e21
commit
7e4c0b304b
2 changed files with 3 additions and 8 deletions
|
@ -70,9 +70,7 @@ describe('webContents module', () => {
|
||||||
specWebContents.openDevTools()
|
specWebContents.openDevTools()
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO(alexeykuzmin): Crashes the app.
|
it('does not crash when called on a detached dev tools window', (done) => {
|
||||||
// FIx the crash and enable the test.
|
|
||||||
xit('does not crash when called on a detached dev tools window', (done) => {
|
|
||||||
const specWebContents = w.webContents
|
const specWebContents = w.webContents
|
||||||
|
|
||||||
specWebContents.once('devtools-opened', () => {
|
specWebContents.once('devtools-opened', () => {
|
||||||
|
@ -311,9 +309,7 @@ describe('webContents module', () => {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO(alexeykuzmin): Crashes the app.
|
it('supports inspecting an element in the devtools', (done) => {
|
||||||
// FIx the crash and enable the test.
|
|
||||||
xit('supports inspecting an element in the devtools', (done) => {
|
|
||||||
w.loadURL('about:blank')
|
w.loadURL('about:blank')
|
||||||
w.webContents.once('devtools-opened', () => {
|
w.webContents.once('devtools-opened', () => {
|
||||||
done()
|
done()
|
||||||
|
|
|
@ -1495,8 +1495,7 @@ describe('<webview> tag', function () {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO(alexeykuzmin): Enable the tests.
|
describe('disableguestresize attribute', () => {
|
||||||
xdescribe('disableguestresize attribute', () => {
|
|
||||||
it('does not have attribute by default', () => {
|
it('does not have attribute by default', () => {
|
||||||
loadWebView(webview)
|
loadWebView(webview)
|
||||||
assert(!webview.hasAttribute('disableguestresize'))
|
assert(!webview.hasAttribute('disableguestresize'))
|
||||||
|
|
Loading…
Reference in a new issue