(node:91880) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[WebServer] ⚠ Warning: Next.js ignored package-lock.json in /Users/zhangxiang because it is outside the current Git repository (/Users/zhangxiang/Codes/Novalon/novalon-website).
[WebServer] To use this directory, set `turbopack.root` in your Next.js config.
[WebServer]
[WebServer] [Sentry] SENTRY_DSN not configured, server-side error monitoring disabled
Running 125 tests using 4 workers
(node:92082) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:92079) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:92081) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:92080) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[1/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 联系我们 (/contact) - 全页截图对比
[2/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 首页 (/) - 全页截图对比
[3/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品中心 (/products) - 全页截图对比
[4/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 关于我们 (/about) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[5/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
[6/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[7/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
[8/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案列表 (/solutions) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
1) [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-chromium-desktop/visual-regression.spec.ts/product-erp-upgrade-fullpage-visual-chromium-desktop.png.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-b6ee2-oducts-erp-upgrade---全页截图对比-visual-chromium-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-b6ee2-oducts-erp-upgrade---全页截图对比-visual-chromium-desktop/error-context.md
2) [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-chromium-desktop/visual-regression.spec.ts/about-brand-fullpage-visual-chromium-desktop.png.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉回归测试-品牌资产页-about-brand---全页截图对比-visual-chromium-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉回归测试-品牌资产页-about-brand---全页截图对比-visual-chromium-desktop/error-context.md
(node:92717) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[9/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
(node:92722) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[10/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 服务列表 (/services) - 全页截图对比
[11/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 服务详情-软件开发 (/services/software) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
3) [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
Error: expect(page).toHaveScreenshot(expected) failed
Expected an image 1280px by 9211px, received 1280px by 7194px. 2578230 pixels (ratio 0.22 of all image pixels) are different.
Snapshot: product-erp-fullpage.png
Call log:
- Expect "toHaveScreenshot(product-erp-fullpage.png)" with timeout 15000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- Expected an image 1280px by 9211px, received 1280px by 7194px. 2578230 pixels (ratio 0.22 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- Expected an image 1280px by 9211px, received 1280px by 7194px. 2578230 pixels (ratio 0.22 of all image pixels) are different.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: product-erp-fullpage (image/png) ────────────────────────────────────────────────
Expected: visual-snapshots/visual-chromium-desktop/visual-regression.spec.ts/product-erp-fullpage-visual-chromium-desktop.png
Received: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-chromium-desktop/product-erp-fullpage-actual.png
Diff: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-chromium-desktop/product-erp-fullpage-diff.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-chromium-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-chromium-desktop/error-context.md
(node:92897) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[12/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 新闻列表 (/news) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[13/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 新闻详情 (/news/company-founded) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[14/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 团队介绍 (/team) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[15/125] [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 方法论 (/methodology) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
4) [visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
Error: expect(page).toHaveScreenshot(expected) failed
Expected an image 1280px by 9287px, received 1280px by 8282px. 2586194 pixels (ratio 0.22 of all image pixels) are different.
Snapshot: solution-manufacturing-fullpage.png
Call log:
- Expect "toHaveScreenshot(solution-manufacturing-fullpage.png)" with timeout 15000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- Expected an image 1280px by 9287px, received 1280px by 8282px. 2586194 pixels (ratio 0.22 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- Expected an image 1280px by 9287px, received 1280px by 8282px. 2586194 pixels (ratio 0.22 of all image pixels) are different.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: solution-manufacturing-fullpage (image/png) ─────────────────────────────────────
Expected: visual-snapshots/visual-chromium-desktop/visual-regression.spec.ts/solution-manufacturing-fullpage-visual-chromium-desktop.png
Received: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-chromium-desktop/solution-manufacturing-fullpage-actual.png
Diff: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-chromium-desktop/solution-manufacturing-fullpage-diff.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-chromium-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-chromium-desktop/error-context.md
(node:94296) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[16/125] [visual-chromium-desktop] › visual-regression.spec.ts:92:7 › L2: 组件视觉状态测试 › 按钮组件 - 默认/悬停/聚焦状态
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[17/125] [visual-chromium-desktop] › visual-regression.spec.ts:123:7 › L2: 组件视觉状态测试 › 导航菜单 - 桌面端视觉
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[18/125] [visual-chromium-desktop] › visual-regression.spec.ts:132:7 › L2: 组件视觉状态测试 › 页脚区域 - 视觉一致性
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[19/125] [visual-chromium-desktop] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[20/125] [visual-chromium-desktop] › visual-regression.spec.ts:161:7 › L2: 组件视觉状态测试 › 创始团队观点 - 桌面端视觉
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[21/125] [visual-chromium-desktop] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[22/125] [visual-chromium-desktop] › visual-regression.spec.ts:218:9 › L2: 主题切换视觉测试 › 系统偏好浅色 › 浅色主题 - 首页视觉
5) [visual-chromium-desktop] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式 ──────
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-chromium-desktop/visual-regression.spec.ts/product-card-visual-chromium-desktop.png.
156 | await expect(card).toHaveAttribute('role', 'listitem');
157 | await expect(card).toHaveAttribute('data-bento-size', /.+/);
> 158 | await expect(card).toHaveScreenshot('product-card.png');
| ^
159 | });
160 |
161 | test('创始团队观点 - 桌面端视觉', async ({ page }) => {
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:158:24
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L2-组件视觉状态测试-卡片组件---视觉样式-visual-chromium-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L2-组件视觉状态测试-卡片组件---视觉样式-visual-chromium-desktop/error-context.md
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:94685) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[23/125] [visual-chromium-desktop] › visual-regression.spec.ts:231:9 › L2: 主题切换视觉测试 › 系统偏好深色 › 深色主题 - 首页视觉
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
6) [visual-chromium-desktop] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态 ──
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-chromium-desktop/visual-regression.spec.ts/input-default-visual-chromium-desktop.png.
198 | await expect(input).not.toHaveAttribute('aria-hidden', 'true');
199 | await expect(input).toBeVisible();
> 200 | await expect(input).toHaveScreenshot('input-default.png');
| ^
201 |
202 | await input.click();
203 | await page.waitForTimeout(200);
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:200:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L2-组件视觉状态测试-表单输入框---默认-聚焦状态-visual-chromium-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L2-组件视觉状态测试-表单输入框---默认-聚焦状态-visual-chromium-desktop/error-context.md
[24/125] [visual-chromium-desktop] › visual-regression.spec.ts:271:7 › L3: 排版与色彩验证 › 品牌主色调验证
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:94758) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[25/125] [visual-chromium-desktop] › visual-regression.spec.ts:245:7 › L3: 排版与色彩验证 › 首页 H1 标题字体样式
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:95003) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[26/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 首页 (/) - 全页截图对比
(node:95093) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[27/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 关于我们 (/about) - 全页截图对比
(node:95157) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[28/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 联系我们 (/contact) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:95170) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[29/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品中心 (/products) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[30/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
[31/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[32/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
[33/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案列表 (/solutions) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
7) [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-chromium-tablet/visual-regression.spec.ts/product-erp-upgrade-fullpage-visual-chromium-tablet.png.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-b6ee2-oducts-erp-upgrade---全页截图对比-visual-chromium-tablet/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-b6ee2-oducts-erp-upgrade---全页截图对比-visual-chromium-tablet/error-context.md
(node:95850) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
8) [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-chromium-tablet/visual-regression.spec.ts/about-brand-fullpage-visual-chromium-tablet.png.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉回归测试-品牌资产页-about-brand---全页截图对比-visual-chromium-tablet/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉回归测试-品牌资产页-about-brand---全页截图对比-visual-chromium-tablet/error-context.md
[34/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
(node:95893) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[35/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 服务列表 (/services) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[36/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 服务详情-软件开发 (/services/software) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[37/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 新闻列表 (/news) - 全页截图对比
[38/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 新闻详情 (/news/company-founded) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
9) [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
Error: expect(page).toHaveScreenshot(expected) failed
Expected an image 1668px by 16326px, received 1668px by 14426px. 6352535 pixels (ratio 0.24 of all image pixels) are different.
Snapshot: product-erp-fullpage.png
Call log:
- Expect "toHaveScreenshot(product-erp-fullpage.png)" with timeout 15000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- Expected an image 1668px by 16326px, received 1668px by 14426px. 6352535 pixels (ratio 0.24 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- Expected an image 1668px by 16326px, received 1668px by 14426px. 6352535 pixels (ratio 0.24 of all image pixels) are different.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: product-erp-fullpage (image/png) ────────────────────────────────────────────────
Expected: visual-snapshots/visual-chromium-tablet/visual-regression.spec.ts/product-erp-fullpage-visual-chromium-tablet.png
Received: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-chromium-tablet/product-erp-fullpage-actual.png
Diff: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-chromium-tablet/product-erp-fullpage-diff.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-chromium-tablet/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-chromium-tablet/error-context.md
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:2891) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[39/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 团队介绍 (/team) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[40/125] [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 方法论 (/methodology) - 全页截图对比
[41/125] [visual-chromium-tablet] › visual-regression.spec.ts:92:7 › L2: 组件视觉状态测试 › 按钮组件 - 默认/悬停/聚焦状态
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[42/125] [visual-chromium-tablet] › visual-regression.spec.ts:123:7 › L2: 组件视觉状态测试 › 导航菜单 - 桌面端视觉
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
10) [visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
Error: expect(page).toHaveScreenshot(expected) failed
Expected an image 1668px by 18904px, received 1668px by 16710px. 7533552 pixels (ratio 0.24 of all image pixels) are different.
Snapshot: solution-manufacturing-fullpage.png
Call log:
- Expect "toHaveScreenshot(solution-manufacturing-fullpage.png)" with timeout 15000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- Expected an image 1668px by 18904px, received 1668px by 16710px. 7533552 pixels (ratio 0.24 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- Expected an image 1668px by 18904px, received 1668px by 16710px. 7533552 pixels (ratio 0.24 of all image pixels) are different.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: solution-manufacturing-fullpage (image/png) ─────────────────────────────────────
Expected: visual-snapshots/visual-chromium-tablet/visual-regression.spec.ts/solution-manufacturing-fullpage-visual-chromium-tablet.png
Received: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-chromium-tablet/solution-manufacturing-fullpage-actual.png
Diff: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-chromium-tablet/solution-manufacturing-fullpage-diff.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-chromium-tablet/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-chromium-tablet/error-context.md
(node:7950) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[43/125] [visual-chromium-tablet] › visual-regression.spec.ts:132:7 › L2: 组件视觉状态测试 › 页脚区域 - 视觉一致性
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[44/125] [visual-chromium-tablet] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式
[45/125] [visual-chromium-tablet] › visual-regression.spec.ts:161:7 › L2: 组件视觉状态测试 › 创始团队观点 - 桌面端视觉
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[46/125] [visual-chromium-tablet] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
11) [visual-chromium-tablet] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式 ──────
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-chromium-tablet/visual-regression.spec.ts/product-card-visual-chromium-tablet.png.
156 | await expect(card).toHaveAttribute('role', 'listitem');
157 | await expect(card).toHaveAttribute('data-bento-size', /.+/);
> 158 | await expect(card).toHaveScreenshot('product-card.png');
| ^
159 | });
160 |
161 | test('创始团队观点 - 桌面端视觉', async ({ page }) => {
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:158:24
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L2-组件视觉状态测试-卡片组件---视觉样式-visual-chromium-tablet/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L2-组件视觉状态测试-卡片组件---视觉样式-visual-chromium-tablet/error-context.md
(node:14380) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[47/125] [visual-chromium-tablet] › visual-regression.spec.ts:218:9 › L2: 主题切换视觉测试 › 系统偏好浅色 › 浅色主题 - 首页视觉
[48/125] [visual-chromium-tablet] › visual-regression.spec.ts:231:9 › L2: 主题切换视觉测试 › 系统偏好深色 › 深色主题 - 首页视觉
[49/125] [visual-chromium-tablet] › visual-regression.spec.ts:245:7 › L3: 排版与色彩验证 › 首页 H1 标题字体样式
12) [visual-chromium-tablet] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态 ──
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-chromium-tablet/visual-regression.spec.ts/input-default-visual-chromium-tablet.png.
198 | await expect(input).not.toHaveAttribute('aria-hidden', 'true');
199 | await expect(input).toBeVisible();
> 200 | await expect(input).toHaveScreenshot('input-default.png');
| ^
201 |
202 | await input.click();
203 | await page.waitForTimeout(200);
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:200:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L2-组件视觉状态测试-表单输入框---默认-聚焦状态-visual-chromium-tablet/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L2-组件视觉状态测试-表单输入框---默认-聚焦状态-visual-chromium-tablet/error-context.md
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:14516) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[50/125] [visual-chromium-tablet] › visual-regression.spec.ts:271:7 › L3: 排版与色彩验证 › 品牌主色调验证
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:14910) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[51/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 首页 (/) - 全页截图对比
(node:15003) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[52/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 关于我们 (/about) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:15460) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:15463) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[53/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 联系我们 (/contact) - 全页截图对比
[54/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品中心 (/products) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[55/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
[56/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[57/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
[58/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案列表 (/solutions) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
13) [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-chromium-mobile/visual-regression.spec.ts/product-erp-upgrade-fullpage-visual-chromium-mobile.png.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-b6ee2-oducts-erp-upgrade---全页截图对比-visual-chromium-mobile/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-b6ee2-oducts-erp-upgrade---全页截图对比-visual-chromium-mobile/error-context.md
(node:16056) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[59/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
14) [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-chromium-mobile/visual-regression.spec.ts/about-brand-fullpage-visual-chromium-mobile.png.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉回归测试-品牌资产页-about-brand---全页截图对比-visual-chromium-mobile/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉回归测试-品牌资产页-about-brand---全页截图对比-visual-chromium-mobile/error-context.md
(node:16166) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[60/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 服务列表 (/services) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[61/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 服务详情-软件开发 (/services/software) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[62/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 新闻列表 (/news) - 全页截图对比
15) [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
Error: expect(page).toHaveScreenshot(expected) failed
Expected an image 1170px by 24453px, received 1170px by 24483px. 708048 pixels (ratio 0.03 of all image pixels) are different.
Snapshot: product-erp-fullpage.png
Call log:
- Expect "toHaveScreenshot(product-erp-fullpage.png)" with timeout 15000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- Expected an image 1170px by 24453px, received 1170px by 24483px. 708048 pixels (ratio 0.03 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- Expected an image 1170px by 24453px, received 1170px by 24483px. 708048 pixels (ratio 0.03 of all image pixels) are different.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: product-erp-fullpage (image/png) ────────────────────────────────────────────────
Expected: visual-snapshots/visual-chromium-mobile/visual-regression.spec.ts/product-erp-fullpage-visual-chromium-mobile.png
Received: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-chromium-mobile/product-erp-fullpage-actual.png
Diff: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-chromium-mobile/product-erp-fullpage-diff.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-chromium-mobile/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-chromium-mobile/error-context.md
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:16369) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[63/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 新闻详情 (/news/company-founded) - 全页截图对比
[64/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 团队介绍 (/team) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[65/125] [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 方法论 (/methodology) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
16) [visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
Error: expect(page).toHaveScreenshot(expected) failed
Expected an image 1170px by 27759px, received 1170px by 27780px. 894468 pixels (ratio 0.03 of all image pixels) are different.
Snapshot: solution-manufacturing-fullpage.png
Call log:
- Expect "toHaveScreenshot(solution-manufacturing-fullpage.png)" with timeout 15000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- Expected an image 1170px by 27759px, received 1170px by 27780px. 894468 pixels (ratio 0.03 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- Expected an image 1170px by 27759px, received 1170px by 27780px. 894468 pixels (ratio 0.03 of all image pixels) are different.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: solution-manufacturing-fullpage (image/png) ─────────────────────────────────────
Expected: visual-snapshots/visual-chromium-mobile/visual-regression.spec.ts/solution-manufacturing-fullpage-visual-chromium-mobile.png
Received: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-chromium-mobile/solution-manufacturing-fullpage-actual.png
Diff: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-chromium-mobile/solution-manufacturing-fullpage-diff.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-chromium-mobile/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-chromium-mobile/error-context.md
(node:16523) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[66/125] [visual-chromium-mobile] › visual-regression.spec.ts:92:7 › L2: 组件视觉状态测试 › 按钮组件 - 默认/悬停/聚焦状态
[67/125] [visual-chromium-mobile] › visual-regression.spec.ts:123:7 › L2: 组件视觉状态测试 › 导航菜单 - 桌面端视觉
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[68/125] [visual-chromium-mobile] › visual-regression.spec.ts:132:7 › L2: 组件视觉状态测试 › 页脚区域 - 视觉一致性
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[69/125] [visual-chromium-mobile] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式
[70/125] [visual-chromium-mobile] › visual-regression.spec.ts:161:7 › L2: 组件视觉状态测试 › 创始团队观点 - 桌面端视觉
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
17) [visual-chromium-mobile] › visual-regression.spec.ts:92:7 › L2: 组件视觉状态测试 › 按钮组件 - 默认/悬停/聚焦状态 ─
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('button:visible, a[role="button"]:visible').first()
Expected an image 186px by 96px, received 132px by 132px. 2393 pixels (ratio 0.10 of all image pixels) are different.
Snapshot: button-default.png
Call log:
- Expect "toHaveScreenshot(button-default.png)" with timeout 15000ms
- verifying given screenshot expectation
- waiting for locator('button:visible, a[role="button"]:visible').first()
- locator resolved to
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 186px by 96px, received 132px by 132px. 2393 pixels (ratio 0.10 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('button:visible, a[role="button"]:visible').first()
- locator resolved to
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 186px by 96px, received 132px by 132px. 2393 pixels (ratio 0.10 of all image pixels) are different.
110 | const primaryBtn = page.locator('button:visible, a[role="button"]:visible').first();
111 | await expect(primaryBtn).toBeVisible();
> 112 | await expect(primaryBtn).toHaveScreenshot('button-default.png');
| ^
113 |
114 | await primaryBtn.hover();
115 | await page.waitForTimeout(300);
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:112:30
attachment #1: button-default (image/png) ──────────────────────────────────────────────────────
Expected: visual-snapshots/visual-chromium-mobile/visual-regression.spec.ts/button-default-visual-chromium-mobile.png
Received: test-results/visual-regression-L2-组件视觉状态测试-按钮组件---默认-悬停-聚焦状态-visual-chromium-mobile/button-default-actual.png
Diff: test-results/visual-regression-L2-组件视觉状态测试-按钮组件---默认-悬停-聚焦状态-visual-chromium-mobile/button-default-diff.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L2-组件视觉状态测试-按钮组件---默认-悬停-聚焦状态-visual-chromium-mobile/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L2-组件视觉状态测试-按钮组件---默认-悬停-聚焦状态-visual-chromium-mobile/error-context.md
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:16658) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[71/125] [visual-chromium-mobile] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[72/125] [visual-chromium-mobile] › visual-regression.spec.ts:218:9 › L2: 主题切换视觉测试 › 系统偏好浅色 › 浅色主题 - 首页视觉
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
18) [visual-chromium-mobile] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式 ──────
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-chromium-mobile/visual-regression.spec.ts/product-card-visual-chromium-mobile.png.
156 | await expect(card).toHaveAttribute('role', 'listitem');
157 | await expect(card).toHaveAttribute('data-bento-size', /.+/);
> 158 | await expect(card).toHaveScreenshot('product-card.png');
| ^
159 | });
160 |
161 | test('创始团队观点 - 桌面端视觉', async ({ page }) => {
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:158:24
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L2-组件视觉状态测试-卡片组件---视觉样式-visual-chromium-mobile/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L2-组件视觉状态测试-卡片组件---视觉样式-visual-chromium-mobile/error-context.md
(node:16910) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[73/125] [visual-chromium-mobile] › visual-regression.spec.ts:231:9 › L2: 主题切换视觉测试 › 系统偏好深色 › 深色主题 - 首页视觉
[74/125] [visual-chromium-mobile] › visual-regression.spec.ts:245:7 › L3: 排版与色彩验证 › 首页 H1 标题字体样式
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
19) [visual-chromium-mobile] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态 ──
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-chromium-mobile/visual-regression.spec.ts/input-default-visual-chromium-mobile.png.
198 | await expect(input).not.toHaveAttribute('aria-hidden', 'true');
199 | await expect(input).toBeVisible();
> 200 | await expect(input).toHaveScreenshot('input-default.png');
| ^
201 |
202 | await input.click();
203 | await page.waitForTimeout(200);
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:200:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L2-组件视觉状态测试-表单输入框---默认-聚焦状态-visual-chromium-mobile/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L2-组件视觉状态测试-表单输入框---默认-聚焦状态-visual-chromium-mobile/error-context.md
(node:16941) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[75/125] [visual-chromium-mobile] › visual-regression.spec.ts:271:7 › L3: 排版与色彩验证 › 品牌主色调验证
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:17046) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[76/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 首页 (/) - 全页截图对比
(node:17051) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[77/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 关于我们 (/about) - 全页截图对比
(node:17116) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[78/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 联系我们 (/contact) - 全页截图对比
(node:17120) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[79/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品中心 (/products) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[80/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[81/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[82/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[83/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案列表 (/solutions) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
20) [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-firefox-desktop/visual-regression.spec.ts/product-erp-upgrade-fullpage-visual-firefox-desktop.png.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-b6ee2-oducts-erp-upgrade---全页截图对比-visual-firefox-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-b6ee2-oducts-erp-upgrade---全页截图对比-visual-firefox-desktop/error-context.md
(node:17366) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[84/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
21) [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-firefox-desktop/visual-regression.spec.ts/about-brand-fullpage-visual-firefox-desktop.png.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉回归测试-品牌资产页-about-brand---全页截图对比-visual-firefox-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉回归测试-品牌资产页-about-brand---全页截图对比-visual-firefox-desktop/error-context.md
(node:17460) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[85/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 服务列表 (/services) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[86/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 服务详情-软件开发 (/services/software) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
22) [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
Error: expect(page).toHaveScreenshot(expected) failed
Expected an image 1280px by 9211px, received 1280px by 7194px. 2576660 pixels (ratio 0.22 of all image pixels) are different.
Snapshot: product-erp-fullpage.png
Call log:
- Expect "toHaveScreenshot(product-erp-fullpage.png)" with timeout 15000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- Expected an image 1280px by 9211px, received 1280px by 7194px. 2576660 pixels (ratio 0.22 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- Expected an image 1280px by 9211px, received 1280px by 7194px. 2576660 pixels (ratio 0.22 of all image pixels) are different.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: product-erp-fullpage (image/png) ────────────────────────────────────────────────
Expected: visual-snapshots/visual-firefox-desktop/visual-regression.spec.ts/product-erp-fullpage-visual-firefox-desktop.png
Received: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-firefox-desktop/product-erp-fullpage-actual.png
Diff: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-firefox-desktop/product-erp-fullpage-diff.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-firefox-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-firefox-desktop/error-context.md
(node:17572) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[87/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 新闻列表 (/news) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[88/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 新闻详情 (/news/company-founded) - 全页截图对比
[89/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 团队介绍 (/team) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[90/125] [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 方法论 (/methodology) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
23) [visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
Error: expect(page).toHaveScreenshot(expected) failed
Expected an image 1280px by 9287px, received 1280px by 8282px. 2584096 pixels (ratio 0.22 of all image pixels) are different.
Snapshot: solution-manufacturing-fullpage.png
Call log:
- Expect "toHaveScreenshot(solution-manufacturing-fullpage.png)" with timeout 15000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- Expected an image 1280px by 9287px, received 1280px by 8282px. 2584096 pixels (ratio 0.22 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- Expected an image 1280px by 9287px, received 1280px by 8282px. 2584096 pixels (ratio 0.22 of all image pixels) are different.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: solution-manufacturing-fullpage (image/png) ─────────────────────────────────────
Expected: visual-snapshots/visual-firefox-desktop/visual-regression.spec.ts/solution-manufacturing-fullpage-visual-firefox-desktop.png
Received: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-firefox-desktop/solution-manufacturing-fullpage-actual.png
Diff: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-firefox-desktop/solution-manufacturing-fullpage-diff.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-firefox-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-firefox-desktop/error-context.md
(node:18172) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[91/125] [visual-firefox-desktop] › visual-regression.spec.ts:123:7 › L2: 组件视觉状态测试 › 导航菜单 - 桌面端视觉
[92/125] [visual-firefox-desktop] › visual-regression.spec.ts:92:7 › L2: 组件视觉状态测试 › 按钮组件 - 默认/悬停/聚焦状态
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[93/125] [visual-firefox-desktop] › visual-regression.spec.ts:132:7 › L2: 组件视觉状态测试 › 页脚区域 - 视觉一致性
[94/125] [visual-firefox-desktop] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[95/125] [visual-firefox-desktop] › visual-regression.spec.ts:161:7 › L2: 组件视觉状态测试 › 创始团队观点 - 桌面端视觉
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
24) [visual-firefox-desktop] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式 ──────
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-firefox-desktop/visual-regression.spec.ts/product-card-visual-firefox-desktop.png.
156 | await expect(card).toHaveAttribute('role', 'listitem');
157 | await expect(card).toHaveAttribute('data-bento-size', /.+/);
> 158 | await expect(card).toHaveScreenshot('product-card.png');
| ^
159 | });
160 |
161 | test('创始团队观点 - 桌面端视觉', async ({ page }) => {
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:158:24
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L2-组件视觉状态测试-卡片组件---视觉样式-visual-firefox-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L2-组件视觉状态测试-卡片组件---视觉样式-visual-firefox-desktop/error-context.md
[96/125] [visual-firefox-desktop] › visual-regression.spec.ts:218:9 › L2: 主题切换视觉测试 › 系统偏好浅色 › 浅色主题 - 首页视觉
(node:18488) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[97/125] [visual-firefox-desktop] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[98/125] [visual-firefox-desktop] › visual-regression.spec.ts:231:9 › L2: 主题切换视觉测试 › 系统偏好深色 › 深色主题 - 首页视觉
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[99/125] [visual-firefox-desktop] › visual-regression.spec.ts:245:7 › L3: 排版与色彩验证 › 首页 H1 标题字体样式
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[100/125] [visual-firefox-desktop] › visual-regression.spec.ts:271:7 › L3: 排版与色彩验证 › 品牌主色调验证
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:18712) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[101/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 首页 (/) - 全页截图对比
25) [visual-firefox-desktop] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态 ──
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-firefox-desktop/visual-regression.spec.ts/input-default-visual-firefox-desktop.png.
198 | await expect(input).not.toHaveAttribute('aria-hidden', 'true');
199 | await expect(input).toBeVisible();
> 200 | await expect(input).toHaveScreenshot('input-default.png');
| ^
201 |
202 | await input.click();
203 | await page.waitForTimeout(200);
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:200:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L2-组件视觉状态测试-表单输入框---默认-聚焦状态-visual-firefox-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L2-组件视觉状态测试-表单输入框---默认-聚焦状态-visual-firefox-desktop/error-context.md
(node:18722) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[102/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 关于我们 (/about) - 全页截图对比
(node:18723) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[103/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 联系我们 (/contact) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:18794) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[104/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品中心 (/products) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[105/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[106/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[107/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
[108/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案列表 (/solutions) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
26) [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-webkit-desktop/visual-regression.spec.ts/product-erp-upgrade-fullpage-visual-webkit-desktop.png.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-b6ee2-oducts-erp-upgrade---全页截图对比-visual-webkit-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-b6ee2-oducts-erp-upgrade---全页截图对比-visual-webkit-desktop/error-context.md
(node:19108) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[109/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
27) [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-webkit-desktop/visual-regression.spec.ts/about-brand-fullpage-visual-webkit-desktop.png.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉回归测试-品牌资产页-about-brand---全页截图对比-visual-webkit-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉回归测试-品牌资产页-about-brand---全页截图对比-visual-webkit-desktop/error-context.md
(node:19159) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[110/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 服务列表 (/services) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[111/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 服务详情-软件开发 (/services/software) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[112/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 新闻列表 (/news) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[113/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 新闻详情 (/news/company-founded) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
28) [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
Error: expect(page).toHaveScreenshot(expected) failed
Expected an image 2548px by 18422px, received 2548px by 14388px. 10303806 pixels (ratio 0.22 of all image pixels) are different.
Snapshot: product-erp-fullpage.png
Call log:
- Expect "toHaveScreenshot(product-erp-fullpage.png)" with timeout 15000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- Expected an image 2548px by 18422px, received 2548px by 14388px. 10303806 pixels (ratio 0.22 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- Expected an image 2548px by 18422px, received 2548px by 14388px. 10303806 pixels (ratio 0.22 of all image pixels) are different.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: product-erp-fullpage (image/png) ────────────────────────────────────────────────
Expected: visual-snapshots/visual-webkit-desktop/visual-regression.spec.ts/product-erp-fullpage-visual-webkit-desktop.png
Received: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-webkit-desktop/product-erp-fullpage-actual.png
Diff: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-webkit-desktop/product-erp-fullpage-diff.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-webkit-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-138c5-情-ERP-products-erp---全页截图对比-visual-webkit-desktop/error-context.md
(node:19405) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[114/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 团队介绍 (/team) - 全页截图对比
[115/125] [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 方法论 (/methodology) - 全页截图对比
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[116/125] [visual-webkit-desktop] › visual-regression.spec.ts:92:7 › L2: 组件视觉状态测试 › 按钮组件 - 默认/悬停/聚焦状态
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[117/125] [visual-webkit-desktop] › visual-regression.spec.ts:123:7 › L2: 组件视觉状态测试 › 导航菜单 - 桌面端视觉
29) [visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
Error: expect(page).toHaveScreenshot(expected) failed
Expected an image 2548px by 18572px, received 2548px by 16562px. 10345931 pixels (ratio 0.22 of all image pixels) are different.
Snapshot: solution-manufacturing-fullpage.png
Call log:
- Expect "toHaveScreenshot(solution-manufacturing-fullpage.png)" with timeout 15000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- Expected an image 2548px by 18572px, received 2548px by 16562px. 10345931 pixels (ratio 0.22 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- Expected an image 2548px by 18572px, received 2548px by 16562px. 10345931 pixels (ratio 0.22 of all image pixels) are different.
78 | await waitForPageStable(page);
79 |
> 80 | await expect(page).toHaveScreenshot(`${name}-fullpage.png`, {
| ^
81 | fullPage: true,
82 | animations: 'disabled',
83 | caret: 'hide',
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:80:26
attachment #1: solution-manufacturing-fullpage (image/png) ─────────────────────────────────────
Expected: visual-snapshots/visual-webkit-desktop/visual-regression.spec.ts/solution-manufacturing-fullpage-visual-webkit-desktop.png
Received: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-webkit-desktop/solution-manufacturing-fullpage-actual.png
Diff: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-webkit-desktop/solution-manufacturing-fullpage-diff.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-webkit-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L1-全页面视觉-6f2b0-ions-manufacturing---全页截图对比-visual-webkit-desktop/error-context.md
[118/125] [visual-webkit-desktop] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[119/125] [visual-webkit-desktop] › visual-regression.spec.ts:161:7 › L2: 组件视觉状态测试 › 创始团队观点 - 桌面端视觉
(node:19567) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[120/125] [visual-webkit-desktop] › visual-regression.spec.ts:132:7 › L2: 组件视觉状态测试 › 页脚区域 - 视觉一致性
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[121/125] [visual-webkit-desktop] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态
30) [visual-webkit-desktop] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式 ───────
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-webkit-desktop/visual-regression.spec.ts/product-card-visual-webkit-desktop.png.
156 | await expect(card).toHaveAttribute('role', 'listitem');
157 | await expect(card).toHaveAttribute('data-bento-size', /.+/);
> 158 | await expect(card).toHaveScreenshot('product-card.png');
| ^
159 | });
160 |
161 | test('创始团队观点 - 桌面端视觉', async ({ page }) => {
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:158:24
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L2-组件视觉状态测试-卡片组件---视觉样式-visual-webkit-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L2-组件视觉状态测试-卡片组件---视觉样式-visual-webkit-desktop/error-context.md
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
(node:19876) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[122/125] [visual-webkit-desktop] › visual-regression.spec.ts:218:9 › L2: 主题切换视觉测试 › 系统偏好浅色 › 浅色主题 - 首页视觉
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[123/125] [visual-webkit-desktop] › visual-regression.spec.ts:231:9 › L2: 主题切换视觉测试 › 系统偏好深色 › 深色主题 - 首页视觉
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
[124/125] [visual-webkit-desktop] › visual-regression.spec.ts:245:7 › L3: 排版与色彩验证 › 首页 H1 标题字体样式
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
31) [visual-webkit-desktop] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态 ───
Error: A snapshot doesn't exist at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-snapshots/visual-webkit-desktop/visual-regression.spec.ts/input-default-visual-webkit-desktop.png.
198 | await expect(input).not.toHaveAttribute('aria-hidden', 'true');
199 | await expect(input).toBeVisible();
> 200 | await expect(input).toHaveScreenshot('input-default.png');
| ^
201 |
202 | await input.click();
203 | await page.waitForTimeout(200);
at /Users/zhangxiang/Codes/Novalon/novalon-website/e2e/visual-regression.spec.ts:200:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/visual-regression-L2-组件视觉状态测试-表单输入框---默认-聚焦状态-visual-webkit-desktop/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/visual-regression-L2-组件视觉状态测试-表单输入框---默认-聚焦状态-visual-webkit-desktop/error-context.md
(node:20299) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[125/125] [visual-webkit-desktop] › visual-regression.spec.ts:271:7 › L3: 排版与色彩验证 › 品牌主色调验证
[WebServer] [browser] eval() is not supported in this environment. If this page was served with a `Content-Security-Policy` header, make sure that `unsafe-eval` is included. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.
[WebServer] React will never use eval() in production mode
31 failed
[visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
[visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
[visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
[visual-chromium-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
[visual-chromium-desktop] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式 ───────
[visual-chromium-desktop] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态 ───
[visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
[visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
[visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
[visual-chromium-tablet] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
[visual-chromium-tablet] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式 ────────
[visual-chromium-tablet] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态 ────
[visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
[visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
[visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
[visual-chromium-mobile] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
[visual-chromium-mobile] › visual-regression.spec.ts:92:7 › L2: 组件视觉状态测试 › 按钮组件 - 默认/悬停/聚焦状态 ───
[visual-chromium-mobile] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式 ────────
[visual-chromium-mobile] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态 ────
[visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
[visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
[visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
[visual-firefox-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
[visual-firefox-desktop] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式 ────────
[visual-firefox-desktop] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态 ────
[visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品详情-ERP (/products/erp) - 全页截图对比
[visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 产品 ERP 升级页 (/products/erp-upgrade) - 全页截图对比
[visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 品牌资产页 (/about/brand) - 全页截图对比
[visual-webkit-desktop] › visual-regression.spec.ts:76:9 › L1: 全页面视觉回归测试 › 解决方案详情-制造 (/solutions/manufacturing) - 全页截图对比
[visual-webkit-desktop] › visual-regression.spec.ts:141:7 › L2: 组件视觉状态测试 › 卡片组件 - 视觉样式 ─────────
[visual-webkit-desktop] › visual-regression.spec.ts:170:7 › L2: 组件视觉状态测试 › 表单输入框 - 默认/聚焦状态 ─────
94 passed (5.1m)
VISUAL_EXIT=1