summaryrefslogtreecommitdiffstats
path: root/test/react/__snapshots__/Input.spec.js.snap
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2018-05-21 20:19:48 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-21 20:19:48 +0000
commit05b37297177e8a342668c15e5d6f738b51f7aedd (patch)
treee236c96df52a13f935292db8aa73e84d0c41ad8a /test/react/__snapshots__/Input.spec.js.snap
parent884dfb789593d2a3cc319047ab1f0215778aec9f (diff)
parent1994c98063c27a41797dec01f2ca9fcbe33ceab0 (diff)
Merge "init commit onap ui"2.0.0-ONAPbeijing2.0.0-ONAP
Diffstat (limited to 'test/react/__snapshots__/Input.spec.js.snap')
-rw-r--r--test/react/__snapshots__/Input.spec.js.snap179
1 files changed, 179 insertions, 0 deletions
diff --git a/test/react/__snapshots__/Input.spec.js.snap b/test/react/__snapshots__/Input.spec.js.snap
new file mode 100644
index 0000000..62c3e2e
--- /dev/null
+++ b/test/react/__snapshots__/Input.spec.js.snap
@@ -0,0 +1,179 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Input Input - default 1`] = `
+<div
+ className="sdc-input "
+>
+ <label
+ className="sdc-input__label "
+ htmlFor="clickme"
+ >
+ label for input
+ </label>
+ <input
+ className="sdc-input__input "
+ data-test-id={undefined}
+ disabled={false}
+ id="clickme"
+ name="clickme"
+ onBlur={[Function]}
+ onChange={[Function]}
+ onKeyDown={[Function]}
+ placeholder={undefined}
+ readOnly={false}
+ type="text"
+ value={undefined}
+ />
+</div>
+`;
+
+exports[`Input Input - error 1`] = `
+<div
+ className="sdc-input "
+>
+ <label
+ className="sdc-input__label "
+ htmlFor="clickme"
+ >
+ label for input
+ </label>
+ <input
+ className="sdc-input__input error "
+ data-test-id={undefined}
+ disabled={false}
+ id="clickme"
+ name="clickme"
+ onBlur={[Function]}
+ onChange={[Function]}
+ onKeyDown={[Function]}
+ placeholder={undefined}
+ readOnly={false}
+ type="text"
+ value={undefined}
+ />
+ <div
+ className="sdc-label__error"
+ >
+ <div
+ className="svg-icon-wrapper __negative right"
+ disabled={undefined}
+ onClick={undefined}
+ >
+ <svg />
+ <span
+ className="svg-icon-label "
+ >
+ this is an error
+ </span>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Input Input - number 1`] = `
+<div
+ className="sdc-input "
+>
+ <label
+ className="sdc-input__label "
+ htmlFor="clickme"
+ >
+ label for input
+ </label>
+ <input
+ className="sdc-input__input "
+ data-test-id={undefined}
+ disabled={false}
+ id="clickme"
+ name="clickme"
+ onBlur={[Function]}
+ onChange={[Function]}
+ onKeyDown={[Function]}
+ placeholder={undefined}
+ readOnly={false}
+ type="number"
+ value={undefined}
+ />
+</div>
+`;
+
+exports[`Input Input - placeholder 1`] = `
+<div
+ className="sdc-input "
+>
+ <label
+ className="sdc-input__label "
+ htmlFor="clickme"
+ >
+ label for input
+ </label>
+ <input
+ className="sdc-input__input "
+ data-test-id={undefined}
+ disabled={false}
+ id="clickme"
+ name="clickme"
+ onBlur={[Function]}
+ onChange={[Function]}
+ onKeyDown={[Function]}
+ placeholder="hint"
+ readOnly={false}
+ type="text"
+ value={undefined}
+ />
+</div>
+`;
+
+exports[`Input Input - readonly 1`] = `
+<div
+ className="sdc-input "
+>
+ <label
+ className="sdc-input__label view-only "
+ htmlFor="clickme"
+ >
+ label for input
+ </label>
+ <input
+ className="sdc-input__input view-only"
+ data-test-id={undefined}
+ disabled={false}
+ id="clickme"
+ name="clickme"
+ onBlur={[Function]}
+ onChange={[Function]}
+ onKeyDown={[Function]}
+ placeholder={undefined}
+ readOnly={true}
+ type="text"
+ value={undefined}
+ />
+</div>
+`;
+
+exports[`Input Input - required 1`] = `
+<div
+ className="sdc-input "
+>
+ <label
+ className="sdc-input__label "
+ htmlFor="clickme"
+ >
+ label for input
+ </label>
+ <input
+ className="sdc-input__input "
+ data-test-id={undefined}
+ disabled={false}
+ id="clickme"
+ name="clickme"
+ onBlur={[Function]}
+ onChange={[Function]}
+ onKeyDown={[Function]}
+ placeholder={undefined}
+ readOnly={false}
+ type="text"
+ value={undefined}
+ />
+</div>
+`;