Toggled down timeout.

This commit is contained in:
SamTV12345 2023-09-15 22:38:31 +02:00
parent 1d8de185b8
commit 87ac606794
No known key found for this signature in database
GPG key ID: E63EEC7466038043
2 changed files with 7 additions and 6 deletions

View file

@ -12,10 +12,11 @@ jobs:
name: with plugins
runs-on: ubuntu-latest
# node: [16, 19, 20] >> Disabled node 16 and 18 because they do not work
strategy:
fail-fast: false
matrix:
node: [16, 18, 20]
node: [19, 20]
steps:
-

View file

@ -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, 360000);
() => helper.admin$('.ep_headings2 .do-uninstall').length !== 0, 120000);
helper.admin$('.ep_headings2 .do-uninstall').trigger('click');
// ensure its showing uninstalling
await helper.waitForPromise(
() => helper.admin$('.ep_headings2 .message')
.text() === 'Uninstalling', 360000);
.text() === 'Uninstalling', 120000);
// ensure its gone
await helper.waitForPromise(
() => helper.admin$('.ep_headings2').length === 0, 360000);
() => helper.admin$('.ep_headings2').length === 0, 240000);
helper.admin$('#search-query').val('ep_font');
await helper.waitForPromise(() => helper.admin$('.results').children().length < 300, 360000);
await helper.waitForPromise(() => helper.admin$('.results').children().length > 0, 360000);
await helper.waitForPromise(() => helper.admin$('.results').children().length < 300, 240000);
await helper.waitForPromise(() => helper.admin$('.results').children().length > 0, 1000);
});
});