Skip to content

Commit

Permalink
Increased timeout further.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Sep 15, 2023
1 parent 346ea79 commit 1d8de18
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/tests/frontend/specs/adminupdateplugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, 240000);
() => helper.admin$('.ep_headings2 .do-uninstall').length !== 0, 360000);

helper.admin$('.ep_headings2 .do-uninstall').trigger('click');

// ensure its showing uninstalling
await helper.waitForPromise(
() => helper.admin$('.ep_headings2 .message')
.text() === 'Uninstalling', 240000);
.text() === 'Uninstalling', 360000);
// ensure its gone
await helper.waitForPromise(
() => helper.admin$('.ep_headings2').length === 0, 240000);
() => helper.admin$('.ep_headings2').length === 0, 360000);

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, 240000);
await helper.waitForPromise(() => helper.admin$('.results').children().length < 300, 360000);
await helper.waitForPromise(() => helper.admin$('.results').children().length > 0, 360000);
});
});

0 comments on commit 1d8de18

Please sign in to comment.