Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump test dapp to v7.2.0 #21361

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/forwarder": "^1.1.0",
"@metamask/phishing-warning": "^2.1.0",
"@metamask/test-dapp": "^7.1.0",
"@metamask/test-dapp": "^7.2.0",
"@sentry/cli": "^2.19.4",
"@storybook/addon-a11y": "^7.0.11",
"@storybook/addon-actions": "^7.0.11",
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/metamask-ui.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ describe('MetaMask @no-mmi', function () {
await driver.delay(tinyDelayMs);

const tokenContractAddress = await driver.waitForSelector({
css: '#tokenAddress',
css: '#tokenAddresses',
text: '0x',
});
tokenAddress = await tokenContractAddress.getText();
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/tests/provider-api.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ describe('MetaMask', function () {
await driver.switchToWindowWithTitle('E2E Test Dapp', windowHandles);
const switchedNetworkDiv = await driver.waitForSelector({
css: '#network',
text: '0x1',
text: '1',
});
const switchedChainIdDiv = await driver.waitForSelector({
css: '#chainId',
text: '0x1',
});
const accountsDiv = await driver.findElement('#accounts');

assert.equal(await switchedNetworkDiv.getText(), '0x1');
assert.equal(await switchedNetworkDiv.getText(), '1');
assert.equal(await switchedChainIdDiv.getText(), '0x1');
assert.equal(await accountsDiv.getText(), publicAddress);
},
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4867,10 +4867,10 @@ __metadata:
languageName: node
linkType: hard

"@metamask/test-dapp@npm:^7.1.0":
version: 7.1.0
resolution: "@metamask/test-dapp@npm:7.1.0"
checksum: 94a01886a4254dafdf719086da6ded59fb1fef701d32d9c32673251fd0d664b133dd0c73664184f2b9c566caedcc9550d845cdfe7976cef993b6549c1d3b8881
"@metamask/test-dapp@npm:^7.2.0":
version: 7.2.0
resolution: "@metamask/test-dapp@npm:7.2.0"
checksum: 415ea793d2d75f51679d2944bd14412fa98cdb11022b127eb2bbb09b9f39204ad7ee61c7c63a29a8e6ce5605ead7471432c114c73bb1aaabe962f55a18cd9678
languageName: node
linkType: hard

Expand Down Expand Up @@ -23859,7 +23859,7 @@ __metadata:
"@metamask/snaps-controllers": "npm:^3.0.0"
"@metamask/snaps-ui": "npm:^3.0.0"
"@metamask/snaps-utils": "npm:^3.0.0"
"@metamask/test-dapp": "npm:^7.1.0"
"@metamask/test-dapp": "npm:^7.2.0"
"@metamask/utils": "npm:^5.0.0"
"@ngraveio/bc-ur": "npm:^1.1.6"
"@popperjs/core": "npm:^2.4.0"
Expand Down
Loading