adminupdateplugins test: swap assertions, increase timeout

This commit is contained in:
webzwo0i 2021-07-19 07:39:49 +02:00 committed by Richard Hansen
parent d3890bc2c2
commit bb0ca91dc2
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 () {