From 293f22366dee526941b2698c52e7af5bc2d5a8b1 Mon Sep 17 00:00:00 2001 From: DudaGod Date: Thu, 12 Apr 2018 22:49:35 +0300 Subject: [PATCH] fix(gui): disable control buttons on retry test and suite --- lib/static/modules/reducer.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/static/modules/reducer.js b/lib/static/modules/reducer.js index 140c80067..440faaf2a 100644 --- a/lib/static/modules/reducer.js +++ b/lib/static/modules/reducer.js @@ -41,7 +41,9 @@ export default function reducer(state = getInitialState(compiledData), action) { return merge({}, state, {running: true, suites}); // TODO: rewrite store on run all tests } - case actionNames.RUN_FAILED_TESTS: { + case actionNames.RUN_FAILED_TESTS: + case actionNames.RETRY_SUITE: + case actionNames.RETRY_TEST: { return assign(clone(state), {running: true}); } case actionNames.SUITE_BEGIN: {