mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
adminupdateplugins test: swap assertions, increase timeout
This commit is contained in:
parent
d3890bc2c2
commit
bb0ca91dc2
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ describe('Plugins page', function () {
|
||||||
|
|
||||||
it('Searches for plugin', async function () {
|
it('Searches for plugin', async function () {
|
||||||
helper.admin$('#search-query').val('ep_font_color');
|
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, 10000);
|
||||||
await helper.waitForPromise(() => helper.admin$('.results').children().length > 0, 5000);
|
await helper.waitForPromise(() => helper.admin$('.results').children().length < 300, 10000);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Attempt to Update a plugin', async function () {
|
it('Attempt to Update a plugin', async function () {
|
||||||
|
|
Loading…
Reference in a new issue