fix: account failed attempts and stop unchanged task loops in 1.20.1
This commit is contained in:
@@ -121,7 +121,7 @@ try {
|
||||
|
||||
mode = 'proposal'; await newTask('应用后继续同一个工程任务'); await waitState('needs_review'); const reviewed = await state();
|
||||
await page.locator('.inspector-tabs').getByRole('button', { name: /改动/ }).click(); await page.getByRole('button', { name: '应用这项改动', exact: true }).click();
|
||||
await waitState('completed'); mode = 'checks'; await page.getByRole('button', { name: '继续检查与交付', exact: true }).click(); await waitState('awaiting_approval');
|
||||
await waitState('completed'); mode = 'checks'; await page.getByRole('button', { name: '继续原任务', exact: true }).click(); await waitState('awaiting_approval');
|
||||
await page.getByRole('button', { name: '确认执行', exact: true }).click(); await waitState('completed');
|
||||
const delivered = await state(); assert.equal(delivered.execution.task.id, reviewed.execution.task.id); assert.equal(delivered.execution.task.goal, '应用后继续同一个工程任务'); assert.equal(delivered.execution.checks.at(-1).status, 'passed');
|
||||
mark('applied proposals continue the original task into actual engineering verification');
|
||||
|
||||
Reference in New Issue
Block a user