diff --git a/tests/spectron/runner.spec.ts b/tests/spectron/runner.spec.ts index 98f7c3e5..f8973e8e 100644 --- a/tests/spectron/runner.spec.ts +++ b/tests/spectron/runner.spec.ts @@ -46,7 +46,7 @@ describe('Spectron', function () { expect(bounds.height).to.be.above(0); expect(bounds.width).to.be.above(0); expect(await app.browserWindow.isMinimized()).to.be.false; - expect(await app.browserWindow.isFocused()).to.be.true; + expect(await app.browserWindow.isVisible()).to.be.true; }); it('should set a proper title', async () => {