Feature/result #409
pull-request.yml
on: pull_request
call-test-build
/
check
4s
call-test-build
/
test
1m 17s
call-test-build
/
site
1m 27s
call-test-build
/
build
2m 38s
Annotations
4 errors
test/snap/csr.test.jsx > csr snapshot test > csr test src/result/_example/theme.tsx:
test/snap/csr.test.jsx#L35
Error: Snapshot `csr snapshot test > csr test src/result/_example/theme.tsx 1` mismatched
- Expected
+ Received
- {
- "asFragment": [Function],
- "baseElement": <body>
- <div>
- <div>
- <div
- class="t-result t-result--theme-success space"
- >
- <div
- class="t-result__thumb"
- >
- <svg
- class="t-icon t-icon-check-circle t-result__icon"
- fill="none"
- height="1em"
- viewBox="0 0 16 16"
- width="1em"
- >
- <path
- d="M4.5 8.2L7 10.7l4.5-4.5-.7-.7L7 9.3 5.2 7.5l-.7.7z"
- fill="currentColor"
- fill-opacity="0.9"
- />
- <path
- d="M4.11 2.18a7 7 0 117.78 11.64A7 7 0 014.1 2.18zm.56 10.8a6 6 0 106.66-9.97A6 6 0 004.67 13z"
- fill="currentColor"
- fill-opacity="0.9"
- />
- </svg>
- </div>
- <div
- class="t-result__title"
- >
- 成功状态
- </div>
- <div
- class="t-result__description"
- >
- 描述文字
- </div>
- </div>
- <div
- class="t-result t-result--theme-error space"
- >
- <div
- class="t-result__thumb"
- >
- <svg
- class="t-icon t-icon-close-circle t-result__icon"
- fill="none"
- height="1em"
- viewBox="0 0 16 16"
- width="1em"
- >
- <path
- d="M4.98 10.31L7.3 8 5 5.69l.7-.7L8 7.28 10.31 5l.7.7L8.72 8l2.3 2.31-.7.7L8 8.72 5.69 11l-.7-.7z"
- fill="currentColor"
- fill-opacity="0.9"
- />
- <path
- d="M8 1a7 7 0 110 14A7 7 0 018 1zm0 1a6 6 0 100 12A6 6 0 008 2z"
- fill="currentColor"
- fill-opacity="0.9"
- />
- </svg>
- </div>
- <div
- class="t-result__title"
- >
- 失败状态
- </div>
- <div
- class="t-result__description"
- >
- 描述文字
- </div>
- </div>
- <div
- class="t-result t-result--theme-warning space"
- >
- <div
- class="t-result__thumb"
- >
- <svg
- class="t-icon t-icon-info-circle t-result__icon"
- fill="none"
- height="1em"
- viewBox="0 0 16 16"
- width="1em"
- >
- <path
- d="M7.5 12V6.5h1V12h-1zM8.6 4H7.4v1.2h1.2V4z"
- fill="currentColor"
- fill-opacity="0.9"
- />
- <path
- d="M1 8a7 7 0 1014 0A7 7 0 001 8zm1 0a6 6 0 1112 0A6 6 0 012 8z"
- fill="currentColor"
- fill-opacity="0.9"
- />
- </svg>
- </div>
- <div
- class="t-result__title"
- >
- 警示状态
- </div>
- <div
- class="t-result__description"
- >
- 描述文字
- </div>
- </div>
- <div
- class="t-result t-result--theme-default space"
- >
- <div
- class="t-result__thumb"
- >
- <svg
- class="t-icon t-icon-info-circle t-result__icon"
- fill="none"
- height="1em"
- viewBox="0 0 16 16"
- width="1em"
- >
- <path
- d="M7.5 12V6.5h1V12h-1zM8.6 4H7.4v1.2h1.2V4z"
- fill="currentColor"
- fill-opacity="0.9"
- />
- <path
- d="M1 8a7 7 0 1014 0A7 7 0 001 8zm1 0a6 6 0 1112 0A6 6 0 012 8z"
- fill="currentColor"
-
|
test/snap/csr.test.jsx > csr snapshot test > csr test src/result/_example/index.tsx:
test/snap/csr.test.jsx#L35
Error: Snapshot `csr snapshot test > csr test src/result/_example/index.tsx 1` mismatched
- Expected
+ Received
- {
- "asFragment": [Function],
- "baseElement": <body>
- <div>
- <div
+ <div>
+ <div
- class="tdesign-mobile-demo"
+ class="tdesign-mobile-demo"
- >
+ >
- <div
+ <div
- class="tdesign-mobile-demo-header"
+ class="tdesign-mobile-demo-header"
- >
- <h1
+ >
+ <h1
- class="tdesign-mobile-demo-header__title"
+ class="tdesign-mobile-demo-header__title"
- >
- Result 结果
+ >
+ Result 结果
- </h1>
+ </h1>
- <p
+ <p
- class="tdesign-mobile-demo-header__summary"
+ class="tdesign-mobile-demo-header__summary"
- >
+ >
- 结果反馈
+ 结果反馈
- </p>
+ </p>
- </div>
+ </div>
- <div
+ <div
- class="tdesign-mobile-demo-block"
+ class="tdesign-mobile-demo-block"
- >
- <div
+ >
+ <div
- class="tdesign-mobile-demo-block__header"
+ class="tdesign-mobile-demo-block__header"
- >
+ >
- <h2
+ <h2
- class="tdesign-mobile-demo-block__title"
+ class="tdesign-mobile-demo-block__title"
- >
+ >
- 01类型
+ 01类型
- </h2>
+ </h2>
- <p
- class="tdesign-mobile-demo-block__summary"
+ <p
+ class="tdesign-mobile-demo-block__summary"
- >
+ >
- 不同结果反馈
+ 不同结果反馈
- </p>
+ </p>
- </div>
+ </div>
- <div
+ <div
- class="tdesign-mobile-demo-block__slot"
+ class="tdesign-mobile-demo-block__slot"
- >
- <div>
+ >
+ <div>
- <div
+ <div
- class="t-result t-result--theme-success space"
+ class="t-result t-result--theme-success space"
- >
- <div
+ >
+ <div
- class="t-result__thumb"
+ class="t-result__thumb"
- >
- <svg
+ >
+ <svg
- class="t-icon t-icon-check-circle t-result__icon"
+ class="t-icon t-icon-check-circle t-result__icon"
- fill="none"
+ fill="none"
- height="1em"
+ height="1em"
- viewBox="0 0 16 16"
+ viewBox="0 0 16 16"
- width="1em"
+ width="1em"
- >
+ >
- <path
+ <path
- d="M4.5 8.2L7 10.7l4.5-4.5-.7-.7L7 9.3 5.2 7.5l-.7.7z"
+ d="M4.5 8.2L7 10.7l4.5-4.5-.7-.7L7 9.3 5.2 7.5l-.7.7z"
- fill="currentColor"
+ fill="currentColor"
- fill-opacity="0.9"
+ fill-opacity="0.9"
- />
- <path
+ />
+ <path
- d="M4.11 2.18a7 7 0 117.78 11.64A7 7 0 014.1 2.18zm.56 10.8a6 6 0 106.66-9.97A6 6 0 004.67 13z"
+ d="M4.11 2.18a7 7 0 117.78 11.64A7 7 0 014.1 2.18zm.56 10.8a6 6 0 106.66-9.97A6 6 0 004.67 13z"
- fill="currentColor"
+ fill="currentColor"
- fill-opacity="0.9"
+ fill-opacity="0.9"
- />
+ />
- </svg>
+ </svg>
- </div>
+ </div>
- <div
+ <div
- class="t-result__title"
+ class="t-result__title"
- >
- 成功状态
+ >
+ 成功状态
- </div>
+ </div>
- <div
|
test/snap/csr.test.jsx > csr snapshot test > csr test src/result/_example/custom.tsx:
test/snap/csr.test.jsx#L35
Error: Snapshot `csr snapshot test > csr test src/result/_example/custom.tsx 1` mismatched
- Expected
+ Received
- {
- "asFragment": [Function],
- "baseElement": <body>
- <div>
+ <div>
- <div
+ <div
- class="t-result t-result--theme-default"
+ class="t-result t-result--theme-default"
- >
+ >
- <div
+ <div
- class="t-result__thumb"
+ class="t-result__thumb"
- >
+ >
- <div
+ <div
- class="t-image t-image--round extra-class-image"
+ class="t-image t-image--round extra-class-image"
- >
- <div
+ >
+ <div
- class="t-image__status"
+ class="t-image__status"
- >
+ >
- <svg
+ <svg
- class="t-icon t-icon-ellipsis"
+ class="t-icon t-icon-ellipsis"
- fill="none"
+ fill="none"
- height="1em"
+ height="1em"
- viewBox="0 0 16 16"
+ viewBox="0 0 16 16"
- width="1em"
+ width="1em"
- >
- <path
+ >
+ <path
- d="M3 9a1 1 0 110-2 1 1 0 010 2zM7 8a1 1 0 102 0 1 1 0 00-2 0zM12 8a1 1 0 102 0 1 1 0 00-2 0z"
+ d="M3 9a1 1 0 110-2 1 1 0 010 2zM7 8a1 1 0 102 0 1 1 0 00-2 0zM12 8a1 1 0 102 0 1 1 0 00-2 0z"
- fill="currentColor"
+ fill="currentColor"
- fill-opacity="0.9"
+ fill-opacity="0.9"
- />
+ />
- </svg>
+ </svg>
- </div>
+ </div>
- <img
+ <img
- class="t-image__img"
+ class="t-image__img"
- src="https://tdesign.gtimg.com/mobile/demos/result1.png"
+ src="https://tdesign.gtimg.com/mobile/demos/result1.png"
- style="object-fit: fill; width: inherit; height: inherit;"
+ style="object-fit: fill; width: inherit; height: inherit;"
- />
+ />
- </div>
+ </div>
- </div>
+ </div>
- <div
+ <div
- class="t-result__title"
+ class="t-result__title"
- >
+ >
- 自定义结果
+ 自定义结果
- </div>
+ </div>
- <div
+ <div
- class="t-result__description"
+ class="t-result__description"
- >
- 描述文字
+ >
+ 描述文字
- </div>
+ </div>
- </div>
+ </div>
- </div>
+ </div>
- </body>,
- "container": <div>
- <div
- class="t-result t-result--theme-default"
- >
- <div
- class="t-result__thumb"
- >
- <div
- class="t-image t-image--round extra-class-image"
- >
- <div
- class="t-image__status"
- >
- <svg
- class="t-icon t-icon-ellipsis"
- fill="none"
- height="1em"
- viewBox="0 0 16 16"
- width="1em"
- >
- <path
- d="M3 9a1 1 0 110-2 1 1 0 010 2zM7 8a1 1 0 102 0 1 1 0 00-2 0zM12 8a1 1 0 102 0 1 1 0 00-2 0z"
- fill="currentColor"
- fill-opacity="0.9"
- />
- </svg>
- </div>
- <img
- class="t-image__img"
- src="https://tdesign.gtimg.com/mobile/demos/result1.png"
- style="object-fit: fill; width: inherit; height: inherit;"
- />
- </div>
- </div>
- <div
- class="t-result__title"
- >
- 自定义结果
- </div>
- <div
- class="t-result__description"
- >
- 描述文字
- </div>
- </div>
- </div>,
- "debug": [Function],
- "findAllByAltText": [Function],
- "findAllByDisplayValue": [Function],
- "findAllByLabelText": [Function],
- "findAllByPlaceholderText": [Function],
- "findAllByRole": [Function],
- "findAllByTestId": [Function],
- "f
|
call-test-build / test
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
_site
Expired
|
919 KB |
|
pr
Expired
|
138 Bytes |
|