diff options
author | Vitaly Takmazov | 2019-04-07 23:30:05 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:54 +0300 |
commit | c869329d6e961a9758a4671b9a2f1872e909b1e4 (patch) | |
tree | 794c5fe4716bd16a9c686d0c11ad417010bf9839 /vnext/src/components/__tests__/__snapshots__ | |
parent | 84c84cb7cb7a95122ef59cfb2699c927c1ba95b8 (diff) |
Fix tests and update snapshots
Diffstat (limited to 'vnext/src/components/__tests__/__snapshots__')
-rw-r--r-- | vnext/src/components/__tests__/__snapshots__/LoginButton.test.js.snap | 28 | ||||
-rw-r--r-- | vnext/src/components/__tests__/__snapshots__/UserLink.test.js.snap | 1 |
2 files changed, 11 insertions, 18 deletions
diff --git a/vnext/src/components/__tests__/__snapshots__/LoginButton.test.js.snap b/vnext/src/components/__tests__/__snapshots__/LoginButton.test.js.snap index e5c4ebe5..e2e36e24 100644 --- a/vnext/src/components/__tests__/__snapshots__/LoginButton.test.js.snap +++ b/vnext/src/components/__tests__/__snapshots__/LoginButton.test.js.snap @@ -49,17 +49,6 @@ Array [ </a>, <div id="dialogt" - style={ - Object { - "backgroundColor": "rgba(0, 0, 0, 0.3)", - "bottom": 0, - "left": 0, - "padding": 50, - "position": "fixed", - "right": 0, - "top": 0, - } - } > <div id="dialogw" @@ -156,8 +145,9 @@ Array [ onSubmit={[Function]} > <input - className="signinput" + class="input" name="username" + onBlur={[Function]} onChange={[Function]} placeholder="Username..." type="text" @@ -165,19 +155,21 @@ Array [ /> <br /> <input - className="signinput" + class="input" name="password" + onBlur={[Function]} onChange={[Function]} placeholder="Password..." type="password" value="" /> <br /> - <input - className="signsubmit" - type="submit" - value="OK" - /> + <button + className="Button" + onClick={[Function]} + > + OK + </button> </form> </div> </div> diff --git a/vnext/src/components/__tests__/__snapshots__/UserLink.test.js.snap b/vnext/src/components/__tests__/__snapshots__/UserLink.test.js.snap index 996e592a..15e25367 100644 --- a/vnext/src/components/__tests__/__snapshots__/UserLink.test.js.snap +++ b/vnext/src/components/__tests__/__snapshots__/UserLink.test.js.snap @@ -23,6 +23,7 @@ Array [ ugnich </a>, <a + className="info-avatar" href="https://example.com/u/test" > <img /> |