Skip to content

Commit

Permalink
test(application): disable picker tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Nov 16, 2023
1 parent c256d93 commit ef8b98b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/socket.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env[] = SOCKET_MODULE_PATH_PREFIX
env[] = TEST_INJECTED_VARIABLE

[build.extensions]
# runtime-core-tests = src/runtime-core
runtime-core-tests = src/runtime-core
simple-ipc-ping = src/extensions/simple/ipc-ping.cc
sqlite3 = src/extensions/sqlite3

Expand Down
2 changes: 2 additions & 0 deletions test/src/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ if (!['android', 'ios', 'win32'].includes(process.platform)) {
// t.equal(result, true, 'returns true')
})

/*
test('window.showOpenFilePicker', async (t) => {
const mainWindow = await application.getCurrentWindow()
t.ok(mainWindow.showOpenFilePicker())
Expand All @@ -481,6 +482,7 @@ if (!['android', 'ios', 'win32'].includes(process.platform)) {
const mainWindow = await application.getCurrentWindow()
t.ok(mainWindow.showDirectoryFilePicker())
})
*/

test('window.send wrong window', async (t) => {
const mainWindow = await application.getCurrentWindow()
Expand Down

0 comments on commit ef8b98b

Please sign in to comment.