mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 02:45:42 +03:00
Update deployment test to reflect new progress-by column
This commit is contained in:
@@ -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'
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -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]'),
|
||||
|
||||
Reference in New Issue
Block a user