Browse Source

test: fix CI

pull/6029/head
Benjy Cui 8 years ago
parent
commit
0d672d5c2d
  1. 74
      components/form/__tests__/__snapshots__/demo.test.js.snap
  2. 11
      components/notification/__tests__/__snapshots__/demo.test.js.snap
  3. 1
      components/select/style/index.less

74
components/form/__tests__/__snapshots__/demo.test.js.snap

@ -1208,6 +1208,80 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
</div>
</div>
</div>
<div
class="ant-row ant-form-item"
>
<div
class="ant-form-item-label ant-col-xs-24 ant-col-sm-6"
>
<label
class="ant-form-item-required"
for="website"
title="Website"
>
Website
</label>
</div>
<div
class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-14"
>
<div
class="ant-form-item-control "
>
<div
class="ant-select-lg ant-select-lg ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
>
<div
aria-autocomplete="list"
aria-expanded="false"
aria-haspopup="true"
class="ant-select-selection
ant-select-selection--single"
role="combobox"
>
<div
class="ant-select-selection__rendered"
>
<div
class="ant-select-selection__placeholder"
style="display:block;user-select:none;-webkit-user-select:none;"
unselectable="unselectable"
>
website
</div>
<ul>
<li
class="ant-select-search ant-select-search--inline"
>
<div
class="ant-select-search__field__wrap"
>
<input
class="ant-input ant-input ant-select-search__field"
type="text"
value=""
/>
<span
class="ant-select-search__field__mirror"
>
 
</span>
</div>
</li>
</ul>
</div>
<span
class="ant-select-arrow"
style="user-select:none;-webkit-user-select:none;"
unselectable="unselectable"
>
<b />
</span>
</div>
</div>
</div>
</div>
</div>
<div
class="ant-row ant-form-item"
>

11
components/notification/__tests__/__snapshots__/demo.test.js.snap

@ -22,6 +22,17 @@ exports[`renders ./components/notification/demo/custom-icon.md correctly 1`] = `
</button>
`;
exports[`renders ./components/notification/demo/custom-style.md correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
type="button"
>
<span>
Open the notification box
</span>
</button>
`;
exports[`renders ./components/notification/demo/duration.md correctly 1`] = `
<button
class="ant-btn ant-btn-primary"

1
components/select/style/index.less

@ -248,6 +248,7 @@
}
.@{select-prefix-cls}-search__field {
// https://github.com/ant-design/ant-design/pull/6018
border: 0 @border-style-base @border-color-base;
font-size: 100%;
height: 100%;

Loading…
Cancel
Save