From 346ea79674515ffd0212e27322ec74f86e78a514 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Fri, 15 Sep 2023 22:12:46 +0200 Subject: [PATCH] Increased timeout. --- src/tests/frontend/specs/adminupdateplugins.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/frontend/specs/adminupdateplugins.js b/src/tests/frontend/specs/adminupdateplugins.js index 1f6e21fc870..8e3575a8328 100755 --- a/src/tests/frontend/specs/adminupdateplugins.js +++ b/src/tests/frontend/specs/adminupdateplugins.js @@ -94,20 +94,20 @@ describe('Plugins page', function () { it('Attempt to Uninstall a plugin', async function () { this.timeout(360000); await helper.waitForPromise( - () => helper.admin$('.ep_headings2 .do-uninstall').length !== 0, 120000); + () => helper.admin$('.ep_headings2 .do-uninstall').length !== 0, 240000); helper.admin$('.ep_headings2 .do-uninstall').trigger('click'); // ensure its showing uninstalling await helper.waitForPromise( () => helper.admin$('.ep_headings2 .message') - .text() === 'Uninstalling', 120000); + .text() === 'Uninstalling', 240000); // ensure its gone await helper.waitForPromise( () => helper.admin$('.ep_headings2').length === 0, 240000); helper.admin$('#search-query').val('ep_font'); await helper.waitForPromise(() => helper.admin$('.results').children().length < 300, 240000); - await helper.waitForPromise(() => helper.admin$('.results').children().length > 0, 1000); + await helper.waitForPromise(() => helper.admin$('.results').children().length > 0, 240000); }); });