fix(tests): fix tests on new api

This commit is contained in:
Alexey Kasyanchuk
2021-01-05 23:35:20 +03:00
parent e3c20a6fe2
commit 4b763c9377
5 changed files with 51 additions and 56 deletions

View File

@ -9,7 +9,7 @@ describe("application", () => {
it("check start", async function() {
this.timeout(5000);
const { app } = this
await app.client.waitForExist('#index-window')
await app.client.$('#index-window')
// fix realtime config
require('../src/background/config').reload(await app.electron.remote.app.getPath('userData'))
});