mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-21 10:16:32 +00:00
Change isFocused check to isVisible in tests
Change-type: patch
This commit is contained in:
parent
540fe90609
commit
0c59168ceb
@ -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 () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user