mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Display internet protocol on the domain in SIWE screen (#18052)
This commit is contained in:
parent
29674537e8
commit
14b1555ee3
@ -51,7 +51,7 @@ describe('Sign in with ethereum', function () {
|
|||||||
);
|
);
|
||||||
const origin = await driver.findElement('.site-origin');
|
const origin = await driver.findElement('.site-origin');
|
||||||
assert.equal(await title.getText(), 'Sign-in request');
|
assert.equal(await title.getText(), 'Sign-in request');
|
||||||
assert.equal(await origin.getText(), '127.0.0.1:8080');
|
assert.equal(await origin.getText(), 'http://127.0.0.1:8080');
|
||||||
|
|
||||||
const displayedMessageTitle = await driver.findElement(
|
const displayedMessageTitle = await driver.findElement(
|
||||||
'.permissions-connect-header__subtitle',
|
'.permissions-connect-header__subtitle',
|
||||||
|
@ -86,7 +86,7 @@ export default function SignatureRequestSIWE({
|
|||||||
<div className="signature-request-siwe">
|
<div className="signature-request-siwe">
|
||||||
<Header
|
<Header
|
||||||
fromAccount={fromAccount}
|
fromAccount={fromAccount}
|
||||||
domain={parsedMessage.domain}
|
domain={origin}
|
||||||
isSIWEDomainValid={isSIWEDomainValid}
|
isSIWEDomainValid={isSIWEDomainValid}
|
||||||
subjectMetadata={targetSubjectMetadata}
|
subjectMetadata={targetSubjectMetadata}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user