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()
|
||||
})
|
||||
|
||||
// TODO(alexeykuzmin): Crashes the app.
|
||||
// FIx the crash and enable the test.
|
||||
xit('does not crash when called on a detached dev tools window', (done) => {
|
||||
it('does not crash when called on a detached dev tools window', (done) => {
|
||||
const specWebContents = w.webContents
|
||||
|
||||
specWebContents.once('devtools-opened', () => {
|
||||
|
@ -311,9 +309,7 @@ describe('webContents module', () => {
|
|||
})
|
||||
})
|
||||
|
||||
// TODO(alexeykuzmin): Crashes the app.
|
||||
// FIx the crash and enable the test.
|
||||
xit('supports inspecting an element in the devtools', (done) => {
|
||||
it('supports inspecting an element in the devtools', (done) => {
|
||||
w.loadURL('about:blank')
|
||||
w.webContents.once('devtools-opened', () => {
|
||||
done()
|
||||
|
|
|
@ -1495,8 +1495,7 @@ describe('<webview> tag', function () {
|
|||
})
|
||||
})
|
||||
|
||||
// TODO(alexeykuzmin): Enable the tests.
|
||||
xdescribe('disableguestresize attribute', () => {
|
||||
describe('disableguestresize attribute', () => {
|
||||
it('does not have attribute by default', () => {
|
||||
loadWebView(webview)
|
||||
assert(!webview.hasAttribute('disableguestresize'))
|
||||
|
|
Loading…
Reference in a new issue