fix(research): accept eligible isolated candidate reproduction previews (RP13)
This commit is contained in:
parent
8807d9e504
commit
773314d29e
6 changed files with 251 additions and 6 deletions
|
|
@ -324,7 +324,11 @@ suite('isolated candidate durable research', () => {
|
|||
expect((await f.experiments.retryTrial(experiment.id, runId, retryBody, actor)).retry.id).toBe(
|
||||
retry.retry.id
|
||||
);
|
||||
expect((await f.api.getReproductionPreview(runId)).available).toBeTrue();
|
||||
expect(await f.api.getReproductionPreview(runId)).toMatchObject({
|
||||
available: true,
|
||||
currentReviewId: null,
|
||||
request: { strategy: { origin: 'candidate', reviewId: null } },
|
||||
});
|
||||
const reproduced = await f.api.reproduceRun(runId, {
|
||||
principal: 'operator',
|
||||
key: 'reproduction',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue