[web] Update test.

This commit is contained in:
Matthew Shao 2017-07-07 10:20:12 +08:00
parent 30fbcfa355
commit 1cc143d502

View File

@ -47,25 +47,38 @@ exports[`Modal Component should render correctly 2`] = `
className="modal-body" className="modal-body"
> >
<div <div
className="menu-entry" className="container-fluid"
>
<div
className="row"
>
<div
className="col-sm-8"
> >
<label>
booleanOption booleanOption
</div>
<div
className="col-sm-4"
>
<input <input
checked={false} checked={false}
onChange={[Function]} onChange={[Function]}
title="foo" title="foo"
type="checkbox" type="checkbox"
/> />
</label> </div>
</div> </div>
<div <div
className="menu-entry" className="row"
> >
<label <div
htmlFor="" className="col-sm-8"
> >
choiceOption choiceOption
</div>
<div
className="col-sm-4"
>
<select <select
name="choiceOption" name="choiceOption"
onChange={[Function]} onChange={[Function]}
@ -94,13 +107,19 @@ exports[`Modal Component should render correctly 2`] = `
</option> </option>
</select> </select>
</label> </div>
</div> </div>
<div <div
className="menu-entry" className="row"
>
<div
className="col-sm-8"
> >
<label>
intOption intOption
</div>
<div
className="col-sm-4"
>
<input <input
onChange={[Function]} onChange={[Function]}
onKeyDown={[Function]} onKeyDown={[Function]}
@ -108,13 +127,19 @@ exports[`Modal Component should render correctly 2`] = `
type="number" type="number"
value={1} value={1}
/> />
</label> </div>
</div> </div>
<div <div
className="menu-entry" className="row"
>
<div
className="col-sm-8"
> >
<label>
strOption strOption
</div>
<div
className="col-sm-4"
>
<input <input
onChange={[Function]} onChange={[Function]}
onKeyDown={[Function]} onKeyDown={[Function]}
@ -122,19 +147,13 @@ exports[`Modal Component should render correctly 2`] = `
type="text" type="text"
value="str content" value="str content"
/> />
</label> </div>
</div>
</div> </div>
</div> </div>
<div <div
className="modal-footer" className="modal-footer"
> />
<button
className="btn btn-primary"
type="button"
>
Save Changes
</button>
</div>
</div> </div>
</div> </div>
</div> </div>