Skip to content

Commit

Permalink
fix: make suite green after accept in reuse mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Ksirov committed Feb 3, 2020
1 parent 88a681d commit ab302f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/gui/tool-runner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ module.exports = class ToolRunner {
const updateResult = this._prepareUpdateResult(test);
const formattedResult = reportBuilder.format(updateResult, UPDATED);

if (formattedResult.attempt < updateResult.attempt) {
formattedResult.attempt = updateResult.attempt;
}

return Promise.map(updateResult.imagesInfo, (imageInfo) => {
const {stateName} = imageInfo;

Expand Down

0 comments on commit ab302f1

Please sign in to comment.