From a5d0861124ac7bae6b79ff5009b899e40ceebb78 Mon Sep 17 00:00:00 2001 From: Kylart Date: Wed, 3 Jul 2019 01:33:39 +0200 Subject: [PATCH] Now waiting for animation --- test/electron.spec.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/electron.spec.js b/test/electron.spec.js index 79df85a..f5ee612 100644 --- a/test/electron.spec.js +++ b/test/electron.spec.js @@ -29,12 +29,12 @@ describe('Launch app', function () { it('should open the download modal', async function () { return this.app.client .$('#downloader-btn').click() - .getText('.button-container .button') - .should.eventually.equal('DOWNLOAD') - .isExisting('.quality-container') - .should.eventually.be.true - .isExisting('.input-container') - .should.eventually.be.true + .pause(500) + .getText('.button-container .button').should.eventually.equal('DOWNLOAD') + .isExisting('.quality-container').should.eventually.be.true + .isExisting('.input-container').should.eventually.be.true + .isExisting('.left').should.eventually.be.true + .isExisting('.right').should.eventually.be.true }) it('should be visible', async function () {