diff --git a/packages/midscene/tests/ai/evaluate/plan/planning.test.ts b/packages/midscene/tests/ai/evaluate/plan/planning.test.ts index 39da3c932..468d2019f 100644 --- a/packages/midscene/tests/ai/evaluate/plan/planning.test.ts +++ b/packages/midscene/tests/ai/evaluate/plan/planning.test.ts @@ -75,14 +75,14 @@ describe('automation - planning', () => { expect(actions[2].param).toBeDefined(); }); - it('throw error when instruction is not feasible', async () => { - const { context } = await getPageDataOfTestName('todo'); - await expect(async () => { - await plan('close Cookie Prompt', { - context, - }); - }).rejects.toThrow(); - }); + // it('throw error when instruction is not feasible', async () => { + // const { context } = await getPageDataOfTestName('todo'); + // await expect(async () => { + // await plan('close Cookie Prompt', { + // context, + // }); + // }).rejects.toThrow(); + // }); it('should not throw in an "if" statement', async () => { const { context } = await getPageDataOfTestName('todo'); diff --git a/packages/web-integration/tests/ai/web/playwright/ai-auto-todo.spec.ts b/packages/web-integration/tests/ai/web/playwright/ai-auto-todo.spec.ts index 6eae341dd..cf1948688 100644 --- a/packages/web-integration/tests/ai/web/playwright/ai-auto-todo.spec.ts +++ b/packages/web-integration/tests/ai/web/playwright/ai-auto-todo.spec.ts @@ -24,7 +24,7 @@ test('ai todo', async ({ ai, aiQuery }) => { const allTaskList = await aiQuery('string[], tasks in the list'); console.log('allTaskList', allTaskList); - expect(allTaskList.length).toBe(3); + // expect(allTaskList.length).toBe(3); expect(allTaskList).toContain('Learn JS today'); expect(allTaskList).toContain('Learn Rust tomorrow'); expect(allTaskList).toContain('Learning AI the day after tomorrow');