From d2dc4a62c4f71654afb719a779b428cd85f53918 Mon Sep 17 00:00:00 2001 From: Erik Marks Date: Tue, 3 Nov 2020 21:35:03 -0800 Subject: [PATCH 1/3] @metamask/test-dapp@4.0.0 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index bdd39471f..9ed7f09e5 100644 --- a/package.json +++ b/package.json @@ -186,7 +186,7 @@ "@babel/register": "^7.5.5", "@metamask/eslint-config": "^4.1.0", "@metamask/forwarder": "^1.1.0", - "@metamask/test-dapp": "^3.2.0", + "@metamask/test-dapp": "4.0.0", "@sentry/cli": "^1.58.0", "@storybook/addon-actions": "^5.3.14", "@storybook/addon-backgrounds": "^5.3.14", diff --git a/yarn.lock b/yarn.lock index fab2cfbb7..f2092e67a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2331,10 +2331,10 @@ gl-mat4 "1.1.4" gl-vec3 "1.0.3" -"@metamask/test-dapp@^3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@metamask/test-dapp/-/test-dapp-3.2.0.tgz#b0fb8b75519585b38fec8ecd527fa54257e6411d" - integrity sha512-FLhImScxbkI+SuhF7o9D3J2yxYUBTHrg+erlHqBA8lYZelSWDPczgGuIO8XzLIpj+p5a6BT6hM+0IFWmOP14mA== +"@metamask/test-dapp@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@metamask/test-dapp/-/test-dapp-4.0.0.tgz#dc9c5c089435da65c4ba708f141177b842fa444c" + integrity sha512-03nNWoCqRIILtSeMvXrsb96ko3tpA1chgP3+k2LEb21gAGvuPsfxaALMpNPkDPXwqKlqyzU59x2ksQMDAJsPhg== "@mrmlnc/readdir-enhanced@^2.2.1": version "2.2.1" From dce699de9e225f3540c8739c2944b183ac658e2b Mon Sep 17 00:00:00 2001 From: Erik Marks Date: Tue, 3 Nov 2020 21:51:59 -0800 Subject: [PATCH 2/3] Use signTypedDataV4 instead of signTypedData in e2e tests --- test/e2e/signature-request.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/signature-request.spec.js b/test/e2e/signature-request.spec.js index 45087c03c..5857f175b 100644 --- a/test/e2e/signature-request.spec.js +++ b/test/e2e/signature-request.spec.js @@ -102,7 +102,7 @@ describe('MetaMask', function () { }) it('creates a sign typed data signature request', async function () { - await driver.clickElement(By.id('signTypedData'), 10000) + await driver.clickElement(By.id('signTypedDataV4'), 10000) await driver.delay(largeDelayMs) await driver.delay(regularDelayMs) From a6f676764fdb59d050e5b0526b4e762b526997c2 Mon Sep 17 00:00:00 2001 From: Erik Marks Date: Wed, 4 Nov 2020 10:17:10 -0800 Subject: [PATCH 3/3] @metamask/test-dapp@4.0.1 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 9ed7f09e5..a53d63aeb 100644 --- a/package.json +++ b/package.json @@ -186,7 +186,7 @@ "@babel/register": "^7.5.5", "@metamask/eslint-config": "^4.1.0", "@metamask/forwarder": "^1.1.0", - "@metamask/test-dapp": "4.0.0", + "@metamask/test-dapp": "^4.0.1", "@sentry/cli": "^1.58.0", "@storybook/addon-actions": "^5.3.14", "@storybook/addon-backgrounds": "^5.3.14", diff --git a/yarn.lock b/yarn.lock index f2092e67a..c0785fbbe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2331,10 +2331,10 @@ gl-mat4 "1.1.4" gl-vec3 "1.0.3" -"@metamask/test-dapp@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@metamask/test-dapp/-/test-dapp-4.0.0.tgz#dc9c5c089435da65c4ba708f141177b842fa444c" - integrity sha512-03nNWoCqRIILtSeMvXrsb96ko3tpA1chgP3+k2LEb21gAGvuPsfxaALMpNPkDPXwqKlqyzU59x2ksQMDAJsPhg== +"@metamask/test-dapp@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@metamask/test-dapp/-/test-dapp-4.0.1.tgz#fbc66069687f0502ebb4c6ac0fa7c9862ea6563c" + integrity sha512-FN2Rz7ctY7Blx3iK6AmZmZEU+TkvEcpYvvebUmqZyOrmjh/DsYKVxfRicVAbyK9mDkeJ18Gx8r7swwFFR4rSgA== "@mrmlnc/readdir-enhanced@^2.2.1": version "2.2.1"