From bb0ca91dc2bc0dcfd9cb571f0804fded041beb55 Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Mon, 19 Jul 2021 07:39:49 +0200 Subject: [PATCH] adminupdateplugins test: swap assertions, increase timeout --- src/tests/frontend/specs/adminupdateplugins.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/frontend/specs/adminupdateplugins.js b/src/tests/frontend/specs/adminupdateplugins.js index 6bcf9cafc..7ab472858 100755 --- a/src/tests/frontend/specs/adminupdateplugins.js +++ b/src/tests/frontend/specs/adminupdateplugins.js @@ -28,8 +28,8 @@ describe('Plugins page', function () { it('Searches for plugin', async function () { helper.admin$('#search-query').val('ep_font_color'); - await helper.waitForPromise(() => helper.admin$('.results').children().length < 300, 5000); - await helper.waitForPromise(() => helper.admin$('.results').children().length > 0, 5000); + await helper.waitForPromise(() => helper.admin$('.results').children().length > 0, 10000); + await helper.waitForPromise(() => helper.admin$('.results').children().length < 300, 10000); }); it('Attempt to Update a plugin', async function () {