HEL-822: run all four browser checks; minimal mechanical check fixes + fresh run evidence
- browser_check.py: 视觉观察 → 视觉观察(模拟) (author renamed the aria-label, selector not migrated)
- import_check.py: handle the dirty-settings leave confirmation before opening the record (pre-existing gap, fails at base db571ba too)
- rework_browser_check.py: long-user-line reply budget 10s→60s (approved hel-799 dwell ≈2.4s/page), conditional 继续 resume (toLatest resumes flow in the approved prototype), 600ms settle before measuring compact typing nav transition
- regenerated docs/frontend + docs/rework evidence from this Linux run
Co-authored-by: multica-agent <github@multica.ai>
@@ -15,8 +15,8 @@
|
||||
"390: private deep-link guard, cancel/exit isolation, IME/Shift+Enter and XSS text",
|
||||
"390: failed send/retry, voice end reachable, no-camera simulation, reconnect failure/retry, save failure/retry",
|
||||
"390: privacy-filtered away summary and proactive message",
|
||||
"No uncaught browser errors, external requests, microphone or camera requests"
|
||||
"No uncaught browser errors, API/external requests, microphone or camera requests"
|
||||
],
|
||||
"errors": [],
|
||||
"requests": 88
|
||||
"requests": 59
|
||||
}
|
||||
|
Before Width: | Height: | Size: 557 KiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 516 KiB After Width: | Height: | Size: 1.0 MiB |
@@ -1,387 +1,587 @@
|
||||
{
|
||||
"checks": [
|
||||
"Real creation: lunar leap month, all six explanations, same final confirmation; preview writes no rows",
|
||||
"Long Chinese stream: entire user/reply retained; final keeps same DOM; one entrance across all chunks and final",
|
||||
"Old sentence stays mounted during a visible 160ms fade-out, then leaves",
|
||||
"12 viewport/theme combinations: long text scrolls, stage/dialog/composer/navigation never overlap; full history reachable",
|
||||
"Cancel then immediate new turn, model error and same-turn retry preserve roles and avoid duplicate user messages",
|
||||
"Restored real pages: city search/empty, appearance/check/compare, backup/recovery, four services/live health, life/memory groups; unsaved close guard",
|
||||
"Escape navigation; browser display preference survives reload; settings/system reduced motion uses gentle opacity",
|
||||
"Demo has its own profile, voice simulation, life/detail/chat/return path and zero API requests"
|
||||
"Long Chinese stream: shown lines never change or re-key, ink plays once per line; pause/keyboard review is instant; record keeps everything",
|
||||
"12 viewport/theme combinations: lines stay inside the stage, stage/reader/composer/navigation never overlap; Esc closes full text with focus back; full history reachable"
|
||||
],
|
||||
"viewports": [
|
||||
{
|
||||
"width": 1440,
|
||||
"height": 900,
|
||||
"theme": "moon",
|
||||
"dialog": {
|
||||
"top": 564,
|
||||
"bottom": 734,
|
||||
"height": 170
|
||||
"stage": {
|
||||
"top": 605.609375,
|
||||
"bottom": 733.609375,
|
||||
"left": 250,
|
||||
"right": 1190,
|
||||
"height": 128
|
||||
},
|
||||
"reader": {
|
||||
"top": 762,
|
||||
"bottom": 792,
|
||||
"left": 596.5,
|
||||
"right": 843.5,
|
||||
"height": 30
|
||||
},
|
||||
"composer": {
|
||||
"top": 746,
|
||||
"bottom": 806,
|
||||
"height": 60
|
||||
"top": 798,
|
||||
"bottom": 848,
|
||||
"left": 400,
|
||||
"right": 1040,
|
||||
"height": 50
|
||||
},
|
||||
"nav": {
|
||||
"top": 818,
|
||||
"bottom": 878,
|
||||
"height": 60
|
||||
"top": 860,
|
||||
"bottom": 894,
|
||||
"left": 582,
|
||||
"right": 858,
|
||||
"height": 34
|
||||
},
|
||||
"stage": {
|
||||
"top": 72,
|
||||
"bottom": 552,
|
||||
"height": 480
|
||||
},
|
||||
"scrollHeight": 1848,
|
||||
"clientHeight": 142,
|
||||
"lines": [
|
||||
{
|
||||
"top": 643.21875,
|
||||
"bottom": 665.71875,
|
||||
"left": 596.625,
|
||||
"right": 887.328125,
|
||||
"height": 22.5
|
||||
},
|
||||
{
|
||||
"top": 699.109375,
|
||||
"bottom": 733.609375,
|
||||
"left": 555.765625,
|
||||
"right": 884.21875,
|
||||
"height": 34.5
|
||||
}
|
||||
],
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"height": 900,
|
||||
"theme": "fog",
|
||||
"dialog": {
|
||||
"top": 564,
|
||||
"bottom": 734,
|
||||
"height": 170
|
||||
"stage": {
|
||||
"top": 605.609375,
|
||||
"bottom": 733.609375,
|
||||
"left": 250,
|
||||
"right": 1190,
|
||||
"height": 128
|
||||
},
|
||||
"reader": {
|
||||
"top": 762,
|
||||
"bottom": 792,
|
||||
"left": 596.5,
|
||||
"right": 843.5,
|
||||
"height": 30
|
||||
},
|
||||
"composer": {
|
||||
"top": 746,
|
||||
"bottom": 806,
|
||||
"height": 60
|
||||
"top": 798,
|
||||
"bottom": 848,
|
||||
"left": 400,
|
||||
"right": 1040,
|
||||
"height": 50
|
||||
},
|
||||
"nav": {
|
||||
"top": 818,
|
||||
"bottom": 878,
|
||||
"height": 60
|
||||
"top": 860,
|
||||
"bottom": 894,
|
||||
"left": 582,
|
||||
"right": 858,
|
||||
"height": 34
|
||||
},
|
||||
"stage": {
|
||||
"top": 72,
|
||||
"bottom": 552,
|
||||
"height": 480
|
||||
},
|
||||
"scrollHeight": 1848,
|
||||
"clientHeight": 142,
|
||||
"lines": [
|
||||
{
|
||||
"top": 643.21875,
|
||||
"bottom": 665.71875,
|
||||
"left": 596.625,
|
||||
"right": 887.328125,
|
||||
"height": 22.5
|
||||
},
|
||||
{
|
||||
"top": 699.109375,
|
||||
"bottom": 733.609375,
|
||||
"left": 555.765625,
|
||||
"right": 884.21875,
|
||||
"height": 34.5
|
||||
}
|
||||
],
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 360,
|
||||
"height": 640,
|
||||
"theme": "moon",
|
||||
"dialog": {
|
||||
"top": 220,
|
||||
"bottom": 492,
|
||||
"height": 272
|
||||
"stage": {
|
||||
"top": 362,
|
||||
"bottom": 494,
|
||||
"left": 10,
|
||||
"right": 350,
|
||||
"height": 132
|
||||
},
|
||||
"reader": {
|
||||
"top": 496,
|
||||
"bottom": 526,
|
||||
"left": 72.5,
|
||||
"right": 287.5,
|
||||
"height": 30
|
||||
},
|
||||
"composer": {
|
||||
"top": 500,
|
||||
"bottom": 556,
|
||||
"height": 56
|
||||
"top": 532,
|
||||
"bottom": 580,
|
||||
"left": 10,
|
||||
"right": 350,
|
||||
"height": 48
|
||||
},
|
||||
"nav": {
|
||||
"top": 566,
|
||||
"bottom": 624,
|
||||
"height": 58
|
||||
"top": 586,
|
||||
"bottom": 634,
|
||||
"left": 30,
|
||||
"right": 330,
|
||||
"height": 48
|
||||
},
|
||||
"stage": {
|
||||
"top": 58,
|
||||
"bottom": 212,
|
||||
"height": 154
|
||||
},
|
||||
"scrollHeight": 2876,
|
||||
"clientHeight": 244,
|
||||
"lines": [
|
||||
{
|
||||
"top": 412.453125,
|
||||
"bottom": 432.59375,
|
||||
"left": 155.5625,
|
||||
"right": 248.390625,
|
||||
"height": 20.140625
|
||||
},
|
||||
{
|
||||
"top": 466.109375,
|
||||
"bottom": 494,
|
||||
"left": 51.46875,
|
||||
"right": 308.515625,
|
||||
"height": 27.890625
|
||||
}
|
||||
],
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 360,
|
||||
"height": 640,
|
||||
"theme": "fog",
|
||||
"dialog": {
|
||||
"top": 220,
|
||||
"bottom": 492,
|
||||
"height": 272
|
||||
"stage": {
|
||||
"top": 362,
|
||||
"bottom": 494,
|
||||
"left": 10,
|
||||
"right": 350,
|
||||
"height": 132
|
||||
},
|
||||
"reader": {
|
||||
"top": 496,
|
||||
"bottom": 526,
|
||||
"left": 72.5,
|
||||
"right": 287.5,
|
||||
"height": 30
|
||||
},
|
||||
"composer": {
|
||||
"top": 500,
|
||||
"bottom": 556,
|
||||
"height": 56
|
||||
"top": 532,
|
||||
"bottom": 580,
|
||||
"left": 10,
|
||||
"right": 350,
|
||||
"height": 48
|
||||
},
|
||||
"nav": {
|
||||
"top": 586,
|
||||
"bottom": 634,
|
||||
"left": 30,
|
||||
"right": 330,
|
||||
"height": 48
|
||||
},
|
||||
"lines": [
|
||||
{
|
||||
"top": 412.453125,
|
||||
"bottom": 432.59375,
|
||||
"left": 155.5625,
|
||||
"right": 248.390625,
|
||||
"height": 20.140625
|
||||
},
|
||||
{
|
||||
"top": 466.109375,
|
||||
"bottom": 494,
|
||||
"left": 51.46875,
|
||||
"right": 308.515625,
|
||||
"height": 27.890625
|
||||
}
|
||||
],
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"height": 700,
|
||||
"theme": "moon",
|
||||
"stage": {
|
||||
"top": 422,
|
||||
"bottom": 554,
|
||||
"left": 10,
|
||||
"right": 380,
|
||||
"height": 132
|
||||
},
|
||||
"reader": {
|
||||
"top": 556,
|
||||
"bottom": 586,
|
||||
"left": 87.5,
|
||||
"right": 302.5,
|
||||
"height": 30
|
||||
},
|
||||
"composer": {
|
||||
"top": 592,
|
||||
"bottom": 640,
|
||||
"left": 10,
|
||||
"right": 380,
|
||||
"height": 48
|
||||
},
|
||||
"nav": {
|
||||
"top": 646,
|
||||
"bottom": 694,
|
||||
"left": 45,
|
||||
"right": 345,
|
||||
"height": 48
|
||||
},
|
||||
"lines": [
|
||||
{
|
||||
"top": 472.453125,
|
||||
"bottom": 492.59375,
|
||||
"left": 91,
|
||||
"right": 342.953125,
|
||||
"height": 20.140625
|
||||
},
|
||||
{
|
||||
"top": 526.109375,
|
||||
"bottom": 554,
|
||||
"left": 66.46875,
|
||||
"right": 323.515625,
|
||||
"height": 27.890625
|
||||
}
|
||||
],
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"height": 700,
|
||||
"theme": "fog",
|
||||
"stage": {
|
||||
"top": 422,
|
||||
"bottom": 554,
|
||||
"left": 10,
|
||||
"right": 380,
|
||||
"height": 132
|
||||
},
|
||||
"reader": {
|
||||
"top": 556,
|
||||
"bottom": 586,
|
||||
"left": 87.5,
|
||||
"right": 302.5,
|
||||
"height": 30
|
||||
},
|
||||
"composer": {
|
||||
"top": 592,
|
||||
"bottom": 640,
|
||||
"left": 10,
|
||||
"right": 380,
|
||||
"height": 48
|
||||
},
|
||||
"nav": {
|
||||
"top": 646,
|
||||
"bottom": 694,
|
||||
"left": 45,
|
||||
"right": 345,
|
||||
"height": 48
|
||||
},
|
||||
"lines": [
|
||||
{
|
||||
"top": 472.453125,
|
||||
"bottom": 492.59375,
|
||||
"left": 91,
|
||||
"right": 342.953125,
|
||||
"height": 20.140625
|
||||
},
|
||||
{
|
||||
"top": 526.109375,
|
||||
"bottom": 554,
|
||||
"left": 66.46875,
|
||||
"right": 323.515625,
|
||||
"height": 27.890625
|
||||
}
|
||||
],
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"height": 844,
|
||||
"theme": "moon",
|
||||
"stage": {
|
||||
"top": 566,
|
||||
"bottom": 624,
|
||||
"height": 58
|
||||
"bottom": 698,
|
||||
"left": 10,
|
||||
"right": 380,
|
||||
"height": 132
|
||||
},
|
||||
"stage": {
|
||||
"top": 58,
|
||||
"bottom": 212,
|
||||
"height": 154
|
||||
},
|
||||
"scrollHeight": 2876,
|
||||
"clientHeight": 244,
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"height": 700,
|
||||
"theme": "moon",
|
||||
"dialog": {
|
||||
"top": 253,
|
||||
"bottom": 552,
|
||||
"height": 299
|
||||
"reader": {
|
||||
"top": 700,
|
||||
"bottom": 730,
|
||||
"left": 87.5,
|
||||
"right": 302.5,
|
||||
"height": 30
|
||||
},
|
||||
"composer": {
|
||||
"top": 560,
|
||||
"bottom": 616,
|
||||
"height": 56
|
||||
"top": 736,
|
||||
"bottom": 784,
|
||||
"left": 10,
|
||||
"right": 380,
|
||||
"height": 48
|
||||
},
|
||||
"nav": {
|
||||
"top": 626,
|
||||
"bottom": 684,
|
||||
"height": 58
|
||||
"top": 790,
|
||||
"bottom": 838,
|
||||
"left": 45,
|
||||
"right": 345,
|
||||
"height": 48
|
||||
},
|
||||
"stage": {
|
||||
"top": 58,
|
||||
"bottom": 245,
|
||||
"height": 187
|
||||
},
|
||||
"scrollHeight": 2735,
|
||||
"clientHeight": 271,
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"height": 700,
|
||||
"theme": "fog",
|
||||
"dialog": {
|
||||
"top": 253,
|
||||
"bottom": 552,
|
||||
"height": 299
|
||||
},
|
||||
"composer": {
|
||||
"top": 560,
|
||||
"bottom": 616,
|
||||
"height": 56
|
||||
},
|
||||
"nav": {
|
||||
"top": 626,
|
||||
"bottom": 684,
|
||||
"height": 58
|
||||
},
|
||||
"stage": {
|
||||
"top": 58,
|
||||
"bottom": 245,
|
||||
"height": 187
|
||||
},
|
||||
"scrollHeight": 2735,
|
||||
"clientHeight": 271,
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"height": 844,
|
||||
"theme": "moon",
|
||||
"dialog": {
|
||||
"top": 332.1875,
|
||||
"bottom": 696,
|
||||
"height": 363.8125
|
||||
},
|
||||
"composer": {
|
||||
"top": 704,
|
||||
"bottom": 760,
|
||||
"height": 56
|
||||
},
|
||||
"nav": {
|
||||
"top": 770,
|
||||
"bottom": 828,
|
||||
"height": 58
|
||||
},
|
||||
"stage": {
|
||||
"top": 58,
|
||||
"bottom": 324.1875,
|
||||
"height": 266.1875
|
||||
},
|
||||
"scrollHeight": 2735,
|
||||
"clientHeight": 335,
|
||||
"lines": [
|
||||
{
|
||||
"top": 616.453125,
|
||||
"bottom": 636.59375,
|
||||
"left": 91,
|
||||
"right": 342.953125,
|
||||
"height": 20.140625
|
||||
},
|
||||
{
|
||||
"top": 670.109375,
|
||||
"bottom": 698,
|
||||
"left": 66.46875,
|
||||
"right": 323.515625,
|
||||
"height": 27.890625
|
||||
}
|
||||
],
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"height": 844,
|
||||
"theme": "fog",
|
||||
"dialog": {
|
||||
"top": 332.1875,
|
||||
"bottom": 696,
|
||||
"height": 363.8125
|
||||
"stage": {
|
||||
"top": 566,
|
||||
"bottom": 698,
|
||||
"left": 10,
|
||||
"right": 380,
|
||||
"height": 132
|
||||
},
|
||||
"reader": {
|
||||
"top": 700,
|
||||
"bottom": 730,
|
||||
"left": 87.5,
|
||||
"right": 302.5,
|
||||
"height": 30
|
||||
},
|
||||
"composer": {
|
||||
"top": 704,
|
||||
"bottom": 760,
|
||||
"height": 56
|
||||
"top": 736,
|
||||
"bottom": 784,
|
||||
"left": 10,
|
||||
"right": 380,
|
||||
"height": 48
|
||||
},
|
||||
"nav": {
|
||||
"top": 770,
|
||||
"bottom": 828,
|
||||
"height": 58
|
||||
"top": 790,
|
||||
"bottom": 838,
|
||||
"left": 45,
|
||||
"right": 345,
|
||||
"height": 48
|
||||
},
|
||||
"stage": {
|
||||
"top": 58,
|
||||
"bottom": 324.1875,
|
||||
"height": 266.1875
|
||||
},
|
||||
"scrollHeight": 2735,
|
||||
"clientHeight": 335,
|
||||
"lines": [
|
||||
{
|
||||
"top": 616.453125,
|
||||
"bottom": 636.59375,
|
||||
"left": 91,
|
||||
"right": 342.953125,
|
||||
"height": 20.140625
|
||||
},
|
||||
{
|
||||
"top": 670.109375,
|
||||
"bottom": 698,
|
||||
"left": 66.46875,
|
||||
"right": 323.515625,
|
||||
"height": 27.890625
|
||||
}
|
||||
],
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"height": 420,
|
||||
"theme": "moon",
|
||||
"dialog": {
|
||||
"top": 106,
|
||||
"bottom": 272,
|
||||
"height": 166
|
||||
"stage": {
|
||||
"top": 206,
|
||||
"bottom": 284,
|
||||
"left": 10,
|
||||
"right": 380,
|
||||
"height": 78
|
||||
},
|
||||
"reader": {
|
||||
"top": 284,
|
||||
"bottom": 314,
|
||||
"left": 87.5,
|
||||
"right": 302.5,
|
||||
"height": 30
|
||||
},
|
||||
"composer": {
|
||||
"top": 280,
|
||||
"bottom": 336,
|
||||
"height": 56
|
||||
"top": 318,
|
||||
"bottom": 366,
|
||||
"left": 10,
|
||||
"right": 380,
|
||||
"height": 48
|
||||
},
|
||||
"nav": {
|
||||
"top": 346,
|
||||
"bottom": 404,
|
||||
"height": 58
|
||||
"top": 436,
|
||||
"bottom": 480,
|
||||
"left": 45,
|
||||
"right": 345,
|
||||
"height": 44
|
||||
},
|
||||
"stage": {
|
||||
"top": 58,
|
||||
"bottom": 98,
|
||||
"height": 40
|
||||
},
|
||||
"scrollHeight": 2735,
|
||||
"clientHeight": 138,
|
||||
"lines": [
|
||||
{
|
||||
"top": 259.203125,
|
||||
"bottom": 284,
|
||||
"left": 80.75,
|
||||
"right": 309.234375,
|
||||
"height": 24.796875
|
||||
}
|
||||
],
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"height": 420,
|
||||
"theme": "fog",
|
||||
"dialog": {
|
||||
"top": 106,
|
||||
"bottom": 272,
|
||||
"height": 166
|
||||
"stage": {
|
||||
"top": 206,
|
||||
"bottom": 284,
|
||||
"left": 10,
|
||||
"right": 380,
|
||||
"height": 78
|
||||
},
|
||||
"reader": {
|
||||
"top": 284,
|
||||
"bottom": 314,
|
||||
"left": 87.5,
|
||||
"right": 302.5,
|
||||
"height": 30
|
||||
},
|
||||
"composer": {
|
||||
"top": 280,
|
||||
"bottom": 336,
|
||||
"height": 56
|
||||
"top": 318,
|
||||
"bottom": 366,
|
||||
"left": 10,
|
||||
"right": 380,
|
||||
"height": 48
|
||||
},
|
||||
"nav": {
|
||||
"top": 346,
|
||||
"bottom": 404,
|
||||
"height": 58
|
||||
"top": 436,
|
||||
"bottom": 480,
|
||||
"left": 45,
|
||||
"right": 345,
|
||||
"height": 44
|
||||
},
|
||||
"stage": {
|
||||
"top": 58,
|
||||
"bottom": 98,
|
||||
"height": 40
|
||||
},
|
||||
"scrollHeight": 2735,
|
||||
"clientHeight": 138,
|
||||
"lines": [
|
||||
{
|
||||
"top": 259.203125,
|
||||
"bottom": 284,
|
||||
"left": 80.75,
|
||||
"right": 309.234375,
|
||||
"height": 24.796875
|
||||
}
|
||||
],
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 844,
|
||||
"height": 390,
|
||||
"theme": "moon",
|
||||
"dialog": {
|
||||
"top": 124,
|
||||
"bottom": 224,
|
||||
"height": 100
|
||||
"stage": {
|
||||
"top": 174,
|
||||
"bottom": 252,
|
||||
"left": 50.640625,
|
||||
"right": 793.359375,
|
||||
"height": 78
|
||||
},
|
||||
"reader": {
|
||||
"top": 252,
|
||||
"bottom": 282,
|
||||
"left": 359.5,
|
||||
"right": 484.5,
|
||||
"height": 30
|
||||
},
|
||||
"composer": {
|
||||
"top": 236,
|
||||
"bottom": 296,
|
||||
"height": 60
|
||||
"top": 286,
|
||||
"bottom": 336,
|
||||
"left": 102,
|
||||
"right": 742,
|
||||
"height": 50
|
||||
},
|
||||
"nav": {
|
||||
"top": 308,
|
||||
"bottom": 368,
|
||||
"height": 60
|
||||
"top": 406,
|
||||
"bottom": 450,
|
||||
"left": 284,
|
||||
"right": 560,
|
||||
"height": 44
|
||||
},
|
||||
"stage": {
|
||||
"top": 72,
|
||||
"bottom": 112,
|
||||
"height": 40
|
||||
},
|
||||
"scrollHeight": 2178,
|
||||
"clientHeight": 72,
|
||||
"lines": [
|
||||
{
|
||||
"top": 227.203125,
|
||||
"bottom": 252,
|
||||
"left": 307.75,
|
||||
"right": 536.234375,
|
||||
"height": 24.796875
|
||||
}
|
||||
],
|
||||
"overflow": false
|
||||
},
|
||||
{
|
||||
"width": 844,
|
||||
"height": 390,
|
||||
"theme": "fog",
|
||||
"dialog": {
|
||||
"top": 124,
|
||||
"bottom": 224,
|
||||
"height": 100
|
||||
"stage": {
|
||||
"top": 174,
|
||||
"bottom": 252,
|
||||
"left": 50.640625,
|
||||
"right": 793.359375,
|
||||
"height": 78
|
||||
},
|
||||
"reader": {
|
||||
"top": 252,
|
||||
"bottom": 282,
|
||||
"left": 359.5,
|
||||
"right": 484.5,
|
||||
"height": 30
|
||||
},
|
||||
"composer": {
|
||||
"top": 236,
|
||||
"bottom": 296,
|
||||
"height": 60
|
||||
"top": 286,
|
||||
"bottom": 336,
|
||||
"left": 102,
|
||||
"right": 742,
|
||||
"height": 50
|
||||
},
|
||||
"nav": {
|
||||
"top": 308,
|
||||
"bottom": 368,
|
||||
"height": 60
|
||||
"top": 406,
|
||||
"bottom": 450,
|
||||
"left": 284,
|
||||
"right": 560,
|
||||
"height": 44
|
||||
},
|
||||
"stage": {
|
||||
"top": 72,
|
||||
"bottom": 112,
|
||||
"height": 40
|
||||
},
|
||||
"scrollHeight": 2178,
|
||||
"clientHeight": 72,
|
||||
"lines": [
|
||||
{
|
||||
"top": 227.203125,
|
||||
"bottom": 252,
|
||||
"left": 307.75,
|
||||
"right": 536.234375,
|
||||
"height": 24.796875
|
||||
}
|
||||
],
|
||||
"overflow": false
|
||||
}
|
||||
],
|
||||
"motion": {
|
||||
"entry_frames": [
|
||||
{
|
||||
"time": 0,
|
||||
"opacity": "0",
|
||||
"transform": "matrix(1, 0, 0, 1, 0, 3)"
|
||||
},
|
||||
{
|
||||
"time": 80,
|
||||
"opacity": "0.917147",
|
||||
"transform": "matrix(1, 0, 0, 1, 0, 0.248559)"
|
||||
},
|
||||
{
|
||||
"time": 200,
|
||||
"opacity": "1",
|
||||
"transform": "none"
|
||||
}
|
||||
],
|
||||
"exit_frames": [
|
||||
{
|
||||
"time": 0,
|
||||
"opacity": "1",
|
||||
"retained": true
|
||||
},
|
||||
{
|
||||
"time": 80,
|
||||
"opacity": "0.0386175",
|
||||
"retained": true
|
||||
},
|
||||
{
|
||||
"time": 159,
|
||||
"opacity": "3.47566e-08",
|
||||
"retained": true
|
||||
}
|
||||
]
|
||||
"inked_lines": {
|
||||
"351d619e-f034-4908-9340-aa384d74003f:1:0": 1
|
||||
}
|
||||
},
|
||||
"console_errors": [],
|
||||
"limits": [
|
||||
|
||||
|
Before Width: | Height: | Size: 366 KiB After Width: | Height: | Size: 432 KiB |
|
Before Width: | Height: | Size: 350 KiB After Width: | Height: | Size: 386 KiB |
@@ -12,7 +12,7 @@
|
||||
"real_dialogue": [
|
||||
{
|
||||
"input": "请记住我们这次聊天的暗号是蓝色风铃。简短回应一句就好。",
|
||||
"reply": "好的,暗号是蓝色风铃。",
|
||||
"reply": "好,暗号是蓝色风铃。",
|
||||
"source": "real gateway"
|
||||
},
|
||||
{
|
||||
|
||||
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 394 KiB |
|
After Width: | Height: | Size: 194 KiB |
|
After Width: | Height: | Size: 110 KiB |
|
After Width: | Height: | Size: 301 KiB |
|
After Width: | Height: | Size: 300 KiB |
|
After Width: | Height: | Size: 224 KiB |
|
After Width: | Height: | Size: 226 KiB |
|
After Width: | Height: | Size: 402 KiB |
|
After Width: | Height: | Size: 400 KiB |
@@ -163,9 +163,9 @@ try:
|
||||
shot(page, f'{width}-voice')
|
||||
click(page, '结束语音')
|
||||
expect(page.locator('.voice-row')).to_have_count(0)
|
||||
click(page, '视觉观察'); click(page, '开始模拟')
|
||||
click(page, '视觉观察(模拟)'); click(page, '开始模拟')
|
||||
expect(page.locator('.observe')).to_contain_text('未采集影像')
|
||||
click(page, '视觉观察')
|
||||
click(page, '视觉观察(模拟)')
|
||||
composer.fill('断线保留草稿')
|
||||
scenario(page, '模拟断线')
|
||||
expect(composer).to_have_value('断线保留草稿')
|
||||
|
||||
@@ -64,7 +64,10 @@ try:
|
||||
section(page,'城市');click(page,'保存');expect(page.get_by_role('status').filter(has_text='已保存在本机演示')).to_be_visible()
|
||||
assert page.evaluate('JSON.parse(localStorage.getItem("cybergril.demo.v1")).settings.services["对话模型"]')==''
|
||||
checks.append('Changing section aborts outstanding save; saving city does not commit an unsaved service draft')
|
||||
page.get_by_role('navigation',name='主导航').get_by_role('button',name='交谈',exact=True).click();click(page,'完整记录')
|
||||
page.get_by_role('navigation',name='主导航').get_by_role('button',name='交谈',exact=True).click()
|
||||
leave=page.get_by_role('dialog').get_by_role('button',name='放弃修改并离开',exact=True)
|
||||
if leave.count(): leave.click()
|
||||
click(page,'完整记录')
|
||||
expect(page.locator('.log-panel')).to_contain_text('<img src=x onerror=alert(1)>')
|
||||
expect(page.locator('.log-panel img')).to_have_count(0)
|
||||
checks.append('Imported model text rendered as text, never as HTML')
|
||||
|
||||
@@ -119,7 +119,7 @@ try:
|
||||
send(page, USER)
|
||||
# The turn starts at your line, then her reply flows on by itself one or two lines at a time.
|
||||
expect(page.locator(CURRENT)).to_have_attribute('data-role', 'user')
|
||||
expect(page.locator(CURRENT + '[data-role="companion"]')).to_contain_text('开头:', timeout=10000)
|
||||
expect(page.locator(CURRENT + '[data-role="companion"]')).to_contain_text('开头:', timeout=60000)
|
||||
expect(page.get_by_role('button', name='停止回复')).not_to_be_visible(timeout=15000)
|
||||
# Pause, then review: keyboard lands at once (no slide, no replayed ink), "back to where I was" returns.
|
||||
click(page, '暂停')
|
||||
@@ -141,7 +141,7 @@ try:
|
||||
for part in ('长句开头', '用户长句末尾', '开头:', '第5段。', '故事没有被截掉'):
|
||||
expect(page.locator('.log-panel')).to_contain_text(part)
|
||||
click(page, '关闭记录')
|
||||
click(page, '继续')
|
||||
if page.get_by_role('button', name='继续', exact=True).count(): click(page, '继续')
|
||||
passed('Long Chinese stream: shown lines never change or re-key, ink plays once per line; pause/keyboard review is instant; record keeps everything')
|
||||
|
||||
click(page, '暂停')
|
||||
@@ -151,6 +151,7 @@ try:
|
||||
click(page, label)
|
||||
expect(page.locator('html')).to_have_attribute('data-theme', theme)
|
||||
page.get_by_role('textbox', name='想和她说的话').focus()
|
||||
page.wait_for_timeout(600) # compact typing slides the nav away over 420ms; measure after it settles
|
||||
metrics = page.evaluate("""() => {
|
||||
const box=el=>{const b=el.getBoundingClientRect();return {top:b.top,bottom:b.bottom,left:b.left,right:b.right,height:b.height}};
|
||||
const q=s=>box(document.querySelector(s));
|
||||
@@ -178,7 +179,7 @@ try:
|
||||
expect(page.locator('.log-panel')).to_contain_text('故事没有被截掉')
|
||||
if width == 390 and height == 844: shot(page, f'full-history-{theme}')
|
||||
click(page, '关闭记录')
|
||||
click(page, '继续')
|
||||
if page.get_by_role('button', name='继续', exact=True).count(): click(page, '继续')
|
||||
passed('12 viewport/theme combinations: lines stay inside the stage, stage/reader/composer/navigation never overlap; Esc closes full text with focus back; full history reachable')
|
||||
|
||||
page.set_viewport_size({'width': 390, 'height': 700})
|
||||
|
||||