mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-21 17:37:01 +01:00
[e2e] test-dapp update to v6.0.0
(#18844)
* Test dapp update to v6.0.0 and tweak initial token amounts to adjust to the new contract * Update gas estimates for new TST contract --------- Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
This commit is contained in:
parent
1253c768c7
commit
6e4de3bee8
@ -378,7 +378,7 @@
|
||||
"@metamask/eslint-config-typescript": "^9.0.1",
|
||||
"@metamask/forwarder": "^1.1.0",
|
||||
"@metamask/phishing-warning": "^2.1.0",
|
||||
"@metamask/test-dapp": "^5.6.0",
|
||||
"@metamask/test-dapp": "^6.0.0",
|
||||
"@sentry/cli": "^1.58.0",
|
||||
"@storybook/addon-a11y": "^6.5.13",
|
||||
"@storybook/addon-actions": "^6.5.13",
|
||||
|
@ -14,7 +14,7 @@ const {
|
||||
} = require('@metamask/test-dapp/dist/constants.json');
|
||||
|
||||
const hstFactory = {
|
||||
initialAmount: 100,
|
||||
initialAmount: 10,
|
||||
tokenName: 'TST',
|
||||
decimalUnits: 4,
|
||||
tokenSymbol: 'TST',
|
||||
|
@ -336,11 +336,11 @@ describe('Send ETH from dapp using advanced gas controls', function () {
|
||||
await driver.clickElement({ text: 'Save', tag: 'button' });
|
||||
await driver.waitForSelector({
|
||||
css: '.transaction-detail-item:nth-of-type(1) h6:nth-of-type(2)',
|
||||
text: '0.02367237 ETH',
|
||||
text: '0.04503836 ETH',
|
||||
});
|
||||
await driver.waitForSelector({
|
||||
css: '.transaction-detail-item:nth-of-type(2) h6:nth-of-type(2)',
|
||||
text: '0.02367237 ETH',
|
||||
text: '0.04503836 ETH',
|
||||
});
|
||||
|
||||
await driver.clickElement({ text: 'Confirm', tag: 'button' });
|
||||
|
@ -155,7 +155,7 @@ describe('Send ERC20 to a 40 character hexadecimal address', function () {
|
||||
});
|
||||
await driver.waitForSelector({
|
||||
css: '.transaction-detail-item',
|
||||
text: '0.00008346 ETH',
|
||||
text: '0.00008455 ETH',
|
||||
});
|
||||
await driver.clickElement({ text: 'Next', tag: 'button' });
|
||||
|
||||
@ -220,7 +220,7 @@ describe('Send ERC20 to a 40 character hexadecimal address', function () {
|
||||
});
|
||||
await driver.waitForSelector({
|
||||
css: '.transaction-detail-item',
|
||||
text: '0.00008346 ETH',
|
||||
text: '0.00008455 ETH',
|
||||
});
|
||||
await driver.clickElement({ text: 'Next', tag: 'button' });
|
||||
|
||||
|
10
yarn.lock
10
yarn.lock
@ -4435,10 +4435,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@metamask/test-dapp@npm:^5.6.0":
|
||||
version: 5.6.0
|
||||
resolution: "@metamask/test-dapp@npm:5.6.0"
|
||||
checksum: 352399ee03a9bee7a2a1045a102d4993a3b4b17a4c2c87b77265924dc6b04659b743f79a08f91bfbeeea3b7cbb9d1a88dc251ec32366877312e9eaa01ce0c82f
|
||||
"@metamask/test-dapp@npm:^6.0.0":
|
||||
version: 6.0.0
|
||||
resolution: "@metamask/test-dapp@npm:6.0.0"
|
||||
checksum: eee793c8816d1205667002bd0ef60d248f3a35027937d66a51fd6a87e6eb7be70efd63052412d4dbabdd4329a5e729ab8293655dbdd8d3329bd732b1b1be45d1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -23866,7 +23866,7 @@ __metadata:
|
||||
"@metamask/snaps-utils": ^0.32.2
|
||||
"@metamask/subject-metadata-controller": ^2.0.0
|
||||
"@metamask/swappable-obj-proxy": ^2.1.0
|
||||
"@metamask/test-dapp": ^5.6.0
|
||||
"@metamask/test-dapp": ^6.0.0
|
||||
"@metamask/utils": ^5.0.0
|
||||
"@ngraveio/bc-ur": ^1.1.6
|
||||
"@popperjs/core": ^2.4.0
|
||||
|
Loading…
Reference in New Issue
Block a user