Enable a few tests

This commit is contained in:
Aleksei Kuzmin 2018-05-11 14:41:58 +03:00 committed by Samuel Attard
parent 90c3d87e21
commit 7e4c0b304b
2 changed files with 3 additions and 8 deletions

View file

@ -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()

View file

@ -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'))