timeouts and dont run plugin tests

This commit is contained in:
John McLear 2021-02-07 10:08:06 +00:00
parent d05671fcf2
commit e28161a2d1
2 changed files with 7 additions and 3 deletions

View file

@ -26,6 +26,10 @@ jobs:
- name: Install etherpad plugins
run: npm install ep_align@0.2.27
# Nuke plugin tests
- name: Install etherpad plugins
run: rm -Rf node_modules/ep_align/static/tests/*
- name: export GIT_HASH to env
id: environment
run: echo "::set-output name=sha_short::$(git rev-parse --short ${{ github.sha }})"

View file

@ -1,7 +1,7 @@
'use strict';
describe('Admin > Settings', function () {
this.timeout(360000);
this.timeout(480000);
before(async function () {
let success = false;
@ -51,7 +51,7 @@ describe('Admin > Settings', function () {
// settings should have the old value
helper.newAdmin('settings');
await helper.waitForPromise(
() => helper.admin$ && helper.admin$('.settings').val().length > 0, 18000);
() => helper.admin$ && helper.admin$('.settings').val().length > 0, 36000);
expect(settings).to.be(helper.admin$('.settings').val());
});
@ -67,7 +67,7 @@ describe('Admin > Settings', function () {
helper.admin$('#restartEtherpad').click();
// Hacky... Other suggestions welcome..
await timeout(50000);
await timeout(200000);
let success = false;
$.ajax({
url: `${location.protocol}//admin:changeme@${location.hostname}:${location.port}/admin`,