Skip to content

Commit

Permalink
Merge pull request #105 from gemini-testing/dd.disable_buttons_on_retry
Browse files Browse the repository at this point in the history
fix(gui): disable control buttons on retry test and suite
  • Loading branch information
DudaGod authored Apr 13, 2018
2 parents 6608806 + 293f223 commit 83251ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/static/modules/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 83251ca

Please sign in to comment.