adminupdateplugins test: swap assertions, increase timeout

fix-adminupdateplugins
webzwo0i 2021-07-19 07:39:49 +02:00
parent 8eb5afa283
commit ef829960ca
1 changed files with 2 additions and 2 deletions

View File

@ -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 () {