feat(ConfigProvider): support global Jumper slot for Pagination #4489
pull-request.yml
on: pull_request
call-test-build
/
check
7s
call-test-build
/
test
3m 43s
call-test-build
/
site
2m 32s
call-test-build
/
build
5m 3s
Annotations
10 errors
test/snap/csr.test.jsx > ssr snapshot test > ssr test packages/components/config-provider/_example/pagination.tsx:
test/snap/ssr.test.jsx#L33
Error: Snapshot `ssr snapshot test > ssr test packages/components/config-provider/_example/pagination.tsx 1` mismatched
Expected: ""<div class="t-pagination"><div class="t-pagination__total">Total 36 items</div><div class="t-pagination__select"><div class="t-select__wrap"><div class="t-select t-select-input t-select-input--empty"><div class="t-input__wrap t-input--auto-width" spellcheck="false"><div class="t-input t-is-readonly t-align-left t-input--suffix"><input placeholder="please select" type="text" class="t-input__inner" readonly="" value=""/><span class="t-input__input-pre">please select</span><span class="t-input__suffix t-input__suffix-icon"><svg class="t-fake-arrow t-select__right-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.75 5.7998L7.99274 10.0425L12.2361 5.79921" stroke="black" stroke-opacity="0.9" stroke-width="1.3"></path></svg></span></div></div></div></div></div><div class="t-pagination__btn t-pagination__btn-prev t-is-disabled"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-left"><path fill="currentColor" d="M15.91 17.5l-5.5-5.5 5.5-5.5-1.41-1.41L7.59 12l6.91 6.91 1.41-1.41z"></path></svg></div><ul class="t-pagination__pager"><li class="t-pagination__number t-is-current">1</li><li class="t-pagination__number">2</li><li class="t-pagination__number">3</li><li class="t-pagination__number">4</li></ul><div class="t-pagination__btn t-pagination__btn-next"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-right"><path fill="currentColor" d="M8.09 17.5l5.5-5.5-5.5-5.5L9.5 5.09 16.41 12 9.5 18.91 8.09 17.5z"></path></svg></div><div class="t-pagination__jump">jump to<div class="t-input-adornment"><div class="t-input-number t-size-m t-input-number--normal t-pagination__input"><div class="t-input__wrap" value="" spellcheck="false"><div class="t-input t-align-left"><input placeholder="" type="text" class="t-input__inner" autoComplete="off" value=""/></div></div></div><span class="t-input-adornment__append"><span class="t-input-adornment__text">/ 4 </span></span></div></div></div>""
Received: ""<div class="t-pagination"><div class="t-pagination__total">Total 36 items</div><div class="t-pagination__select"><div class="t-select__wrap"><div class="t-select t-select-input t-select-input--empty"><div class="t-input__wrap t-input--auto-width" spellcheck="false"><div class="t-input t-is-readonly t-align-left t-input--suffix"><input placeholder="please select" type="text" class="t-input__inner" readonly="" value=""/><span class="t-input__input-pre">please select</span><span class="t-input__suffix t-input__suffix-icon"><svg class="t-fake-arrow t-select__right-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.75 5.7998L7.99274 10.0425L12.2361 5.79921" stroke="black" stroke-opacity="0.9" stroke-width="1.3"></path></svg></span></div></div></div></div></div><div class="t-pagination__btn t-pagination__btn-prev t-is-disabled"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-left"><path fill="currentColor" d="M15.91 17.5l-5.5-5.5 5.5-5.5-1.41-1.41L7.59 12l6.91 6.91 1.41-1.41z"></path></svg></div><ul class="t-pagination__pager"><li class="t-pagination__number t-is-current">1</li><li class="t-pagination__number">2</li><li class="t-pagination__number">3</li><li class="t-pagination__number">4</li></ul><div class="t-pagination__btn t-pagination__btn-next"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-right"><path fill="currentColor" d="M8.09 17.5l5.5-5.5-5.5-5.5L9.5 5.09 16.41 12 9.5 18.91 8.09 17.5z"></path></svg></div><div style="margin-left:10px"><input type="text" style="width:20px" value="1"/><span> / <!-- -->4<!-- --> 页 </span><button> 跳转 </button></div></div>""
❯ test/snap/ssr.test.jsx:33:22
|
test/snap/csr.test.jsx > ssr snapshot test > ssr test packages/components/pagination/_example/jump.tsx:
test/snap/ssr.test.jsx#L33
Error: Snapshot `ssr snapshot test > ssr test packages/components/pagination/_example/jump.tsx 1` mismatched
Expected: ""<div class="t-pagination"><div class="t-pagination__total">Total 645 items</div><div class="t-pagination__select"><div class="t-select__wrap"><div class="t-select t-select-input t-select-input--empty"><div class="t-input__wrap t-input--auto-width" spellcheck="false"><div class="t-input t-is-readonly t-align-left t-input--suffix"><input placeholder="please select" type="text" class="t-input__inner" readonly="" value=""/><span class="t-input__input-pre">please select</span><span class="t-input__suffix t-input__suffix-icon"><svg class="t-fake-arrow t-select__right-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.75 5.7998L7.99274 10.0425L12.2361 5.79921" stroke="black" stroke-opacity="0.9" stroke-width="1.3"></path></svg></span></div></div></div></div></div><div class="t-pagination__btn t-pagination__btn-prev t-is-disabled"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-left"><path fill="currentColor" d="M15.91 17.5l-5.5-5.5 5.5-5.5-1.41-1.41L7.59 12l6.91 6.91 1.41-1.41z"></path></svg></div><ul class="t-pagination__pager"><li class="t-pagination__number t-is-current">1</li><li class="t-pagination__number">2</li><li class="t-pagination__number">3</li><li class="t-pagination__number">4</li><li class="t-pagination__number">5</li><li class="t-pagination__number t-pagination__number--more"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-ellipsis"><path fill="currentColor" d="M3 10.5h3v3H3v-3zm7.5 0h3v3h-3v-3zm7.5 0h3v3h-3v-3z"></path></svg></li><li class="t-pagination__number">33</li></ul><div class="t-pagination__btn t-pagination__btn-next"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-right"><path fill="currentColor" d="M8.09 17.5l5.5-5.5-5.5-5.5L9.5 5.09 16.41 12 9.5 18.91 8.09 17.5z"></path></svg></div><div class="t-pagination__jump">jump to<div class="t-input-adornment"><div class="t-input-number t-size-m t-input-number--normal t-pagination__input"><div class="t-input__wrap" value="" spellcheck="false"><div class="t-input t-align-left"><input placeholder="" type="text" class="t-input__inner" autoComplete="off" value=""/></div></div></div><span class="t-input-adornment__append"><span class="t-input-adornment__text">/ 33 </span></span></div></div></div>""
Received: ""<div class="t-pagination"><div class="t-pagination__total">Total 645 items</div><div class="t-pagination__select"><div class="t-select__wrap"><div class="t-select t-select-input t-select-input--empty"><div class="t-input__wrap t-input--auto-width" spellcheck="false"><div class="t-input t-is-readonly t-align-left t-input--suffix"><input placeholder="please select" type="text" class="t-input__inner" readonly="" value=""/><span class="t-input__input-pre">please select</span><span class="t-input__suffix t-input__suffix-icon"><svg class="t-fake-arrow t-select__right-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.75 5.7998L7.99274 10.0425L12.2361 5.79921" stroke="black" stroke-opacity="0.9" stroke-width="1.3"></path></svg></span></div></div></div></div></div><div class="t-pagination__btn t-pagination__btn-prev t-is-disabled"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-left"><path fill="currentColor" d="M15.91 17.5l-5.5-5.5 5.5-5.5-1.41-1.41L7.59 12l6.91 6.91 1.41-1.41z"></path></svg></div><ul class="t-pagination__pager"><li class="t-pagination__number t-is-current">1</li><li class="t-pagination__number">2</li><li class="t-pagination__number">3</li><li class="t-pagination__number">4</li><li class="t-pagination__number">5</li><li class="t-pagination__number t-pagination__number--more"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-ellipsis"><path fill="currentColor" d="M3 10.5h3v3H3v-3zm7.5 0h3v3h-3v-3zm7.5 0h3v3h-3v-3z"></path></
|
test/snap/csr.test.jsx > ssr snapshot test > ssr test packages/components/pagination/_example/simple-mini.tsx:
test/snap/ssr.test.jsx#L33
Error: Snapshot `ssr snapshot test > ssr test packages/components/pagination/_example/simple-mini.tsx 1` mismatched
Expected: ""<div class="t-pagination t-size-s"><div class="t-pagination__total">Total 100 items</div><div class="t-pagination__select"><div class="t-select__wrap"><div class="t-select t-select-input t-select-input--empty"><div class="t-input__wrap t-input--auto-width" spellcheck="false"><div class="t-input t-is-readonly t-size-s t-align-left t-input--suffix"><input placeholder="please select" type="text" class="t-input__inner" readonly="" value=""/><span class="t-input__input-pre">please select</span><span class="t-input__suffix t-input__suffix-icon"><svg class="t-fake-arrow t-select__right-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.75 5.7998L7.99274 10.0425L12.2361 5.79921" stroke="black" stroke-opacity="0.9" stroke-width="1.3"></path></svg></span></div></div></div></div></div><div class="t-pagination__btn t-pagination__btn-prev t-is-disabled"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-left"><path fill="currentColor" d="M15.91 17.5l-5.5-5.5 5.5-5.5-1.41-1.41L7.59 12l6.91 6.91 1.41-1.41z"></path></svg></div><div class="t-pagination__jump">jump to<div class="t-input-adornment"><div class="t-input-number t-size-s t-input-number--normal t-pagination__input"><div class="t-input__wrap" value="" spellcheck="false"><div class="t-input t-size-s t-align-left"><input placeholder="" type="text" class="t-input__inner" autoComplete="off" value=""/></div></div></div><span class="t-input-adornment__append"><span class="t-input-adornment__text">/ 20 </span></span></div></div><div class="t-pagination__btn t-pagination__btn-next"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-right"><path fill="currentColor" d="M8.09 17.5l5.5-5.5-5.5-5.5L9.5 5.09 16.41 12 9.5 18.91 8.09 17.5z"></path></svg></div></div>""
Received: ""<div class="t-pagination t-size-s"><div class="t-pagination__total">Total 100 items</div><div class="t-pagination__select"><div class="t-select__wrap"><div class="t-select t-select-input t-select-input--empty"><div class="t-input__wrap t-input--auto-width" spellcheck="false"><div class="t-input t-is-readonly t-size-s t-align-left t-input--suffix"><input placeholder="please select" type="text" class="t-input__inner" readonly="" value=""/><span class="t-input__input-pre">please select</span><span class="t-input__suffix t-input__suffix-icon"><svg class="t-fake-arrow t-select__right-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.75 5.7998L7.99274 10.0425L12.2361 5.79921" stroke="black" stroke-opacity="0.9" stroke-width="1.3"></path></svg></span></div></div></div></div></div><div class="t-pagination__btn t-pagination__btn-prev t-is-disabled"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-left"><path fill="currentColor" d="M15.91 17.5l-5.5-5.5 5.5-5.5-1.41-1.41L7.59 12l6.91 6.91 1.41-1.41z"></path></svg></div><div style="margin-left:10px"><input type="text" style="width:20px" value="1"/><span> / <!-- -->20<!-- --> 页 </span><button> 跳转 </button></div><div class="t-pagination__btn t-pagination__btn-next"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-right"><path fill="currentColor" d="M8.09 17.5l5.5-5.5-5.5-5.5L9.5 5.09 16.41 12 9.5 18.91 8.09 17.5z"></path></svg></div></div>""
❯ test/snap/ssr.test.jsx:33:22
|
test/snap/csr.test.jsx > ssr snapshot test > ssr test packages/components/pagination/_example/simple.tsx:
test/snap/ssr.test.jsx#L33
Error: Snapshot `ssr snapshot test > ssr test packages/components/pagination/_example/simple.tsx 1` mismatched
Expected: ""<div class="t-pagination"><div class="t-pagination__total">Total 100 items</div><div class="t-pagination__select"><div class="t-select__wrap"><div class="t-select t-select-input t-select-input--empty"><div class="t-input__wrap t-input--auto-width" spellcheck="false"><div class="t-input t-is-readonly t-align-left t-input--suffix"><input placeholder="please select" type="text" class="t-input__inner" readonly="" value=""/><span class="t-input__input-pre">please select</span><span class="t-input__suffix t-input__suffix-icon"><svg class="t-fake-arrow t-select__right-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.75 5.7998L7.99274 10.0425L12.2361 5.79921" stroke="black" stroke-opacity="0.9" stroke-width="1.3"></path></svg></span></div></div></div></div></div><div class="t-pagination__btn t-pagination__btn-prev t-is-disabled"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-left"><path fill="currentColor" d="M15.91 17.5l-5.5-5.5 5.5-5.5-1.41-1.41L7.59 12l6.91 6.91 1.41-1.41z"></path></svg></div><div class="t-pagination__jump">jump to<div class="t-input-adornment"><div class="t-input-number t-size-m t-input-number--normal t-pagination__input"><div class="t-input__wrap" value="" spellcheck="false"><div class="t-input t-align-left"><input placeholder="" type="text" class="t-input__inner" autoComplete="off" value=""/></div></div></div><span class="t-input-adornment__append"><span class="t-input-adornment__text">/ 20 </span></span></div></div><div class="t-pagination__btn t-pagination__btn-next"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-right"><path fill="currentColor" d="M8.09 17.5l5.5-5.5-5.5-5.5L9.5 5.09 16.41 12 9.5 18.91 8.09 17.5z"></path></svg></div></div>""
Received: ""<div class="t-pagination"><div class="t-pagination__total">Total 100 items</div><div class="t-pagination__select"><div class="t-select__wrap"><div class="t-select t-select-input t-select-input--empty"><div class="t-input__wrap t-input--auto-width" spellcheck="false"><div class="t-input t-is-readonly t-align-left t-input--suffix"><input placeholder="please select" type="text" class="t-input__inner" readonly="" value=""/><span class="t-input__input-pre">please select</span><span class="t-input__suffix t-input__suffix-icon"><svg class="t-fake-arrow t-select__right-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.75 5.7998L7.99274 10.0425L12.2361 5.79921" stroke="black" stroke-opacity="0.9" stroke-width="1.3"></path></svg></span></div></div></div></div></div><div class="t-pagination__btn t-pagination__btn-prev t-is-disabled"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-left"><path fill="currentColor" d="M15.91 17.5l-5.5-5.5 5.5-5.5-1.41-1.41L7.59 12l6.91 6.91 1.41-1.41z"></path></svg></div><div style="margin-left:10px"><input type="text" style="width:20px" value="1"/><span> / <!-- -->20<!-- --> 页 </span><button> 跳转 </button></div><div class="t-pagination__btn t-pagination__btn-next"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-right"><path fill="currentColor" d="M8.09 17.5l5.5-5.5-5.5-5.5L9.5 5.09 16.41 12 9.5 18.91 8.09 17.5z"></path></svg></div></div>""
❯ test/snap/ssr.test.jsx:33:22
|
test/snap/csr.test.jsx > ssr snapshot test > ssr test packages/components/table/_example/base.tsx:
test/snap/ssr.test.jsx#L33
Error: Snapshot `ssr snapshot test > ssr test packages/components/table/_example/base.tsx 1` mismatched
- Expected
+ Received
- "<div style="gap:16px" class="t-space t-space-vertical"><div class="t-space-item"><div class="t-radio-group t-size-m t-radio-group--filled"><label tabindex="0" class="t-radio-button"><input type="radio" class="t-radio-button__former" tabindex="-1" data-value="'small'" value="small"/><span class="t-radio-button__input"></span><span class="t-radio-button__label">小尺寸</span></label><label tabindex="0" class="t-radio-button t-is-checked" checked=""><input type="radio" class="t-radio-button__former" tabindex="-1" data-value="'medium'" checked="" value="medium"/><span class="t-radio-button__input"></span><span class="t-radio-button__label">中尺寸</span></label><label tabindex="0" class="t-radio-button"><input type="radio" class="t-radio-button__former" tabindex="-1" data-value="'large'" value="large"/><span class="t-radio-button__input"></span><span class="t-radio-button__label">大尺寸</span></label><div class="t-radio-group__bg-block"></div></div></div><div class="t-space-item"><div style="gap:16px" class="t-space t-space-horizontal"><div class="t-space-item"><label tabindex="0" class="t-checkbox"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="false" value="0"/><span class="t-checkbox__input"></span><span class="t-checkbox__label">显示斑马纹</span></label></div><div class="t-space-item"><label tabindex="0" class="t-checkbox"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="false" value="0"/><span class="t-checkbox__input"></span><span class="t-checkbox__label">显示表格边框</span></label></div><div class="t-space-item"><label tabindex="0" class="t-checkbox"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="false" value="0"/><span class="t-checkbox__input"></span><span class="t-checkbox__label">显示悬浮效果</span></label></div><div class="t-space-item"><label tabindex="0" class="t-checkbox"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="false" value="0"/><span class="t-checkbox__input"></span><span class="t-checkbox__label">宽度自适应</span></label></div><div class="t-space-item"><label tabindex="0" class="t-checkbox"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="true" value="1"/><span class="t-checkbox__input"></span><span class="t-checkbox__label">显示表头</span></label></div></div></div><div class="t-space-item"><div class="t-table t-vertical-align-top t-table--column-resizable" style="position:relative"><div class="t-table__content"><table class="t-table--layout-fixed"><colgroup><col style="width:100px"/><col style="min-width:80px"/><col style="min-width:80px"/><col style="min-width:80px"/><col style="min-width:80px"/></colgroup><thead class="t-table__header"><tr><th data-colkey="applicant" class="t-table__th-applicant"><div class="t-table__th-cell-inner">申请人</div></th><th data-colkey="status" class="t-table__th-status"><div class="t-table__th-cell-inner">申请状态</div></th><th data-colkey="channel" class="t-table__th-channel"><div class="t-table__th-cell-inner">签署方式</div></th><th data-colkey="detail.email" class="t-table__th-detail.email"><div class="t-table__th-cell-inner"><div class="t-table__ellipsis t-text-ellipsis">邮箱地址</div></div></th><th data-colkey="createTime" class="t-table__th-createTime"><div class="t-table__th-cell-inner">申请时间</div></th></tr></thead><tbody class="t-table__body"><tr class="0-class"><td class="">贾明</td><td class=""><div class="t-tag t-tag--success t-tag--light-outline t-tag--round"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-check-circle-filled"><path fill="currentColor" d="M12 23a11 11 0 100-22 11 11 0 000 22zM7.5 10.59l3 3 6-6L17.91 9l-7.41 7.41L6.09 12l1.41-1.41z"></path></svg><span title="审批通过">审批通过</span></div></td><td class="">电子签署</td><td class="t-table-td--ellipsis"><div class="t-table__ellipsis t-text-ellipsis">[email protected]</div></td><td class="">2022-01-01</td></tr><tr class="1-clas
|
test/snap/csr.test.jsx > ssr snapshot test > ssr test packages/components/table/_example/filter-controlled.tsx:
test/snap/ssr.test.jsx#L33
Error: Snapshot `ssr snapshot test > ssr test packages/components/table/_example/filter-controlled.tsx 1` mismatched
Expected: ""<div style="gap:16px" class="t-space t-space-vertical"><div class="t-space-item"><div style="gap:16px" class="t-space t-space-align-center t-space-horizontal"><div class="t-space-item"><button type="button" class="t-button t-button--theme-primary t-button--variant-base"><span class="t-button__text">清空已筛选</span></button></div><div class="t-space-item"><span>已选筛选条件:<!-- -->{"lastName":[]}</span></div></div></div><div class="t-space-item"><div class="t-table" style="position:relative"><div class="t-table__content"><table class="t-table--layout-fixed"><colgroup><col style="width:100px"/><col style="min-width:80px"/><col style="min-width:80px"/><col style="min-width:80px"/><col style="min-width:80px"/></colgroup><thead class="t-table__header"><tr><th data-colkey="applicant" class="t-table__th-applicant"><div class="t-table__th-cell-inner">申请人</div></th><th data-colkey="status" class="t-table__th-status"><div class="t-table__th-cell-inner"><div class="t-table__cell--filterable"><div class="t-table__cell--title"><div>申请状态</div><div class="t-table__filter-icon-wrap"><div class="t-table__filter-icon"><div><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-filter"><path fill="currentColor" d="M2.57 3h18.86l-6.93 9.82V21h-5v-8.18L2.57 3zm3.86 2l5.07 7.18V19h1v-6.82L17.57 5H6.43z"></path></svg></div></div></div></div></div></div></th><th data-colkey="channel" class="t-table__th-channel"><div class="t-table__th-cell-inner"><div class="t-table__cell--filterable"><div class="t-table__cell--title"><div>签署方式</div><div class="t-table__filter-icon-wrap"><div class="t-table__filter-icon"><div><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-filter"><path fill="currentColor" d="M2.57 3h18.86l-6.93 9.82V21h-5v-8.18L2.57 3zm3.86 2l5.07 7.18V19h1v-6.82L17.57 5H6.43z"></path></svg></div></div></div></div></div></div></th><th data-colkey="email" class="t-table__th-email"><div class="t-table__th-cell-inner"><div class="t-table__cell--filterable"><div class="t-table__cell--title"><div>Email</div><div class="t-table__filter-icon-wrap"><div class="t-table__filter-icon"><div><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-filter"><path fill="currentColor" d="M2.57 3h18.86l-6.93 9.82V21h-5v-8.18L2.57 3zm3.86 2l5.07 7.18V19h1v-6.82L17.57 5H6.43z"></path></svg></div></div></div></div></div></div></th><th data-colkey="createTime" class="t-table__th-createTime"><div class="t-table__th-cell-inner"><div class="t-table__cell--sortable t-table__cell--filterable"><div class="t-table__cell--title"><div>Date</div><div class="t-table__filter-icon-wrap"><div class="t-table__cell--sort-trigger t-table__double-icons"><span class="t-icon-sort--default t-table__sort-icon t-table-sort-asc t-negative-rotate-180"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-caret-down-small" style="font-size:18px"><path fill="currentColor" d="M12 15l5.5-5.5h-11L12 15z"></path></svg></span><span class="t-icon-sort--default t-table__sort-icon t-table-sort-desc"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-caret-down-small" style="font-size:18px"><path fill="currentColor" d="M12 15l5.5-5.5h-11L12 15z"></path></svg></span></div><div class="t-table__filter-icon"><div><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-filter"><path fill="currentColor" d="M2.57 3h18.86l-6.93 9.82V21h-5v-8.18L2.57 3zm3.86 2l5.07 7.18V19h1v-6.82L17.57 5H6.43z"></path></svg></div></div></div></div></div></div></th></tr></thead><tbody class="t-table__body"><tr class="t-table__row--full t-table__first-full-row"><td colSpan="5"><div class=""><div class="t-table__row-full-element"><div class="t-table__row-filter-inner"><div class="t-table__filter-result"><span>Search "". Find 5 items.</span><button type="button" class="t-button t-button--theme-primary t-button--varia
|
test/snap/csr.test.jsx > ssr snapshot test > ssr test packages/components/table/_example/pagination.tsx:
test/snap/ssr.test.jsx#L33
Error: Snapshot `ssr snapshot test > ssr test packages/components/table/_example/pagination.tsx 1` mismatched
- Expected
+ Received
- "<div style="width:100%;gap:16px" class="t-space t-space-vertical"><div class="t-space-item"><div class="t-radio-group t-size-m t-radio-group--filled"><label tabindex="0" class="t-radio-button t-is-checked" checked=""><input type="radio" class="t-radio-button__former" tabindex="-1" data-value="true" checked="" value="1"/><span class="t-radio-button__input"></span><span class="t-radio-button__label">跨分页选中</span></label><label tabindex="0" class="t-radio-button"><input type="radio" class="t-radio-button__former" tabindex="-1" data-value="false" value="0"/><span class="t-radio-button__input"></span><span class="t-radio-button__label">当前页选中</span></label><div class="t-radio-group__bg-block"></div></div></div><div class="t-space-item"><div class="t-table" style="position:relative"><div class="t-table__content"><table class="t-table--layout-fixed"><colgroup><col style="width:80px"/><col style="width:100px"/><col style="width:150px"/><col style="width:120px"/><col style="min-width:80px"/><col style="width:46px"/></colgroup><thead class="t-table__header"><tr><th data-colkey="serial-number" class="t-table__th-serial-number"><div class="t-table__th-cell-inner">序号</div></th><th data-colkey="applicant" class="t-table__th-applicant"><div class="t-table__th-cell-inner">申请人</div></th><th data-colkey="status" class="t-table__th-status"><div class="t-table__th-cell-inner">申请状态</div></th><th data-colkey="channel" class="t-table__th-channel"><div class="t-table__th-cell-inner">签署方式</div></th><th data-colkey="createTime" class="t-table__th-createTime"><div class="t-table__th-cell-inner">申请时间</div></th><th data-colkey="row-select" class="t-table__cell-check t-table__th-row-select"><div class="t-table__th-cell-inner"><label tabindex="0" class="t-checkbox"><input type="checkbox" class="t-checkbox__former" tabindex="-1"/><span class="t-checkbox__input"></span></label></div></th></tr></thead><tbody class="t-table__body"><tr class=""><td class="">6</td><td class="">贾明</td><td class=""><div class="t-tag t-tag--success t-tag--light-outline t-tag--round"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-check-circle-filled"><path fill="currentColor" d="M12 23a11 11 0 100-22 11 11 0 000 22zM7.5 10.59l3 3 6-6L17.91 9l-7.41 7.41L6.09 12l1.41-1.41z"></path></svg><span title="审批通过">审批通过</span></div></td><td class="">电子签署</td><td class="">2022-01-01</td><td class="t-table__cell-check"><label tabindex="0" class="t-checkbox"><input type="checkbox" class="t-checkbox__former" tabindex="-1"/><span class="t-checkbox__input"></span></label></td></tr><tr class=""><td class="">7</td><td class="">张三</td><td class=""><div class="t-tag t-tag--danger t-tag--light-outline t-tag--round"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-close-circle-filled"><path fill="currentColor" d="M12 23a11 11 0 100-22 11 11 0 000 22zM8.82 7.4L12 10.6l3.18-3.19 1.42 1.42L13.4 12l3.19 3.18-1.42 1.42L12 13.4 8.82 16.6 7.4 15.18 10.6 12 7.4 8.82 8.82 7.4z"></path></svg><span title="审批失败">审批失败</span></div></td><td class="">纸质签署</td><td class="">2022-02-01</td><td class="t-table__cell-check"><label tabindex="0" class="t-checkbox"><input type="checkbox" class="t-checkbox__former" tabindex="-1"/><span class="t-checkbox__input"></span></label></td></tr><tr class=""><td class="">8</td><td class="">王芳</td><td class=""><div class="t-tag t-tag--warning t-tag--light-outline t-tag--round"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-error-circle-filled"><path fill="currentColor" d="M12 1a11 11 0 110 22 11 11 0 010-22zm-1 13h2V6.5h-2V14zm2 1.5h-2v2h2v-2z"></path></svg><span title="审批过期">审批过期</span></div></td><td class="">纸质签署</td><td class="">2022-03-01</td><td class="t-table__cell-check"><label tabindex="0" class="t-checkbox"><input type="checkbox" class="t-checkbox__former" tabindex="-1"/><span class="t-checkbox__input"></span></label></td></tr><tr class=""><t
|
test/snap/csr.test.jsx > ssr snapshot test > ssr test packages/components/transfer/_example/pagination.tsx:
test/snap/ssr.test.jsx#L33
Error: Snapshot `ssr snapshot test > ssr test packages/components/transfer/_example/pagination.tsx 1` mismatched
Expected: ""<div class="t-transfer t-transfer__pagination"><div class="t-transfer__list t-transfer__list-source"><div class="t-transfer__list-header"><div><label tabindex="0" class="t-checkbox"><input type="checkbox" class="t-checkbox__former" tabindex="-1"/><span class="t-checkbox__input"></span></label><span>0 / 20</span></div><span></span></div><div class="t-transfer__list-body"><div class="t-transfer__list-content narrow-scrollbar"><div class="t-checkbox-group"><label tabindex="0" class="t-checkbox t-transfer__list-item"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="'0'" value="0"/><span class="t-checkbox__input"></span><span class="t-checkbox__label"><span>内容1</span></span></label><label tabindex="0" class="t-checkbox t-transfer__list-item"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="'1'" value="1"/><span class="t-checkbox__input"></span><span class="t-checkbox__label"><span>内容2</span></span></label><label tabindex="0" class="t-checkbox t-transfer__list-item"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="'2'" value="2"/><span class="t-checkbox__input"></span><span class="t-checkbox__label"><span>内容3</span></span></label><label tabindex="0" class="t-checkbox t-transfer__list-item"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="'3'" value="3"/><span class="t-checkbox__input"></span><span class="t-checkbox__label"><span>内容4</span></span></label><label tabindex="0" class="t-checkbox t-transfer__list-item"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="'4'" value="4"/><span class="t-checkbox__input"></span><span class="t-checkbox__label"><span>内容5</span></span></label><label tabindex="0" class="t-checkbox t-transfer__list-item"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="'5'" value="5"/><span class="t-checkbox__input"></span><span class="t-checkbox__label"><span>内容6</span></span></label><label tabindex="0" class="t-checkbox t-transfer__list-item"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="'6'" value="6"/><span class="t-checkbox__input"></span><span class="t-checkbox__label"><span>内容7</span></span></label><label tabindex="0" class="t-checkbox t-transfer__list-item"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="'7'" value="7"/><span class="t-checkbox__input"></span><span class="t-checkbox__label"><span>内容8</span></span></label><label tabindex="0" class="t-checkbox t-transfer__list-item"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="'8'" value="8"/><span class="t-checkbox__input"></span><span class="t-checkbox__label"><span>内容9</span></span></label><label tabindex="0" class="t-checkbox t-transfer__list-item"><input type="checkbox" class="t-checkbox__former" tabindex="-1" data-value="'9'" value="9"/><span class="t-checkbox__input"></span><span class="t-checkbox__label"><span>内容10</span></span></label></div></div></div><div class="t-transfer__list-pagination"><div class="t-pagination t-size-s"><div class="t-pagination__btn t-pagination__btn-prev t-is-disabled"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-chevron-left"><path fill="currentColor" d="M15.91 17.5l-5.5-5.5 5.5-5.5-1.41-1.41L7.59 12l6.91 6.91 1.41-1.41z"></path></svg></div><div class="t-pagination__jump">jump to<div class="t-input-adornment"><div class="t-input-number t-size-s t-input-number--normal t-pagination__input"><div class="t-input__wrap" value="" spellcheck="false"><div class="t-input t-size-s t-align-left"><input placeholder="" type="text" class="t-input__inner" autoComplete="off" value=""/></div></div></div><span class="t-input-adornment__append"><span class="t-input-adornment__text">/ 2 </span></span></div></div><div class="t-pagination_
|
test/snap/csr.test.jsx > csr snapshot test > csr test packages/components/config-provider/_example/pagination.tsx:
test/snap/csr.test.jsx#L35
Error: Snapshot `csr snapshot test > csr test packages/components/config-provider/_example/pagination.tsx 1` mismatched
- Expected
+ Received
@@ -115,45 +115,23 @@
fill="currentColor"
/>
</svg>
</div>
<div
- class="t-pagination__jump"
- >
- jump to
- <div
- class="t-input-adornment"
- >
- <div
- class="t-input-number t-size-m t-input-number--normal t-pagination__input"
- >
- <div
- class="t-input__wrap"
- spellcheck="false"
- value="1"
- >
- <div
- class="t-input t-align-left"
- >
+ style="margin-left: 10px;"
+ >
- <input
+ <input
- autocomplete="off"
- class="t-input__inner"
- placeholder=""
- type="text"
+ style="width: 20px;"
+ type="text"
- value="1"
+ value="1"
- />
- </div>
- </div>
- </div>
+ />
+ <span>
+ /
- <span
- class="t-input-adornment__append"
- >
- <span
+ 4
+ 页
+ </span>
- class="t-input-adornment__text"
- >
+ <button>
- / 4
- </span>
- </span>
- </div>
+ 跳转
+ </button>
</div>
</div>
</div>
❯ test/snap/csr.test.jsx:35:27
|
test/snap/csr.test.jsx > csr snapshot test > csr test packages/components/pagination/_example/jump.tsx:
test/snap/csr.test.jsx#L35
Error: Snapshot `csr snapshot test > csr test packages/components/pagination/_example/jump.tsx 1` mismatched
- Expected
+ Received
@@ -141,45 +141,23 @@
fill="currentColor"
/>
</svg>
</div>
<div
- class="t-pagination__jump"
- >
- jump to
- <div
- class="t-input-adornment"
- >
- <div
- class="t-input-number t-size-m t-input-number--normal t-pagination__input"
- >
- <div
- class="t-input__wrap"
- spellcheck="false"
- value="1"
- >
- <div
- class="t-input t-align-left"
- >
- <input
+ style="margin-left: 10px;"
+ >
+ <input
- autocomplete="off"
- class="t-input__inner"
- placeholder=""
- type="text"
+ style="width: 20px;"
+ type="text"
- value="1"
+ value="1"
- />
- </div>
+ />
+ <span>
- </div>
- </div>
+ /
- <span
+ 33
- class="t-input-adornment__append"
- >
- <span
+ 页
+ </span>
- class="t-input-adornment__text"
- >
- / 33
- </span>
- </span>
- </div>
+ <button>
+ 跳转
+ </button>
</div>
</div>
</div>
❯ test/snap/csr.test.jsx:35:27
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
_site
|
3.37 MB |
|
pr
|
139 Bytes |
|