mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 16:05:05 -04:00
Toggled down timeout.
This commit is contained in:
parent
1d8de185b8
commit
87ac606794
2 changed files with 7 additions and 6 deletions
3
.github/workflows/frontend-admin-tests.yml
vendored
3
.github/workflows/frontend-admin-tests.yml
vendored
|
@ -12,10 +12,11 @@ jobs:
|
||||||
name: with plugins
|
name: with plugins
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
# node: [16, 19, 20] >> Disabled node 16 and 18 because they do not work
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
node: [16, 18, 20]
|
node: [19, 20]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
|
|
|
@ -94,20 +94,20 @@ describe('Plugins page', function () {
|
||||||
it('Attempt to Uninstall a plugin', async function () {
|
it('Attempt to Uninstall a plugin', async function () {
|
||||||
this.timeout(360000);
|
this.timeout(360000);
|
||||||
await helper.waitForPromise(
|
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');
|
helper.admin$('.ep_headings2 .do-uninstall').trigger('click');
|
||||||
|
|
||||||
// ensure its showing uninstalling
|
// ensure its showing uninstalling
|
||||||
await helper.waitForPromise(
|
await helper.waitForPromise(
|
||||||
() => helper.admin$('.ep_headings2 .message')
|
() => helper.admin$('.ep_headings2 .message')
|
||||||
.text() === 'Uninstalling', 360000);
|
.text() === 'Uninstalling', 120000);
|
||||||
// ensure its gone
|
// ensure its gone
|
||||||
await helper.waitForPromise(
|
await helper.waitForPromise(
|
||||||
() => helper.admin$('.ep_headings2').length === 0, 360000);
|
() => helper.admin$('.ep_headings2').length === 0, 240000);
|
||||||
|
|
||||||
helper.admin$('#search-query').val('ep_font');
|
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 < 300, 240000);
|
||||||
await helper.waitForPromise(() => helper.admin$('.results').children().length > 0, 360000);
|
await helper.waitForPromise(() => helper.admin$('.results').children().length > 0, 1000);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue