From 14b1555ee32742d52c891861b5e066716786d191 Mon Sep 17 00:00:00 2001 From: Vladimir Saric <92527393+VSaric@users.noreply.github.com> Date: Mon, 13 Mar 2023 18:40:43 +0100 Subject: [PATCH] Display internet protocol on the domain in SIWE screen (#18052) --- test/e2e/tests/signin-with-ethereum.spec.js | 2 +- .../app/signature-request-siwe/signature-request-siwe.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/tests/signin-with-ethereum.spec.js b/test/e2e/tests/signin-with-ethereum.spec.js index 938d2741c..bbef37b6b 100644 --- a/test/e2e/tests/signin-with-ethereum.spec.js +++ b/test/e2e/tests/signin-with-ethereum.spec.js @@ -51,7 +51,7 @@ describe('Sign in with ethereum', function () { ); const origin = await driver.findElement('.site-origin'); 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( '.permissions-connect-header__subtitle', diff --git a/ui/components/app/signature-request-siwe/signature-request-siwe.js b/ui/components/app/signature-request-siwe/signature-request-siwe.js index 49c8e1cc0..9aae89228 100644 --- a/ui/components/app/signature-request-siwe/signature-request-siwe.js +++ b/ui/components/app/signature-request-siwe/signature-request-siwe.js @@ -86,7 +86,7 @@ export default function SignatureRequestSIWE({