Skip to content

Commit e6e4b01

Browse files
committed
Update
1 parent b5cf701 commit e6e4b01

File tree

1 file changed

+177
-0
lines changed

1 file changed

+177
-0
lines changed
Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`Confirm should match snapshot for personal signature 1`] = `
4+
<div>
5+
<div
6+
class="mm-box mm-box--display-flex mm-box--flex-direction-column mm-box--justify-content-space-between mm-box--width-full mm-box--height-full mm-box--background-color-background-alternative"
7+
>
8+
<div
9+
class="mm-box"
10+
>
11+
<div
12+
class="mm-box confirm_header__wrapper mm-box--padding-4 mm-box--display-flex mm-box--align-items-center"
13+
>
14+
<div
15+
class="mm-box mm-box--display-flex"
16+
>
17+
<div
18+
class=""
19+
>
20+
<div
21+
class="identicon"
22+
style="height: 32px; width: 32px; border-radius: 16px;"
23+
>
24+
<div
25+
style="border-radius: 50px; overflow: hidden; padding: 0px; margin: 0px; width: 32px; height: 32px; display: inline-block; background: rgb(3, 73, 94);"
26+
>
27+
<svg
28+
height="32"
29+
width="32"
30+
x="0"
31+
y="0"
32+
>
33+
<rect
34+
fill="#FB184D"
35+
height="32"
36+
transform="translate(-0.010232866814926739 -2.467961361206475) rotate(274.3 16 16)"
37+
width="32"
38+
x="0"
39+
y="0"
40+
/>
41+
<rect
42+
fill="#1888F2"
43+
height="32"
44+
transform="translate(0.7019171336752298 13.759175028660584) rotate(203.5 16 16)"
45+
width="32"
46+
x="0"
47+
y="0"
48+
/>
49+
<rect
50+
fill="#FA8900"
51+
height="32"
52+
transform="translate(28.820219003567207 11.830135279564011) rotate(192.7 16 16)"
53+
width="32"
54+
x="0"
55+
y="0"
56+
/>
57+
</svg>
58+
</div>
59+
</div>
60+
</div>
61+
<div
62+
class="mm-box mm-text mm-avatar-base mm-avatar-base--size-xs mm-avatar-network confirm_header__avatar-network mm-text--body-xs mm-text--text-transform-uppercase mm-box--display-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-text-default mm-box--background-color-background-alternative mm-box--rounded-full mm-box--border-color-transparent box--border-style-solid box--border-width-1"
63+
>
64+
C
65+
</div>
66+
</div>
67+
<div
68+
class="mm-box mm-box--margin-inline-start-4"
69+
>
70+
<p
71+
class="mm-box mm-text mm-text--body-md mm-box--color-text-default"
72+
/>
73+
<p
74+
class="mm-box mm-text mm-text--body-md mm-box--color-text-alternative"
75+
>
76+
Chain 5
77+
</p>
78+
</div>
79+
</div>
80+
<div
81+
class="mm-box mm-box--padding-inline-4"
82+
>
83+
<h2
84+
class="mm-box mm-text mm-text--heading-lg mm-text--text-align-center mm-box--padding-top-4 mm-box--padding-bottom-2 mm-box--color-text-default"
85+
>
86+
Signature request
87+
</h2>
88+
<p
89+
class="mm-box mm-text mm-text--body-md mm-text--text-align-center mm-box--padding-bottom-4 mm-box--color-text-alternative"
90+
>
91+
Only sign this message if you fully understand the content and trust the requesting site
92+
</p>
93+
<div
94+
class="mm-box mm-box--margin-bottom-4 mm-box--padding-2 mm-box--background-color-background-default mm-box--rounded-md"
95+
>
96+
<div
97+
class="mm-box mm-box--display-flex mm-box--flex-direction-column mm-box--background-color-background-default mm-box--rounded-lg"
98+
>
99+
<div
100+
class="mm-box confirm-info-row mm-box--margin-top-2 mm-box--margin-bottom-2 mm-box--padding-right-2 mm-box--padding-left-2 mm-box--display-flex mm-box--flex-direction-row mm-box--flex-wrap-wrap mm-box--justify-content-space-between mm-box--color-text-default mm-box--rounded-lg"
101+
style="overflow-wrap: anywhere; min-height: 24px;"
102+
>
103+
<div
104+
class="mm-box mm-box--display-flex mm-box--flex-direction-row mm-box--justify-content-center mm-box--align-items-center"
105+
>
106+
<p
107+
class="mm-box mm-text mm-text--body-md-medium mm-box--color-inherit"
108+
>
109+
Origin
110+
</p>
111+
</div>
112+
<div
113+
class="mm-box mm-box--display-flex mm-box--flex-wrap-wrap mm-box--align-items-center"
114+
style="column-gap: 8px;"
115+
>
116+
<p
117+
class="mm-box mm-text mm-text--body-md mm-box--color-inherit"
118+
>
119+
https://metamask.github.io
120+
</p>
121+
</div>
122+
</div>
123+
</div>
124+
</div>
125+
<div
126+
class="mm-box mm-box--margin-bottom-4 mm-box--padding-2 mm-box--background-color-background-default mm-box--rounded-md"
127+
>
128+
<div
129+
class="mm-box mm-box--display-flex mm-box--flex-direction-column mm-box--background-color-background-default mm-box--rounded-lg"
130+
>
131+
<div
132+
class="mm-box confirm-info-row mm-box--margin-top-2 mm-box--margin-bottom-2 mm-box--padding-right-2 mm-box--padding-left-2 mm-box--display-flex mm-box--flex-direction-row mm-box--flex-wrap-wrap mm-box--justify-content-space-between mm-box--color-text-default mm-box--rounded-lg"
133+
style="overflow-wrap: anywhere; min-height: 24px;"
134+
>
135+
<div
136+
class="mm-box mm-box--display-flex mm-box--flex-direction-row mm-box--justify-content-center mm-box--align-items-center"
137+
>
138+
<p
139+
class="mm-box mm-text mm-text--body-md-medium mm-box--color-inherit"
140+
>
141+
Message
142+
</p>
143+
</div>
144+
<div
145+
class="mm-box mm-box--display-flex mm-box--flex-wrap-wrap mm-box--align-items-center"
146+
style="column-gap: 8px;"
147+
>
148+
<p
149+
class="mm-box mm-text mm-text--body-md mm-box--color-inherit"
150+
>
151+
Example \`personal_sign\` message
152+
</p>
153+
</div>
154+
</div>
155+
</div>
156+
</div>
157+
</div>
158+
</div>
159+
<div
160+
class="mm-box multichain-page-footer mm-box--padding-4 mm-box--display-flex mm-box--gap-4 mm-box--width-full"
161+
>
162+
<button
163+
class="mm-box mm-text mm-button-base mm-button-base--size-lg mm-button-base--block mm-button-secondary mm-text--body-md-medium mm-box--padding-0 mm-box--padding-right-4 mm-box--padding-left-4 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-primary-default mm-box--background-color-transparent mm-box--rounded-pill mm-box--border-color-primary-default box--border-style-solid box--border-width-1"
164+
data-testid="confirm-footer-cancel-button"
165+
>
166+
Cancel
167+
</button>
168+
<button
169+
class="mm-box mm-text mm-button-base mm-button-base--size-lg mm-button-base--block mm-button-primary mm-text--body-md-medium mm-box--padding-0 mm-box--padding-right-4 mm-box--padding-left-4 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-primary-inverse mm-box--background-color-primary-default mm-box--rounded-pill"
170+
data-testid="confirm-footer-confirm-button"
171+
>
172+
Confirm
173+
</button>
174+
</div>
175+
</div>
176+
</div>
177+
`;

0 commit comments

Comments
 (0)