Change isFocused check to isVisible in tests

Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2020-08-17 19:02:17 +02:00
parent 540fe90609
commit 0c59168ceb

View File

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