fix: test
This commit is contained in:
@@ -36,6 +36,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current DeepSeek-V4-Flash":
|
- button "Select model, current DeepSeek-V4-Flash":
|
||||||
- text: DeepSeek-V4-Flash
|
- text: DeepSeek-V4-Flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current DeepSeek-V4-Flash":
|
- button "Select model, current DeepSeek-V4-Flash":
|
||||||
- text: DeepSeek-V4-Flash
|
- text: DeepSeek-V4-Flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current DeepSeek-V4-Flash":
|
- button "Select model, current DeepSeek-V4-Flash":
|
||||||
- text: DeepSeek-V4-Flash
|
- text: DeepSeek-V4-Flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current DeepSeek-V4-Flash":
|
- button "Select model, current DeepSeek-V4-Flash":
|
||||||
- text: DeepSeek-V4-Flash
|
- text: DeepSeek-V4-Flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current DeepSeek-V4-Flash":
|
- button "Select model, current DeepSeek-V4-Flash":
|
||||||
- text: DeepSeek-V4-Flash
|
- text: DeepSeek-V4-Flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current DeepSeek-V4-Flash":
|
- button "Select model, current DeepSeek-V4-Flash":
|
||||||
- text: DeepSeek-V4-Flash
|
- text: DeepSeek-V4-Flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current DeepSeek-V4-Flash":
|
- button "Select model, current DeepSeek-V4-Flash":
|
||||||
- text: DeepSeek-V4-Flash
|
- text: DeepSeek-V4-Flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current DeepSeek-V4-Flash":
|
- button "Select model, current DeepSeek-V4-Flash":
|
||||||
- text: DeepSeek-V4-Flash
|
- text: DeepSeek-V4-Flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current deepseek-v4-flash":
|
- button "Select model, current deepseek-v4-flash":
|
||||||
- text: deepseek-v4-flash
|
- text: deepseek-v4-flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current DeepSeek-V4-Flash":
|
- button "Select model, current DeepSeek-V4-Flash":
|
||||||
- text: DeepSeek-V4-Flash
|
- text: DeepSeek-V4-Flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current DeepSeek-V4-Flash":
|
- button "Select model, current DeepSeek-V4-Flash":
|
||||||
- text: DeepSeek-V4-Flash
|
- text: DeepSeek-V4-Flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current deepseek-v4-flash":
|
- button "Select model, current deepseek-v4-flash":
|
||||||
- text: deepseek-v4-flash
|
- text: deepseek-v4-flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -18,27 +18,21 @@
|
|||||||
- button:
|
- button:
|
||||||
- img
|
- img
|
||||||
- img
|
- img
|
||||||
- text: "Tool call ask_user_question · {\"questions\": [{\"id\": \"checkpoint\", \"question\": \"Ready to continue?\", \"header\": \"Checkpoint\", \"options\": [{\"label\": \"Yes\"}, {\"label\": \"No\"}]}]}"
|
- text: Ask question waiting
|
||||||
- region "Ready to continue?":
|
- region "Ready to continue?":
|
||||||
- text: Checkpoint
|
- text: Checkpoint
|
||||||
- heading "Ready to continue?" [level=2]
|
- heading "Ready to continue?" [level=2]
|
||||||
- text: 1 / 1
|
|
||||||
- button "Previous question" [disabled]:
|
|
||||||
- img
|
|
||||||
- button "Next question" [disabled]:
|
|
||||||
- img
|
|
||||||
- button "Dismiss all questions":
|
- button "Dismiss all questions":
|
||||||
- img
|
- img
|
||||||
- radiogroup:
|
- radiogroup:
|
||||||
- radio "Yes":
|
- radio "Yes": 1 Yes
|
||||||
- text: 1 Yes
|
- radio "No": 2 No
|
||||||
- img
|
- textbox "Type your answer"
|
||||||
- radio "No":
|
- button "Previous question" [disabled]:
|
||||||
- text: 2 No
|
- img
|
||||||
- img
|
- text: 1 / 1
|
||||||
- button "Other — enter a custom answer":
|
- button "Next question" [disabled]:
|
||||||
- img
|
- img
|
||||||
- text: Other — enter a custom answer
|
|
||||||
- status
|
- status
|
||||||
- button "Skip this question"
|
- button "Skip this question"
|
||||||
- button "Submit" [disabled]
|
- button "Submit" [disabled]
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
- button:
|
- button:
|
||||||
- img
|
- img
|
||||||
- img
|
- img
|
||||||
- text: "Tool call ask_user_question · {\"questions\": [{\"id\": \"checkpoint\", \"question\": \"Ready to continue?\", \"header\": \"Checkpoint\", \"options\": [{\"label\": \"Yes\"}, {\"label\": \"No\"}]}]} 插话 Interjection: include the word BANANA in your final reply."
|
- text: "Ask question 1/1 answered 插话 Interjection: include the word BANANA in your final reply."
|
||||||
- button "Think The user selected \"Yes\" and wants me to include the word \"BANANA\" in my final reply. Let me acknowledge their answer.":
|
- button "Think The user selected \"Yes\" and wants me to include the word \"BANANA\" in my final reply. Let me acknowledge their answer.":
|
||||||
- img
|
- img
|
||||||
- img
|
- img
|
||||||
@@ -33,6 +33,7 @@
|
|||||||
- button "Add attachment":
|
- button "Add attachment":
|
||||||
- img
|
- img
|
||||||
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
- 'button "Access mode, current: Danger Full Access"': Danger Full Access
|
||||||
|
- button "Plan mode off, press to turn on": Plan off
|
||||||
- button "Select model, current DeepSeek-V4-Flash":
|
- button "Select model, current DeepSeek-V4-Flash":
|
||||||
- text: DeepSeek-V4-Flash
|
- text: DeepSeek-V4-Flash
|
||||||
- img
|
- img
|
||||||
|
|||||||
@@ -128,6 +128,25 @@ describe('workspace browser rows', () => {
|
|||||||
expect(screen.queryByRole('menu')).toBeNull()
|
expect(screen.queryByRole('menu')).toBeNull()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it('workspace hover card shows title, directory path, and creation time after the dwell', () => {
|
||||||
|
vi.useFakeTimers()
|
||||||
|
try {
|
||||||
|
const group: GroupNode = {
|
||||||
|
key: 'project', workspaceId: wid('project'), cwd: '/projects/project', createdAt: 0, label: 'Project',
|
||||||
|
sessionCount: 0, expanded: false, containsCurrent: false, sessions: [],
|
||||||
|
}
|
||||||
|
render(<ProjectRowItem group={group} onToggle={vi.fn()} onCreate={vi.fn()} />)
|
||||||
|
fireEvent.pointerEnter(screen.getByRole('treeitem').parentElement as HTMLElement)
|
||||||
|
act(() => { vi.advanceTimersByTime(500) })
|
||||||
|
// Card body: full title + cwd + absolute creation time.
|
||||||
|
expect(screen.getAllByText('Project')).toHaveLength(2)
|
||||||
|
expect(screen.getByText('/projects/project')).toBeTruthy()
|
||||||
|
expect(screen.getByText(/^Created /)).toBeTruthy()
|
||||||
|
} finally {
|
||||||
|
vi.useRealTimers()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
it('ungrouped bucket renders no workspace menu', () => {
|
it('ungrouped bucket renders no workspace menu', () => {
|
||||||
const group: GroupNode = {
|
const group: GroupNode = {
|
||||||
key: '', workspaceId: undefined, cwd: undefined, createdAt: undefined, label: 'Ungrouped',
|
key: '', workspaceId: undefined, cwd: undefined, createdAt: undefined, label: 'Ungrouped',
|
||||||
|
|||||||
Reference in New Issue
Block a user