more realistic timeouts for slower devices

This commit is contained in:
John McLear 2021-01-27 05:23:33 +00:00
parent 53708e69eb
commit 928f1ef8ce

View file

@ -8,7 +8,7 @@ describe('assign ordered list', function () {
}); });
it('inserts ordered list text', function (done) { it('inserts ordered list text', function (done) {
this.timeout(100); this.timeout(200);
const inner$ = helper.padInner$; const inner$ = helper.padInner$;
const chrome$ = helper.padChrome$; const chrome$ = helper.padChrome$;
@ -56,7 +56,7 @@ describe('assign ordered list', function () {
}); });
it('inserts unordered list', function (done) { it('inserts unordered list', function (done) {
this.timeout(100); this.timeout(200);
helper.waitFor(() => helper.padInner$('div').first().find('ol li').length === 1).done(done); helper.waitFor(() => helper.padInner$('div').first().find('ol li').length === 1).done(done);
}); });
}); });
@ -129,7 +129,7 @@ describe('Pressing Tab in an OL increases and decreases indentation', function (
}); });
it('indent and de-indent list item with keypress', function (done) { it('indent and de-indent list item with keypress', function (done) {
this.timeout(100); this.timeout(200);
const inner$ = helper.padInner$; const inner$ = helper.padInner$;
const chrome$ = helper.padChrome$; const chrome$ = helper.padChrome$;
@ -164,7 +164,7 @@ describe('Pressing indent/outdent button in an OL increases and decreases indent
}); });
it('indent and de-indent list item with indent button', function (done) { it('indent and de-indent list item with indent button', function (done) {
this.timeout(100); this.timeout(200);
const inner$ = helper.padInner$; const inner$ = helper.padInner$;
const chrome$ = helper.padChrome$; const chrome$ = helper.padChrome$;