Skip to content

Commit

Permalink
Add demo snap
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Dec 13, 2016
1 parent 6c99f3a commit 7cf4192
Showing 1 changed file with 89 additions and 0 deletions.
89 changes: 89 additions & 0 deletions tests/form/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,95 @@ exports[`test renders ./components/form/demo/advanced-search.md correctly 1`] =
</div>
`;

exports[`test renders ./components/form/demo/coordinated.md correctly 1`] = `
<form
class="ant-form">
<div
class="ant-row ant-form-item">
<div
class="ant-col-4 ant-form-item-label">
<label
class="ant-form-item-required"
for="note">
Note
</label>
</div>
<div
class="ant-col-8">
<div
class="ant-form-item-control ">
<input
class="ant-input ant-input-lg"
data-__meta="[object Object]"
id="note"
type="text"
value="" />
</div>
</div>
</div>
<div
class="ant-row ant-form-item">
<div
class="ant-col-4 ant-form-item-label">
<label
class="ant-form-item-required"
for="gender">
Gender
</label>
</div>
<div
class="ant-col-8">
<div
class="ant-form-item-control ">
<div
class="ant-select-lg ant-select ant-select-enabled">
<div
aria-autocomplete="list"
aria-expanded="false"
aria-haspopup="true"
class="ant-select-selection
ant-select-selection--single"
role="combobox"
tabindex="0">
<div
class="ant-select-selection__rendered">
<div
class="ant-select-selection__placeholder"
style="display:block;user-select:none;-webkit-user-select:none;"
unselectable="unselectable">
Select a option and change input text above
</div>
</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">
<div
class="ant-col-8 ant-col-offset-4">
<div
class="ant-form-item-control ">
<button
class="ant-btn ant-btn-primary ant-btn-lg"
type="submit">
<span>
Submit
</span>
</button>
</div>
</div>
</div>
</form>
`;

exports[`test renders ./components/form/demo/customized-form-controls.md correctly 1`] = `
<form
class="ant-form ant-form-inline">
Expand Down

0 comments on commit 7cf4192

Please sign in to comment.