Update deployment test to reflect new progress-by column

This commit is contained in:
Michael Lange
2018-07-17 13:28:29 -07:00
parent cfbbdf8677
commit 0daeb09fd8
2 changed files with 6 additions and 0 deletions

View File

@@ -202,6 +202,11 @@ test('when open, a deployment shows a list of all task groups and their respecti
);
assert.equal(taskGroupRow.healthy, taskGroup.healthyAllocs, 'Healthy Allocs');
assert.equal(taskGroupRow.unhealthy, taskGroup.unhealthyAllocs, 'Unhealthy Allocs');
assert.equal(
taskGroupRow.progress,
moment(taskGroup.requireProgressBy).format('MM/DD/YY HH:mm:ss'),
'Progress By'
);
});
});
});

View File

@@ -43,6 +43,7 @@ export default create({
allocs: text('[data-test-deployment-task-group-allocs]'),
healthy: text('[data-test-deployment-task-group-healthy]'),
unhealthy: text('[data-test-deployment-task-group-unhealthy]'),
progress: text('[data-test-deployment-task-group-progress-deadline]'),
}),
hasAllocations: isPresent('[data-test-deployment-allocations]'),