| 1234567891011121314151617181920212223242526272829303132333435363738 |
- {"version":8,"type":"context-options","origin":"library","browserName":"chromium","playwrightVersion":"1.60.0","options":{"noDefaultViewport":false,"viewport":{"width":1280,"height":720},"ignoreHTTPSErrors":false,"javaScriptEnabled":true,"bypassCSP":false,"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.7778.96 Safari/537.36","locale":"en-US","offline":false,"deviceScaleFactor":1,"isMobile":false,"hasTouch":false,"colorScheme":"light","acceptDownloads":"accept","baseURL":"http://127.0.0.1:3000","recordVideo":{"dir":"C:\\Users\\caoyg\\ai\\audio-tts\\audio_codebuddy\\test-results\\.playwright-artifacts-36"},"serviceWorkers":"allow","selectorEngines":[],"testIdAttributeName":"data-testid"},"platform":"win32","wallTime":1781447418720,"monotonicTime":334956.066,"sdkLanguage":"javascript","testIdAttributeName":"data-testid","contextId":"browser-context@2b90bdb68689e8779cb599b26278b1b5","title":"23-frontend-e2e.spec.ts:688 › 前端 UI 完整验收 › E23: 专辑详情页 - 专辑信息/章节列表/操作按钮"}
- {"type":"before","callId":"call@169","startTime":334958.822,"class":"BrowserContext","method":"newPage","params":{},"stepId":"pw:api@25"}
- {"type":"event","time":335361.305,"class":"BrowserContext","method":"page","params":{"pageId":"page@ef1b7eba78663d2265d2891ecbfdff74"}}
- {"type":"after","callId":"call@169","endTime":335361.38,"result":{"page":"<Page>"}}
- {"type":"before","callId":"call@171","startTime":335364.8,"class":"Frame","method":"goto","params":{"url":"http://localhost:5173/#/pages/album/index","timeout":30000,"waitUntil":"networkidle"},"stepId":"pw:api@26","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","beforeSnapshot":"before@call@171"}
- {"type":"frame-snapshot","snapshot":{"callId":"call@171","snapshotName":"before@call@171","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","frameId":"frame@f9dff37c19fcbe0e58c8fd454f26d79a","frameUrl":"about:blank","html":["HTML",{},["HEAD",{},["BASE",{"href":"about:blank"}]],["BODY"]],"viewport":{"width":1280,"height":720},"timestamp":335372.923,"wallTime":1781447419131,"collectionTime":0.8999999985098839,"resourceOverrides":[],"isMainFrame":true}}
- {"type":"log","callId":"call@171","time":335373.869,"message":"navigating to \"http://localhost:5173/#/pages/album/index\", waiting until \"networkidle\""}
- {"type":"screencast-frame","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","sha1":"page@ef1b7eba78663d2265d2891ecbfdff74-1781447419169.jpeg","width":1280,"height":720,"timestamp":335404.615,"frameSwapWallTime":1781447419164.671}
- {"type":"screencast-frame","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","sha1":"page@ef1b7eba78663d2265d2891ecbfdff74-1781447419493.jpeg","width":1280,"height":720,"timestamp":335729.003,"frameSwapWallTime":1781447419481.613}
- {"type":"console","messageType":"debug","text":"[vite] connecting...","args":[{"preview":"[vite] connecting...","value":"[vite] connecting..."}],"location":{"url":"http://localhost:5173/tonggan/@vite/client","lineNumber":494,"columnNumber":8},"time":335742.203,"pageId":"page@ef1b7eba78663d2265d2891ecbfdff74"}
- {"type":"console","messageType":"warning","text":"[Vue Router warn]: No match found for location with path \"/pages/album/index\"","args":[{"preview":"[Vue Router warn]: No match found for location with path \"/pages/album/index\"","value":"[Vue Router warn]: No match found for location with path \"/pages/album/index\""}],"location":{"url":"http://localhost:5173/tonggan/node_modules/.vite/deps/vue-router.js?v=0afd88a5","lineNumber":50,"columnNumber":15},"time":335777.099,"pageId":"page@ef1b7eba78663d2265d2891ecbfdff74"}
- {"type":"screencast-frame","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","sha1":"page@ef1b7eba78663d2265d2891ecbfdff74-1781447419565.jpeg","width":1280,"height":720,"timestamp":335800.642,"frameSwapWallTime":1781447419561.12}
- {"type":"console","messageType":"debug","text":"[vite] connected.","args":[{"preview":"[vite] connected.","value":"[vite] connected."}],"location":{"url":"http://localhost:5173/tonggan/@vite/client","lineNumber":617,"columnNumber":14},"time":336063.043,"pageId":"page@ef1b7eba78663d2265d2891ecbfdff74"}
- {"type":"after","callId":"call@171","endTime":336271.449,"result":{"response":"<Response>"},"afterSnapshot":"after@call@171"}
- {"type":"frame-snapshot","snapshot":{"callId":"call@171","snapshotName":"after@call@171","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","frameId":"frame@f9dff37c19fcbe0e58c8fd454f26d79a","frameUrl":"http://localhost:5173/tonggan/#/pages/album/index","doctype":"html","html":["HTML",{"lang":"zh-CN","data-theme":"standard"},["HEAD",{},["BASE",{"href":"http://localhost:5173/tonggan/#/pages/album/index"}],"\n ","\n\n ",["META",{"charset":"utf-8"}],"\n ",["META",{"name":"viewport","content":"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}],"\n ",["META",{"name":"theme-color","content":"#4ecdc4"}],"\n ",["META",{"name":"description","content":"tonggan - 儿童注意力训练 App - AI 当教练,爸妈少操心"}],"\n ",["LINK",{"rel":"icon","type":"image/svg+xml","href":"/tonggan/icon.svg"}],"\n ",["LINK",{"rel":"apple-touch-icon","href":"/tonggan/icon.svg"}],"\n ",["LINK",{"rel":"manifest","href":"/tonggan/manifest.webmanifest"}],"\n ",["TITLE",{},"tonggan · AI 当教练,爸妈少操心"],"\n ",["STYLE",{},"\n.app {\r\n min-height: 100vh;\r\n width: 100%;\n}\r\n"],["STYLE",{},"/**\r\n * tonggan 主题:3 套 CSS 变量方案\r\n * - standard 标准(默认):柔和蓝绿色\r\n * - high-contrast 高对比:强对比,适合视力辅助\r\n * - soft 柔和:暖色调,降低刺激\r\n *\r\n * 全局字号:\r\n * - font-mega 超大(指令,48px+)\r\n * - font-xl 标题\r\n * - font-lg 重要内容\r\n * - font-md 正文\r\n * - font-sm 辅助\r\n */\r\n\r\n:root,\r\n:root[data-theme='standard'] {\r\n /* 颜色 */\r\n --color-primary: #4ecdc4;\r\n --color-primary-dark: #2eb8af;\r\n --color-accent: #ffb84d;\r\n --color-success: #6bcf7f;\r\n --color-warning: #ff9966;\r\n --color-danger: #ff6b6b;\r\n --color-bg: #fafbfc;\r\n --color-bg-card: #ffffff;\r\n --color-text: #1f2933;\r\n --color-text-secondary: #5b6470;\r\n --color-border: #e4e9ee;\r\n /* 字号 */\r\n --font-mega: 64px;\r\n --font-xl: 36px;\r\n --font-lg: 28px;\r\n --font-md: 20px;\r\n --font-sm: 16px;\r\n /* 间距 */\r\n --btn-height: 120px;\r\n --btn-radius: 24px;\r\n --card-radius: 20px;\r\n /* 字体 */\r\n --font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;\r\n}\r\n\r\n:root[data-theme='high-contrast'] {\r\n --color-primary: #0066cc;\r\n --color-primary-dark: #004999;\r\n --color-accent: #ff8800;\r\n --color-success: #009933;\r\n --color-warning: #cc6600;\r\n --color-danger: #cc0000;\r\n --color-bg: #ffffff;\r\n --color-bg-card: #ffffff;\r\n --color-text: #000000;\r\n --color-text-secondary: #1a1a1a;\r\n --color-border: #000000;\r\n --font-mega: 72px;\r\n --font-xl: 40px;\r\n --font-lg: 32px;\r\n --font-md: 24px;\r\n --font-sm: 18px;\r\n --btn-height: 140px;\r\n}\r\n\r\n:root[data-theme='soft'] {\r\n --color-primary: #ffb3ba;\r\n --color-primary-dark: #ff8a96;\r\n --color-accent: #bae1ff;\r\n --color-success: #baffc9;\r\n --color-warning: #ffffba;\r\n --color-danger: #ffb3ba;\r\n --color-bg: #fff8f8;\r\n --color-bg-card: #fffbfb;\r\n --color-text: #4a3a3a;\r\n --color-text-secondary: #7a6a6a;\r\n --color-border: #f0e0e0;\r\n --font-mega: 56px;\r\n --font-xl: 32px;\r\n --font-lg: 24px;\r\n --font-md: 18px;\r\n --font-sm: 14px;\r\n --btn-height: 110px;\r\n}"],["STYLE",{},"/* tonggan 全局样式 */\r\n\r\n* {\r\n box-sizing: border-box;\r\n -webkit-tap-highlight-color: transparent;\r\n}\r\n\r\nhtml,\r\nbody {\r\n margin: 0;\r\n padding: 0;\r\n font-family: var(--font-family);\r\n font-size: var(--font-md);\r\n color: var(--color-text);\r\n background-color: var(--color-bg);\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n}\r\n\r\nview,\r\ntext,\r\nbutton,\r\ninput {\r\n font-family: inherit;\r\n}\r\n\r\n/* 通用按钮:高度 ≥120px,圆角 24px */\r\n.btn {\r\n min-height: var(--btn-height);\r\n padding: 16px 32px;\r\n border: none;\r\n border-radius: var(--btn-radius);\r\n background-color: var(--color-primary);\r\n color: #ffffff;\r\n font-size: var(--font-lg);\r\n font-weight: 700;\r\n cursor: pointer;\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n transition: transform 0.15s, background-color 0.15s;\r\n}\r\n\r\n.btn:active {\r\n transform: scale(0.97);\r\n background-color: var(--color-primary-dark);\r\n}\r\n\r\n.btn--secondary {\r\n background-color: var(--color-bg-card);\r\n color: var(--color-text);\r\n border: 2px solid var(--color-border);\r\n}\r\n\r\n.btn--lg {\r\n font-size: var(--font-xl);\r\n min-height: 140px;\r\n}\r\n\r\n/* 通用卡片 */\r\n.card {\r\n background-color: var(--color-bg-card);\r\n border-radius: var(--card-radius);\r\n padding: 24px;\r\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);\r\n}\r\n\r\n/* 大字指令 */\r\n.instruction {\r\n font-size: var(--font-mega);\r\n font-weight: 800;\r\n line-height: 1.3;\r\n color: var(--color-text);\r\n text-align: center;\r\n}\r\n\r\n/* 辅助文字 */\r\n.muted {\r\n color: var(--color-text-secondary);\r\n font-size: var(--font-sm);\r\n}"]],"\n ",["BODY",{},"\n ",["DIV",{"id":"app","data-v-app":""},["DIV",{"class":"app"}]],"\n ","\n \n"]],"viewport":{"width":1280,"height":720},"timestamp":336307.79,"wallTime":1781447420038,"collectionTime":1.400000000372529,"resourceOverrides":[],"isMainFrame":true}}
- {"type":"before","callId":"call@173","startTime":336309.456,"class":"Frame","method":"waitForTimeout","params":{"waitTimeout":3000},"stepId":"pw:api@27","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","beforeSnapshot":"before@call@173"}
- {"type":"frame-snapshot","snapshot":{"callId":"call@173","snapshotName":"before@call@173","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","frameId":"frame@f9dff37c19fcbe0e58c8fd454f26d79a","frameUrl":"http://localhost:5173/tonggan/#/pages/album/index","doctype":"html","html":[[1,34]],"viewport":{"width":1280,"height":720},"timestamp":336312.627,"wallTime":1781447420075,"collectionTime":0.40000000037252903,"resourceOverrides":[],"isMainFrame":true}}
- {"type":"after","callId":"call@173","endTime":339323.039,"afterSnapshot":"after@call@173"}
- {"type":"frame-snapshot","snapshot":{"callId":"call@173","snapshotName":"after@call@173","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","frameId":"frame@f9dff37c19fcbe0e58c8fd454f26d79a","frameUrl":"http://localhost:5173/tonggan/#/pages/album/index","doctype":"html","html":[[2,34]],"viewport":{"width":1280,"height":720},"timestamp":339324.967,"wallTime":1781447423089,"collectionTime":0.30000000074505806,"resourceOverrides":[],"isMainFrame":true}}
- {"type":"before","callId":"call@175","startTime":339327.075,"title":"Expect \"toBeVisible\"","class":"Frame","method":"expect","params":{"selector":"#app","expression":"to.be.visible","expectedValue":{"value":{"v":"undefined"},"handles":[]},"isNot":false,"timeout":15000},"stepId":"expect@28","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","beforeSnapshot":"before@call@175"}
- {"type":"frame-snapshot","snapshot":{"callId":"call@175","snapshotName":"before@call@175","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","frameId":"frame@f9dff37c19fcbe0e58c8fd454f26d79a","frameUrl":"http://localhost:5173/tonggan/#/pages/album/index","doctype":"html","html":[[3,34]],"viewport":{"width":1280,"height":720},"timestamp":339329.219,"wallTime":1781447423092,"collectionTime":0.2999999988824129,"resourceOverrides":[],"isMainFrame":true}}
- {"type":"log","callId":"call@175","time":339330.296,"message":"Expect \"toBeVisible\" with timeout 15000ms"}
- {"type":"log","callId":"call@175","time":339330.32,"message":"waiting for locator('#app')"}
- {"type":"after","callId":"call@175","endTime":339352.747,"result":{"matches":true,"received":{"value":{"s":"visible"},"ariaSnapshot":""}},"afterSnapshot":"after@call@175"}
- {"type":"frame-snapshot","snapshot":{"callId":"call@175","snapshotName":"after@call@175","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","frameId":"frame@f9dff37c19fcbe0e58c8fd454f26d79a","frameUrl":"http://localhost:5173/tonggan/#/pages/album/index","doctype":"html","html":["HTML",{"lang":"zh-CN","data-theme":"standard"},[[4,26]],[[4,27]],["BODY",{},[[4,28]],["DIV",{"__playwright_target__":"call@175","id":"app","data-v-app":""},[[4,29]]],[[4,31]],[[4,32]]]],"viewport":{"width":1280,"height":720},"timestamp":339355.54,"wallTime":1781447423118,"collectionTime":0.30000000074505806,"resourceOverrides":[],"isMainFrame":true}}
- {"type":"before","callId":"call@177","startTime":339357.341,"class":"Frame","method":"queryCount","params":{"selector":".back-icon >> nth=0"},"stepId":"pw:api@29","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","beforeSnapshot":"before@call@177"}
- {"type":"frame-snapshot","snapshot":{"callId":"call@177","snapshotName":"before@call@177","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","frameId":"frame@f9dff37c19fcbe0e58c8fd454f26d79a","frameUrl":"http://localhost:5173/tonggan/#/pages/album/index","doctype":"html","html":[[1,2]],"viewport":{"width":1280,"height":720},"timestamp":339359.483,"wallTime":1781447423123,"collectionTime":0.30000000074505806,"resourceOverrides":[],"isMainFrame":true}}
- {"type":"after","callId":"call@177","endTime":339363.278,"result":{"value":0},"afterSnapshot":"after@call@177"}
- {"type":"frame-snapshot","snapshot":{"callId":"call@177","snapshotName":"after@call@177","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","frameId":"frame@f9dff37c19fcbe0e58c8fd454f26d79a","frameUrl":"http://localhost:5173/tonggan/#/pages/album/index","doctype":"html","html":[[2,2]],"viewport":{"width":1280,"height":720},"timestamp":339366.185,"wallTime":1781447423130,"collectionTime":0.2000000011175871,"resourceOverrides":[],"isMainFrame":true}}
- {"type":"before","callId":"call@179","startTime":339367.758,"class":"Page","method":"screenshot","params":{"timeout":0,"type":"png","fullPage":true},"stepId":"pw:api@30","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","beforeSnapshot":"before@call@179"}
- {"type":"frame-snapshot","snapshot":{"callId":"call@179","snapshotName":"before@call@179","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","frameId":"frame@f9dff37c19fcbe0e58c8fd454f26d79a","frameUrl":"http://localhost:5173/tonggan/#/pages/album/index","doctype":"html","html":[[3,2]],"viewport":{"width":1280,"height":720},"timestamp":339369.434,"wallTime":1781447423133,"collectionTime":0.30000000074505806,"resourceOverrides":[],"isMainFrame":true}}
- {"type":"log","callId":"call@179","time":339369.685,"message":"taking page screenshot"}
- {"type":"log","callId":"call@179","time":339372.739,"message":"waiting for fonts to load..."}
- {"type":"log","callId":"call@179","time":339374.529,"message":"fonts loaded"}
- {"type":"after","callId":"call@179","endTime":339414.404,"result":{"binary":"<Buffer>"},"afterSnapshot":"after@call@179"}
- {"type":"screencast-frame","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","sha1":"page@ef1b7eba78663d2265d2891ecbfdff74-1781447423180.jpeg","width":1280,"height":720,"timestamp":339415.408,"frameSwapWallTime":1781447423176.7659}
- {"type":"frame-snapshot","snapshot":{"callId":"call@179","snapshotName":"after@call@179","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","frameId":"frame@f9dff37c19fcbe0e58c8fd454f26d79a","frameUrl":"http://localhost:5173/tonggan/#/pages/album/index","doctype":"html","html":[[4,2]],"viewport":{"width":1280,"height":720},"timestamp":339419.305,"wallTime":1781447423180,"collectionTime":0.5,"resourceOverrides":[],"isMainFrame":true}}
- {"type":"screencast-frame","pageId":"page@ef1b7eba78663d2265d2891ecbfdff74","sha1":"page@ef1b7eba78663d2265d2891ecbfdff74-1781447423230.jpeg","width":1280,"height":720,"timestamp":339466.118,"frameSwapWallTime":1781447423225.037}
|