From 14a42ddccc2d3a9c90a745f83f96ba28aaa457ad Mon Sep 17 00:00:00 2001 From: 4gray Date: Thu, 14 Jan 2021 22:25:25 +0100 Subject: [PATCH] test: spectron multi window fix --- e2e/main.e2e.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e2e/main.e2e.ts b/e2e/main.e2e.ts index 685e2d007..cf7c543ed 100644 --- a/e2e/main.e2e.ts +++ b/e2e/main.e2e.ts @@ -17,9 +17,10 @@ describe('angular-electron App', function () { expect(count).to.equal(2); }); - /* it('should contain name of the app', async function () { + it('should contain name of the app', async function () { + this.app.client.windowByIndex(1); const elem = await client.$('.title'); const text = await elem.getText(); expect(text).to.equal('IPTVnator'); - }); */ + }); });