Skip to content

Commit 19dab96

Browse files
fix
1 parent 1230f92 commit 19dab96

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/McpResponse.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Testing 2`,
6969
result[0].text,
7070
`# test response
7171
## Page content
72-
uid=1_0 RootWebArea "My test page"
72+
uid=1_0 RootWebArea "My test page" url="about:blank"
7373
uid=1_1 button "Click me" focusable focused
7474
uid=1_2 textbox value="Input"
7575
`,
@@ -95,7 +95,7 @@ uid=1_0 RootWebArea "My test page"
9595
result[0].text,
9696
`# test response
9797
## Page content
98-
uid=1_0 RootWebArea "My test page"
98+
uid=1_0 RootWebArea "My test page" url="about:blank"
9999
uid=1_1 StaticText "username"
100100
uid=1_2 textbox "username" focusable focused value="mcp"
101101
`,
@@ -116,7 +116,7 @@ uid=1_0 RootWebArea "My test page"
116116
result[0].text,
117117
`# test response
118118
## Page content
119-
uid=1_0 RootWebArea "My test page"
119+
uid=1_0 RootWebArea "My test page" url="about:blank"
120120
uid=1_1 ignored
121121
uid=1_2 ignored
122122
uid=1_3 complementary
@@ -150,7 +150,7 @@ Saved snapshot to ${filePath}.`,
150150
const content = await readFile(filePath, 'utf-8');
151151
assert.strictEqual(
152152
content,
153-
`uid=1_0 RootWebArea "My test page"
153+
`uid=1_0 RootWebArea "My test page" url="about:blank"
154154
uid=1_1 ignored
155155
uid=1_2 ignored
156156
uid=1_3 complementary

0 commit comments

Comments
 (0)