admin/plugins: fix test
parent
3c39f801fa
commit
cfa5369961
|
@ -145,6 +145,11 @@ describe('Plugins page', function () {
|
||||||
// ensure its gone
|
// ensure its gone
|
||||||
await helper.waitForPromise(() => helper.admin$('#installed-plugins .ep_headings2').length === 0, 200000);
|
await helper.waitForPromise(() => helper.admin$('#installed-plugins .ep_headings2').length === 0, 200000);
|
||||||
|
|
||||||
|
// delay the search query
|
||||||
|
let delayed = false;
|
||||||
|
setTimeout(() => {delayed = true;}, 5000);
|
||||||
|
await helper.waitForPromise(() => delayed === true, 6000);
|
||||||
|
|
||||||
// ensure search still works
|
// ensure search still works
|
||||||
helper.admin$('#search-query').val('ep_font');
|
helper.admin$('#search-query').val('ep_font');
|
||||||
await helper.waitForPromise(() => helper.admin$('.results').children().length < 50, 240000);
|
await helper.waitForPromise(() => helper.admin$('.results').children().length < 50, 240000);
|
||||||
|
|
Loading…
Reference in New Issue