[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,94 +47,113 @@ exports[`Modal Component should render correctly 2`] = `
className="modal-body" className="modal-body"
> >
<div <div
className="menu-entry" className="container-fluid"
> >
<label> <div
booleanOption className="row"
<input
checked={false}
onChange={[Function]}
title="foo"
type="checkbox"
/>
</label>
</div>
<div
className="menu-entry"
>
<label
htmlFor=""
> >
choiceOption <div
<select className="col-sm-8"
name="choiceOption"
onChange={[Function]}
selected="b"
title="foo"
> >
<option booleanOption
value="a" </div>
<div
className="col-sm-4"
>
<input
checked={false}
onChange={[Function]}
title="foo"
type="checkbox"
/>
</div>
</div>
<div
className="row"
>
<div
className="col-sm-8"
>
choiceOption
</div>
<div
className="col-sm-4"
>
<select
name="choiceOption"
onChange={[Function]}
selected="b"
title="foo"
> >
<option
a value="a"
>
</option>
<option a
value="b"
> </option>
<option
b value="b"
>
</option>
<option b
value="c"
> </option>
<option
c value="c"
>
</option>
</select> c
</label>
</div> </option>
<div </select>
className="menu-entry" </div>
> </div>
<label> <div
intOption className="row"
<input >
onChange={[Function]} <div
onKeyDown={[Function]} className="col-sm-8"
title="foo" >
type="number" intOption
value={1} </div>
/> <div
</label> className="col-sm-4"
</div> >
<div <input
className="menu-entry" onChange={[Function]}
> onKeyDown={[Function]}
<label> title="foo"
strOption type="number"
<input value={1}
onChange={[Function]} />
onKeyDown={[Function]} </div>
title="foo" </div>
type="text" <div
value="str content" className="row"
/> >
</label> <div
className="col-sm-8"
>
strOption
</div>
<div
className="col-sm-4"
>
<input
onChange={[Function]}
onKeyDown={[Function]}
title="foo"
type="text"
value="str content"
/>
</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>