tests: timeouts for tests (#4773)

This commit is contained in:
John McLear 2021-02-13 19:00:06 +00:00 committed by GitHub
parent f9ec49d7ac
commit e585d321f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 368 additions and 4 deletions

View file

@ -8,6 +8,7 @@ describe('indentation button', function () {
});
it('indent text with keypress', function (done) {
this.timeout(100);
const inner$ = helper.padInner$;
// get the first text element out of the inner iframe
@ -24,6 +25,7 @@ describe('indentation button', function () {
});
it('indent text with button', function (done) {
this.timeout(100);
const inner$ = helper.padInner$;
const chrome$ = helper.padChrome$;
@ -34,6 +36,7 @@ describe('indentation button', function () {
});
it('keeps the indent on enter for the new line', function (done) {
this.timeout(1200);
const inner$ = helper.padInner$;
const chrome$ = helper.padChrome$;
@ -59,6 +62,7 @@ describe('indentation button', function () {
it('indents text with spaces on enter if previous line ends ' +
"with ':', '[', '(', or '{'", function (done) {
this.timeout(1200);
const inner$ = helper.padInner$;
// type a bit, make a line break and type again
@ -110,6 +114,7 @@ describe('indentation button', function () {
it('appends indentation to the indent of previous line if previous line ends ' +
"with ':', '[', '(', or '{'", function (done) {
this.timeout(1200);
const inner$ = helper.padInner$;
// type a bit, make a line break and type again
@ -135,6 +140,7 @@ describe('indentation button', function () {
it("issue #2772 shows '*' when multiple indented lines " +
' receive a style and are outdented', async function () {
this.timeout(1200);
const inner$ = helper.padInner$;
const chrome$ = helper.padChrome$;