Skip to content

Commit de36a91

Browse files
committed
test
1 parent 987d2fe commit de36a91

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

tests/e2e/desktop/app.test.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let electronApp
99
test.beforeAll(async () => {
1010
// find the latest build in the out directory
1111
const latestBuild = findLatestBuild(
12-
path.join(process.cwd(), "release", "0.0.0"),
12+
path.join(process.cwd(), "release", "0.0.0")
1313
)
1414
console.log("latestBuild", latestBuild)
1515
// parse the directory and find paths and other info
@@ -60,15 +60,15 @@ test("Microservices running", async () => {
6060
})
6161
})
6262

63-
test("Devtools", async () => {
64-
const firstWindow = await electronApp.firstWindow()
65-
const browserWindow = await electronApp.browserWindow(firstWindow)
66-
await browserWindow.evaluate(async (window) => {
67-
await window.webContents.openDevTools()
68-
})
63+
// test("Devtools", async () => {
64+
// const firstWindow = await electronApp.firstWindow()
65+
// const browserWindow = await electronApp.browserWindow(firstWindow)
66+
// await browserWindow.evaluate(async (window) => {
67+
// await window.webContents.openDevTools()
68+
// })
6969

70-
await firstWindow.waitForTimeout((isWindows ? 45 : 20) * 1000)
71-
await expect(firstWindow).toHaveScreenshot({
72-
path: `devtools-${process.platform}.png`,
73-
})
74-
})
70+
// await firstWindow.waitForTimeout((isWindows ? 45 : 20) * 1000)
71+
// await expect(firstWindow).toHaveScreenshot({
72+
// path: `devtools-${process.platform}.png`,
73+
// })
74+
// })

0 commit comments

Comments
 (0)