test: update page-header snap

pull/2682/head
tanjinzhou 2020-08-14 11:09:05 +08:00
parent c0191c736f
commit 9d403d121f
1 changed files with 232 additions and 79 deletions

View File

@ -6,6 +6,7 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
class="ant-page-header ant-page-header-ghost"
style="border: 1px solid rgb(235, 237, 240);"
>
<!---->
<div
class="ant-page-header-heading"
>
@ -19,6 +20,7 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;"
tabindex="0"
>
<span
aria-label="arrow-left"
class="anticon anticon-arrow-left"
@ -39,8 +41,10 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
/>
</svg>
</span>
</div>
</div>
<!---->
<span
class="ant-page-header-heading-title"
>
@ -51,35 +55,45 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
>
This is a subtitle
</span>
<!---->
<span
class="ant-page-header-heading-extra"
>
<button
class="ant-btn"
type="button"
>
<span>
Operation
</span>
</button>
<button
class="ant-btn"
type="button"
>
<!---->
<span>
Operation
</span>
</button>
</button>
<button
class="ant-btn"
type="button"
>
<!---->
<span>
Operation
</span>
</button>
<button
class="ant-btn ant-btn-primary"
type="button"
>
<!---->
<span>
Primary
</span>
</button>
</span>
</div>
<div
@ -89,14 +103,17 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
<div
class="ant-descriptions ant-descriptions-small"
>
<!---->
<div
class="ant-descriptions-view"
>
<table>
<tbody>
<tr
class="ant-descriptions-row"
>
<td
class="ant-descriptions-item"
colspan="1"
@ -126,9 +143,11 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
<span
class="ant-descriptions-item-content"
>
<a>
421421
</a>
</span>
</td>
<td
@ -148,10 +167,12 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
</span>
</td>
</tr>
<tr
class="ant-descriptions-row"
>
<td
class="ant-descriptions-item"
colspan="1"
@ -186,19 +207,22 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!---->
</div>
<br />
<div
class="ant-page-header ant-page-header-ghost"
>
<!---->
<div
class="ant-page-header-heading"
>
@ -212,6 +236,7 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;"
tabindex="0"
>
<span
aria-label="arrow-left"
class="anticon anticon-arrow-left"
@ -232,8 +257,10 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
/>
</svg>
</span>
</div>
</div>
<!---->
<span
class="ant-page-header-heading-title"
>
@ -253,46 +280,56 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
Running
<!---->
</span>
</span>
<span
class="ant-page-header-heading-extra"
>
<button
class="ant-btn"
type="button"
>
<span>
Operation
</span>
</button>
<button
class="ant-btn"
type="button"
>
<span>
Operation
</span>
</button>
<button
class="ant-btn ant-btn-primary"
type="button"
>
<span>
Primary
</span>
</button>
</span>
<!---->
</div>
<div
class="ant-page-header-content"
>
<template
slot="extra"
>
<button
class="ant-btn"
type="button"
>
<!---->
<span>
Operation
</span>
</button>
<button
class="ant-btn"
type="button"
>
<!---->
<span>
Operation
</span>
</button>
<button
class="ant-btn ant-btn-primary"
type="button"
>
<!---->
<span>
Primary
</span>
</button>
</template>
<div
class="ant-row-flex"
>
<div
class="ant-statistic"
>
@ -304,14 +341,15 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
<div
class="ant-statistic-content"
>
<!---->
<span
class="ant-statistic-content-value"
>
Pending
</span>
<!---->
</div>
</div>
<div
class="ant-statistic"
style="margin: 0px 32px;"
@ -332,9 +370,11 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
<span
class="ant-statistic-content-value"
>
<span
class="ant-statistic-content-value-int"
>
568
</span>
<span
@ -342,10 +382,11 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
>
.08
</span>
</span>
</div>
</div>
</span>
<!---->
</div>
</div>
<div
class="ant-statistic"
>
@ -365,9 +406,11 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
<span
class="ant-statistic-content-value"
>
<span
class="ant-statistic-content-value-int"
>
3,345
</span>
<span
@ -375,11 +418,16 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
>
.08
</span>
</span>
<!---->
</div>
</div>
</div>
</div>
<!---->
</div>
</div>
`;
@ -389,6 +437,7 @@ exports[`renders ./antdv-demo/docs/page-header/demo/basic.md correctly 1`] = `
class="ant-page-header ant-page-header-ghost"
style="border: 1px solid rgb(235, 237, 240);"
>
<!---->
<div
class="ant-page-header-heading"
>
@ -402,6 +451,7 @@ exports[`renders ./antdv-demo/docs/page-header/demo/basic.md correctly 1`] = `
style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;"
tabindex="0"
>
<span
aria-label="arrow-left"
class="anticon anticon-arrow-left"
@ -422,8 +472,10 @@ exports[`renders ./antdv-demo/docs/page-header/demo/basic.md correctly 1`] = `
/>
</svg>
</span>
</div>
</div>
<!---->
<span
class="ant-page-header-heading-title"
>
@ -434,7 +486,11 @@ exports[`renders ./antdv-demo/docs/page-header/demo/basic.md correctly 1`] = `
>
This is a subtitle
</span>
<!---->
<!---->
</div>
<!---->
<!---->
</div>
`;
@ -446,15 +502,18 @@ exports[`renders ./antdv-demo/docs/page-header/demo/breadcrumb.md correctly 1`]
<div
class="ant-breadcrumb"
>
<span>
<span
class="ant-breadcrumb-link"
>
<a
href="#/index"
>
First-level Menu
</a>
</span>
<span
class="ant-breadcrumb-separator"
@ -466,11 +525,13 @@ exports[`renders ./antdv-demo/docs/page-header/demo/breadcrumb.md correctly 1`]
<span
class="ant-breadcrumb-link"
>
<a
href="#/index/first"
>
Second-level Menu
</a>
</span>
<span
class="ant-breadcrumb-separator"
@ -482,9 +543,11 @@ exports[`renders ./antdv-demo/docs/page-header/demo/breadcrumb.md correctly 1`]
<span
class="ant-breadcrumb-link"
>
<span>
Third-level Menu
</span>
</span>
<span
class="ant-breadcrumb-separator"
@ -492,10 +555,13 @@ exports[`renders ./antdv-demo/docs/page-header/demo/breadcrumb.md correctly 1`]
/
</span>
</span>
</div>
<div
class="ant-page-header-heading"
>
<!---->
<!---->
<span
class="ant-page-header-heading-title"
>
@ -506,7 +572,11 @@ exports[`renders ./antdv-demo/docs/page-header/demo/breadcrumb.md correctly 1`]
>
This is a subtitle
</span>
<!---->
<!---->
</div>
<!---->
<!---->
</div>
`;
@ -517,6 +587,7 @@ exports[`renders ./antdv-demo/docs/page-header/demo/ghost.md correctly 1`] = `
<div
class="ant-page-header"
>
<!---->
<div
class="ant-page-header-heading"
>
@ -530,6 +601,7 @@ exports[`renders ./antdv-demo/docs/page-header/demo/ghost.md correctly 1`] = `
style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;"
tabindex="0"
>
<span
aria-label="arrow-left"
class="anticon anticon-arrow-left"
@ -550,8 +622,10 @@ exports[`renders ./antdv-demo/docs/page-header/demo/ghost.md correctly 1`] = `
/>
</svg>
</span>
</div>
</div>
<!---->
<span
class="ant-page-header-heading-title"
>
@ -562,35 +636,45 @@ exports[`renders ./antdv-demo/docs/page-header/demo/ghost.md correctly 1`] = `
>
This is a subtitle
</span>
<!---->
<span
class="ant-page-header-heading-extra"
>
<button
class="ant-btn"
type="button"
>
<span>
Operation
</span>
</button>
<button
class="ant-btn"
type="button"
>
<!---->
<span>
Operation
</span>
</button>
</button>
<button
class="ant-btn"
type="button"
>
<!---->
<span>
Operation
</span>
</button>
<button
class="ant-btn ant-btn-primary"
type="button"
>
<!---->
<span>
Primary
</span>
</button>
</span>
</div>
<div
@ -600,14 +684,17 @@ exports[`renders ./antdv-demo/docs/page-header/demo/ghost.md correctly 1`] = `
<div
class="ant-descriptions ant-descriptions-small"
>
<!---->
<div
class="ant-descriptions-view"
>
<table>
<tbody>
<tr
class="ant-descriptions-row"
>
<td
class="ant-descriptions-item"
colspan="1"
@ -637,9 +724,11 @@ exports[`renders ./antdv-demo/docs/page-header/demo/ghost.md correctly 1`] = `
<span
class="ant-descriptions-item-content"
>
<a>
421421
</a>
</span>
</td>
<td
@ -659,10 +748,12 @@ exports[`renders ./antdv-demo/docs/page-header/demo/ghost.md correctly 1`] = `
</span>
</td>
</tr>
<tr
class="ant-descriptions-row"
>
<td
class="ant-descriptions-item"
colspan="1"
@ -697,12 +788,16 @@ exports[`renders ./antdv-demo/docs/page-header/demo/ghost.md correctly 1`] = `
</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!---->
</div>
</div>
`;
@ -713,6 +808,7 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
class="ant-page-header has-footer ant-page-header-ghost"
style="border: 1px solid rgb(235, 237, 240);"
>
<!---->
<div
class="ant-page-header-heading"
>
@ -726,6 +822,7 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;"
tabindex="0"
>
<span
aria-label="arrow-left"
class="anticon anticon-arrow-left"
@ -746,8 +843,10 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
/>
</svg>
</span>
</div>
</div>
<!---->
<span
class="ant-page-header-heading-title"
>
@ -758,35 +857,45 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
>
This is a subtitle
</span>
<!---->
<span
class="ant-page-header-heading-extra"
>
<button
class="ant-btn"
type="button"
>
<span>
Operation
</span>
</button>
<button
class="ant-btn"
type="button"
>
<!---->
<span>
Operation
</span>
</button>
</button>
<button
class="ant-btn"
type="button"
>
<!---->
<span>
Operation
</span>
</button>
<button
class="ant-btn ant-btn-primary"
type="button"
>
<!---->
<span>
Primary
</span>
</button>
</span>
</div>
<div
@ -802,14 +911,17 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
<div
class="ant-descriptions ant-descriptions-small"
>
<!---->
<div
class="ant-descriptions-view"
>
<table>
<tbody>
<tr
class="ant-descriptions-row"
>
<td
class="ant-descriptions-item"
colspan="1"
@ -839,15 +951,19 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
<span
class="ant-descriptions-item-content"
>
<a>
421421
</a>
</span>
</td>
</tr>
<tr
class="ant-descriptions-row"
>
<td
class="ant-descriptions-item"
colspan="1"
@ -882,10 +998,12 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
</span>
</td>
</tr>
<tr
class="ant-descriptions-row"
>
<td
class="ant-descriptions-item"
colspan="2"
@ -903,13 +1021,14 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div
class="extra"
>
@ -928,14 +1047,15 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
<div
class="ant-statistic-content"
>
<!---->
<span
class="ant-statistic-content-value"
>
Pending
</span>
<!---->
</div>
</div>
<div
class="ant-statistic"
>
@ -955,9 +1075,11 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
<span
class="ant-statistic-content-value"
>
<span
class="ant-statistic-content-value-int"
>
568
</span>
<span
@ -965,24 +1087,29 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
>
.08
</span>
</span>
<!---->
</div>
</div>
</div>
</div>
</div>
</div>
<div
class="ant-page-header-footer"
>
<div
class="ant-tabs ant-tabs-top ant-tabs-line"
class="ant-tabs-line ant-tabs ant-tabs-top"
>
<div
class="ant-tabs-bar ant-tabs-top-bar"
role="tablist"
tabindex="0"
>
<div
class="ant-tabs-nav-container"
>
@ -1053,7 +1180,9 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
<div
class="ant-tabs-nav ant-tabs-nav-animated"
>
<div>
<div
aria-disabled="false"
aria-selected="true"
@ -1070,25 +1199,32 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
>
Rule
</div>
</div>
<div
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
style="display: block; transform: translate3d(0px,0,0); webkit-transform: translate3d(0px,0,0); width: 0px;"
/>
</div>
</div>
</div>
</div>
</div>
<div
role="presentation"
style="width: 0px; height: 0px; overflow: hidden; position: absolute;"
tabindex="0"
/>
>
</div>
<div
class="ant-tabs-content ant-tabs-content-animated ant-tabs-top-content"
style="margin-left: 0%;"
>
<div
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
@ -1098,24 +1234,41 @@ exports[`renders ./antdv-demo/docs/page-header/demo/responsive.md correctly 1`]
role="presentation"
style="width: 0px; height: 0px; overflow: hidden; position: absolute;"
tabindex="0"
/>
>
</div>
<div
role="presentation"
style="width: 0px; height: 0px; overflow: hidden; position: absolute;"
tabindex="0"
/>
>
</div>
</div>
<div
aria-hidden="true"
class="ant-tabs-tabpane ant-tabs-tabpane-inactive"
role="tabpanel"
/>
>
<!---->
<!---->
<!---->
</div>
</div>
<div
role="presentation"
style="width: 0px; height: 0px; overflow: hidden; position: absolute;"
tabindex="0"
/>
>
</div>
</div>
</div>
</div>