fix test case

This commit is contained in:
afc163 2017-02-26 00:23:46 +08:00
parent a5f136f334
commit cf4ad5ddb8
2 changed files with 106 additions and 53 deletions

View File

@ -14,7 +14,8 @@ exports[`test renders ./components/form/demo/advanced-search.md correctly 1`] =
class="ant-col-5 ant-form-item-label">
<label
class=""
for="field-0">
for="field-0"
title="Field 0">
Field 0
</label>
</div>
@ -42,7 +43,8 @@ exports[`test renders ./components/form/demo/advanced-search.md correctly 1`] =
class="ant-col-5 ant-form-item-label">
<label
class=""
for="field-1">
for="field-1"
title="Field 1">
Field 1
</label>
</div>
@ -70,7 +72,8 @@ exports[`test renders ./components/form/demo/advanced-search.md correctly 1`] =
class="ant-col-5 ant-form-item-label">
<label
class=""
for="field-2">
for="field-2"
title="Field 2">
Field 2
</label>
</div>
@ -98,7 +101,8 @@ exports[`test renders ./components/form/demo/advanced-search.md correctly 1`] =
class="ant-col-5 ant-form-item-label">
<label
class=""
for="field-3">
for="field-3"
title="Field 3">
Field 3
</label>
</div>
@ -126,7 +130,8 @@ exports[`test renders ./components/form/demo/advanced-search.md correctly 1`] =
class="ant-col-5 ant-form-item-label">
<label
class=""
for="field-4">
for="field-4"
title="Field 4">
Field 4
</label>
</div>
@ -154,7 +159,8 @@ exports[`test renders ./components/form/demo/advanced-search.md correctly 1`] =
class="ant-col-5 ant-form-item-label">
<label
class=""
for="field-5">
for="field-5"
title="Field 5">
Field 5
</label>
</div>
@ -219,7 +225,8 @@ exports[`test renders ./components/form/demo/coordinated.md correctly 1`] = `
class="ant-col-4 ant-form-item-label">
<label
class="ant-form-item-required"
for="note">
for="note"
title="Note">
Note
</label>
</div>
@ -242,7 +249,8 @@ exports[`test renders ./components/form/demo/coordinated.md correctly 1`] = `
class="ant-col-4 ant-form-item-label">
<label
class="ant-form-item-required"
for="gender">
for="gender"
title="Gender">
Gender
</label>
</div>
@ -308,7 +316,8 @@ exports[`test renders ./components/form/demo/customized-form-controls.md correct
class="ant-form-item-label">
<label
class=""
for="price">
for="price"
title="Price">
Price
</label>
</div>
@ -436,7 +445,8 @@ exports[`test renders ./components/form/demo/global-state.md correctly 1`] = `
class="ant-form-item-label">
<label
class="ant-form-item-required"
for="username">
for="username"
title="Username">
Username
</label>
</div>
@ -544,7 +554,8 @@ exports[`test renders ./components/form/demo/layout.md correctly 1`] = `
<div
class="ant-col-4 ant-form-item-label">
<label
class="">
class=""
title="Form Layout">
Form Layout
</label>
</div>
@ -606,7 +617,8 @@ exports[`test renders ./components/form/demo/layout.md correctly 1`] = `
<div
class="ant-col-4 ant-form-item-label">
<label
class="">
class=""
title="Field A">
Field A
</label>
</div>
@ -626,7 +638,8 @@ exports[`test renders ./components/form/demo/layout.md correctly 1`] = `
<div
class="ant-col-4 ant-form-item-label">
<label
class="">
class=""
title="Field B">
Field B
</label>
</div>
@ -763,7 +776,8 @@ exports[`test renders ./components/form/demo/register.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class="ant-form-item-required"
for="email">
for="email"
title="E-mail">
E-mail
</label>
</div>
@ -786,7 +800,8 @@ exports[`test renders ./components/form/demo/register.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class="ant-form-item-required"
for="password">
for="password"
title="Password">
Password
</label>
</div>
@ -809,7 +824,8 @@ exports[`test renders ./components/form/demo/register.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class="ant-form-item-required"
for="confirm">
for="confirm"
title="Confirm Password">
Confirm Password
</label>
</div>
@ -832,7 +848,8 @@ exports[`test renders ./components/form/demo/register.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class="ant-form-item-required"
for="nickname">
for="nickname"
title="">
<span>
Nickname 
<i
@ -859,7 +876,8 @@ exports[`test renders ./components/form/demo/register.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class="ant-form-item-required"
for="residence">
for="residence"
title="Habitual Residence">
Habitual Residence
</label>
</div>
@ -896,7 +914,8 @@ exports[`test renders ./components/form/demo/register.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class="ant-form-item-required"
for="phone">
for="phone"
title="Phone Number">
Phone Number
</label>
</div>
@ -952,7 +971,8 @@ exports[`test renders ./components/form/demo/register.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class="ant-form-item-required"
for="captcha">
for="captcha"
title="Captcha">
Captcha
</label>
</div>
@ -1047,7 +1067,8 @@ exports[`test renders ./components/form/demo/time-related-controls.md correctly
class="ant-col-8 ant-form-item-label">
<label
class="ant-form-item-required"
for="date-picker">
for="date-picker"
title="DatePicker">
DatePicker
</label>
</div>
@ -1076,7 +1097,8 @@ exports[`test renders ./components/form/demo/time-related-controls.md correctly
class="ant-col-8 ant-form-item-label">
<label
class="ant-form-item-required"
for="date-time-picker">
for="date-time-picker"
title="DatePicker[showTime]">
DatePicker[showTime]
</label>
</div>
@ -1106,7 +1128,8 @@ exports[`test renders ./components/form/demo/time-related-controls.md correctly
class="ant-col-8 ant-form-item-label">
<label
class="ant-form-item-required"
for="month-picker">
for="month-picker"
title="MonthPicker">
MonthPicker
</label>
</div>
@ -1135,7 +1158,8 @@ exports[`test renders ./components/form/demo/time-related-controls.md correctly
class="ant-col-8 ant-form-item-label">
<label
class="ant-form-item-required"
for="range-picker">
for="range-picker"
title="RangePicker">
RangePicker
</label>
</div>
@ -1174,7 +1198,8 @@ exports[`test renders ./components/form/demo/time-related-controls.md correctly
class="ant-col-8 ant-form-item-label">
<label
class="ant-form-item-required"
for="range-time-picker">
for="range-time-picker"
title="RangePicker[showTime]">
RangePicker[showTime]
</label>
</div>
@ -1214,7 +1239,8 @@ exports[`test renders ./components/form/demo/time-related-controls.md correctly
class="ant-col-8 ant-form-item-label">
<label
class="ant-form-item-required"
for="time-picker">
for="time-picker"
title="TimePicker">
TimePicker
</label>
</div>
@ -1263,7 +1289,8 @@ exports[`test renders ./components/form/demo/validate-other.md correctly 1`] = `
<div
class="ant-col-6 ant-form-item-label">
<label
class="">
class=""
title="Nation">
Nation
</label>
</div>
@ -1284,7 +1311,8 @@ exports[`test renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class="ant-form-item-required"
for="select">
for="select"
title="Select">
Select
</label>
</div>
@ -1328,7 +1356,8 @@ exports[`test renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class="ant-form-item-required"
for="select-multiple">
for="select-multiple"
title="Select[multiple]">
Select[multiple]
</label>
</div>
@ -1378,7 +1407,8 @@ exports[`test renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class=""
for="input-number">
for="input-number"
title="InputNumber">
InputNumber
</label>
</div>
@ -1428,7 +1458,8 @@ exports[`test renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class=""
for="switch">
for="switch"
title="Switch">
Switch
</label>
</div>
@ -1453,7 +1484,8 @@ exports[`test renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class=""
for="slider">
for="slider"
title="Slider">
Slider
</label>
</div>
@ -1535,7 +1567,8 @@ exports[`test renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class=""
for="radio-group">
for="radio-group"
title="Radio.Group">
Radio.Group
</label>
</div>
@ -1597,7 +1630,8 @@ exports[`test renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class=""
for="radio-button">
for="radio-button"
title="Radio.Button">
Radio.Button
</label>
</div>
@ -1659,7 +1693,8 @@ exports[`test renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-col-6 ant-form-item-label">
<label
class=""
for="upload">
for="upload"
title="Upload">
Upload
</label>
</div>
@ -1709,7 +1744,8 @@ exports[`test renders ./components/form/demo/validate-static.md correctly 1`] =
<div
class="ant-col-5 ant-form-item-label">
<label
class="">
class=""
title="Fail">
Fail
</label>
</div>
@ -1734,7 +1770,8 @@ exports[`test renders ./components/form/demo/validate-static.md correctly 1`] =
<div
class="ant-col-5 ant-form-item-label">
<label
class="">
class=""
title="Warning">
Warning
</label>
</div>
@ -1755,7 +1792,8 @@ exports[`test renders ./components/form/demo/validate-static.md correctly 1`] =
<div
class="ant-col-5 ant-form-item-label">
<label
class="">
class=""
title="Validating">
Validating
</label>
</div>
@ -1780,7 +1818,8 @@ exports[`test renders ./components/form/demo/validate-static.md correctly 1`] =
<div
class="ant-col-5 ant-form-item-label">
<label
class="">
class=""
title="Success">
Success
</label>
</div>
@ -1801,7 +1840,8 @@ exports[`test renders ./components/form/demo/validate-static.md correctly 1`] =
<div
class="ant-col-5 ant-form-item-label">
<label
class="">
class=""
title="Warning">
Warning
</label>
</div>
@ -1822,7 +1862,8 @@ exports[`test renders ./components/form/demo/validate-static.md correctly 1`] =
<div
class="ant-col-5 ant-form-item-label">
<label
class="">
class=""
title="Fail">
Fail
</label>
</div>
@ -1847,7 +1888,8 @@ exports[`test renders ./components/form/demo/validate-static.md correctly 1`] =
<div
class="ant-col-5 ant-form-item-label">
<label
class="">
class=""
title="inline">
inline
</label>
</div>
@ -1930,7 +1972,8 @@ exports[`test renders ./components/form/demo/without-form-create.md correctly 1`
<div
class="ant-col-7 ant-form-item-label">
<label
class="">
class=""
title="Prime between 8 & 12">
Prime between 8 & 12
</label>
</div>

View File

@ -819,7 +819,8 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
<div
class="ant-form-item-label">
<label
class="">
class=""
title="Bordered">
Bordered
</label>
</div>
@ -841,7 +842,8 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
<div
class="ant-form-item-label">
<label
class="">
class=""
title="loading">
loading
</label>
</div>
@ -863,7 +865,8 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
<div
class="ant-form-item-label">
<label
class="">
class=""
title="Pagination">
Pagination
</label>
</div>
@ -886,7 +889,8 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
<div
class="ant-form-item-label">
<label
class="">
class=""
title="Title">
Title
</label>
</div>
@ -909,7 +913,8 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
<div
class="ant-form-item-label">
<label
class="">
class=""
title="Column Header">
Column Header
</label>
</div>
@ -932,7 +937,8 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
<div
class="ant-form-item-label">
<label
class="">
class=""
title="Footer">
Footer
</label>
</div>
@ -955,7 +961,8 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
<div
class="ant-form-item-label">
<label
class="">
class=""
title="Expandable">
Expandable
</label>
</div>
@ -978,7 +985,8 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
<div
class="ant-form-item-label">
<label
class="">
class=""
title="Checkbox">
Checkbox
</label>
</div>
@ -1001,7 +1009,8 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
<div
class="ant-form-item-label">
<label
class="">
class=""
title="Fixed Header">
Fixed Header
</label>
</div>
@ -1023,7 +1032,8 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
<div
class="ant-form-item-label">
<label
class="">
class=""
title="Size">
Size
</label>
</div>