chore: update e2e cache (#70)

This commit is contained in:
Zhou xiao 2024-08-23 10:57:08 +08:00 committed by GitHub
parent 61dcdb7328
commit 2b4beaa1eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -12,10 +12,10 @@ test('ai report', async ({ page, ai, aiAssert }, testInfo) => {
console.log('report html path:', htmlFile);
await page.goto(`file:${htmlFile}`);
await ai(
'Move your mouse over the top task list (next to the logo) and click Select ai todo from the drop-down list',
'Move your mouse over the top task list (next to the logo) and click ai todo from the drop-down list',
);
const actionsList = await ai(
'Array<{title: string(task name), actions: Array<string(task action name,Excluding time)>}>',
'Array<{title: string(task name,include action、wait), actions: Array<string(task action name,Excluding time)>}>',
{
type: 'query',
},

View File

@ -8,6 +8,12 @@
"Action / KeyboardPress"
]
},
{
"title": "waitFor: the input box for task title is empty now",
"actions": [
"Insight / Assert"
]
},
{
"title": "Enter \"Learn Rust tomorrow\" in the task box, then press Enter to create",
"actions": [