test(web): refresh localized preset snapshots
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- 'button "Using ONE run_code program: run" [disabled]'
|
- 'button "Using ONE run_code program: run" [disabled]'
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Use only Cordis tools. First" [disabled]
|
- button "Use only Cordis tools. First" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Use the bash tool to" [disabled]
|
- button "Use the bash tool to" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "workspace" [disabled]
|
- button "workspace" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -25,9 +25,9 @@
|
|||||||
- img
|
- img
|
||||||
- text: workspace
|
- text: workspace
|
||||||
- img
|
- img
|
||||||
- button "标准模式":
|
- button "Standard mode":
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- img
|
- img
|
||||||
- textbox "Describe what you want to build"
|
- textbox "Describe what you want to build"
|
||||||
- button "Commands":
|
- button "Commands":
|
||||||
|
|||||||
@@ -25,9 +25,9 @@
|
|||||||
- img
|
- img
|
||||||
- text: workspace
|
- text: workspace
|
||||||
- img
|
- img
|
||||||
- button "标准模式":
|
- button "Standard mode":
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- img
|
- img
|
||||||
- textbox "Describe what you want to build"
|
- textbox "Describe what you want to build"
|
||||||
- button "Commands":
|
- button "Commands":
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Reply with the single word" [disabled]
|
- button "Reply with the single word" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Reply with a one-sentence description" [disabled]
|
- button "Reply with a one-sentence description" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Reply with a one-sentence description" [disabled]
|
- button "Reply with a one-sentence description" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Reply with a one-sentence description" [disabled]
|
- button "Reply with a one-sentence description" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Reply with a one-sentence description" [disabled]
|
- button "Reply with a one-sentence description" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- 'button "Plan a small change: add" [disabled]'
|
- 'button "Plan a small change: add" [disabled]'
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Use the ask_user_question tool to" [disabled]
|
- button "Use the ask_user_question tool to" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Reply with a one-sentence description" [disabled]
|
- button "Reply with a one-sentence description" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Reply with a one-sentence description" [disabled]
|
- button "Reply with a one-sentence description" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "workspace" [disabled]
|
- button "workspace" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Reply with a one-sentence description" [disabled]
|
- button "Reply with a one-sentence description" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Reply with a one-sentence description" [disabled]
|
- button "Reply with a one-sentence description" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "/user-invoke-demo and confirm the fixtur" [disabled]
|
- button "/user-invoke-demo and confirm the fixtur" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Use the ask_user_question tool to" [disabled]
|
- button "Use the ask_user_question tool to" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Use the ask_user_question tool to" [disabled]
|
- button "Use the ask_user_question tool to" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Use the ask_user_question tool to" [disabled]
|
- button "Use the ask_user_question tool to" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Use the ask_user_question tool to" [disabled]
|
- button "Use the ask_user_question tool to" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Begin your reply with the" [disabled]
|
- button "Begin your reply with the" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Begin your reply with the" [disabled]
|
- button "Begin your reply with the" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- navigation "Session hierarchy":
|
- navigation "Session hierarchy":
|
||||||
- button "Use web_search to search exactly" [disabled]
|
- button "Use web_search to search exactly" [disabled]
|
||||||
- img
|
- img
|
||||||
- text: 标准模式
|
- text: Standard mode
|
||||||
- tablist:
|
- tablist:
|
||||||
- tab "Chat" [selected]
|
- tab "Chat" [selected]
|
||||||
- tab "Trajectory"
|
- tab "Trajectory"
|
||||||
|
|||||||
@@ -314,7 +314,7 @@ describe('web e2e: empty-draft Cmd+Enter steers the whole queue', () => {
|
|||||||
await page.goto(scaffold.baseUrl, { waitUntil: 'load' })
|
await page.goto(scaffold.baseUrl, { waitUntil: 'load' })
|
||||||
await page.waitForSelector('[class*="frame"]', { timeout: 30_000 })
|
await page.waitForSelector('[class*="frame"]', { timeout: 30_000 })
|
||||||
await connectFreshWorkspace(page, scaffold.workspaceCwd)
|
await connectFreshWorkspace(page, scaffold.workspaceCwd)
|
||||||
await page.getByText('标准模式', { exact: true }).waitFor({ timeout: 10_000 })
|
await page.getByText('Standard mode', { exact: true }).waitFor({ timeout: 10_000 })
|
||||||
}, 120_000)
|
}, 120_000)
|
||||||
|
|
||||||
afterAll(async () => {
|
afterAll(async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user