From 2e92e8e9d09aa289997e6e7b3f5d11f0fdfa13f8 Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 16 Feb 2021 16:23:11 +0000 Subject: [PATCH] tests: frontend test button increase timeouts --- src/tests/frontend/specs/select_formatting_buttons.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/frontend/specs/select_formatting_buttons.js b/src/tests/frontend/specs/select_formatting_buttons.js index 63be6f8e2..9d63265d8 100644 --- a/src/tests/frontend/specs/select_formatting_buttons.js +++ b/src/tests/frontend/specs/select_formatting_buttons.js @@ -44,14 +44,14 @@ describe('select formatting buttons when selection has style applied', function const testIfFormattingButtonIsDeselected = function (style) { it(`deselects the ${style} button`, function (done) { - this.timeout(50); + this.timeout(100); helper.waitFor(() => isButtonSelected(style) === false).done(done); }); }; const testIfFormattingButtonIsSelected = function (style) { it(`selects the ${style} button`, function (done) { - this.timeout(50); + this.timeout(100); helper.waitFor(() => isButtonSelected(style)).done(done); }); }; @@ -131,7 +131,7 @@ describe('select formatting buttons when selection has style applied', function context('when user applies a style and the selection does not change', function () { it('selects the style button', async function () { - this.timeout(50); + this.timeout(100); const style = STYLES[0]; // italic applyStyleOnLine(style, FIRST_LINE); await helper.waitForPromise(() => isButtonSelected(style) === true);