mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 02:58:09 +01:00
[skip e2e] document transaction flows (#20259)
This commit is contained in:
parent
2daf002245
commit
523b3145b2
30
test/scenarios/3. transactions/cancel transaction.csv
Normal file
30
test/scenarios/3. transactions/cancel transaction.csv
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
Step,Test Steps,Test Data,Expected Result,Notes
|
||||||
|
1,Open the extension.,,The Welcome Back screen is shown.,
|
||||||
|
2,Proceed to Unlock the wallet.,password (8 characters min).,"The Ether balance is shown on the overview.
|
||||||
|
The wallet address is shown on the overview.
|
||||||
|
The selected network is Ethereum Mainnet.",
|
||||||
|
3,Switch networks to a test network.,e.g. Goerli.,"The Goerli balance is shown on the overview.
|
||||||
|
The wallet address is shown on the overview.
|
||||||
|
The selected network is Goerli.",
|
||||||
|
4,Proceed to the Send flow.,,,
|
||||||
|
5,Enter a public address.,e.g. 0x56F2e03c8D30649818c022a9759CF43B240D08B3.,,
|
||||||
|
6,Enter an amount.,e.g. 0.1.,,
|
||||||
|
7,Proceed to the confirmation screen.,,"The recipient's hexadecimal address is shown.
|
||||||
|
The specified amount is shown.
|
||||||
|
The estimated gas details are shown.
|
||||||
|
The total amount is shown.",
|
||||||
|
8,Proceed to edit the transaction gas fees.,e.g. 0.1.,,
|
||||||
|
9,Reduce the the Max base fee and Priority fee.,e.g. Max base fee 0.00001 and Priority fee 0.00001.,,
|
||||||
|
10,Confirm the transaction.,,"The transaction appears in the activity list.
|
||||||
|
The recipient's hexadecimal address is shown in the activity list item.
|
||||||
|
The amount is shown in the activity list item.",
|
||||||
|
11,Cancel the transaction.,,"The transaction appears in the activity list.
|
||||||
|
The recipient's hexadecimal address is shown in the activity list item.
|
||||||
|
The amount is shown in the activity list item.",
|
||||||
|
12,Wait for the transaction to complete.,,Another activity item appears.,Two activity items; Send and Receive.
|
||||||
|
13,Open the Send activity list item.,,"The updated gas fees are shown in the item details.
|
||||||
|
The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.",
|
||||||
|
14,Expand the Activity log.,,"The created, submitted, cancel attempt and cancelled activity is shown in the activity log.",
|
||||||
|
15,Proceed to view the transaction on the block explorer.,,The block explorer opens in a new tab.,
|
||||||
|
16,Open the Receive activity list item.,,"The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.",
|
||||||
|
17,Proceed to view the transaction on the block explorer.,,The block explorer opens in a new tab.,
|
|
@ -0,0 +1,37 @@
|
|||||||
|
Step,Test Steps,Test Data,Expected Result,Notes
|
||||||
|
1,Open the extension.,,The Welcome Back screen is shown.,
|
||||||
|
2,Proceed to Unlock the wallet.,password (8 characters min).,"The Ether balance is shown on the overview.
|
||||||
|
The wallet address is shown on the overview.
|
||||||
|
The selected network is Ethereum Mainnet.",
|
||||||
|
3,Switch networks to a test network.,e.g. Goerli.,"The Goerli balance is shown on the overview.
|
||||||
|
The wallet address is shown on the overview.
|
||||||
|
The selected network is Goerli.",
|
||||||
|
4,Open the test dapp in another tab.,https://metamask.github.io/test-dapp/,,
|
||||||
|
5,Proceed to Connect with MetaMask.,,,
|
||||||
|
6,Connect with the current account.,,,
|
||||||
|
7,Deploy the Token contract.,,,
|
||||||
|
8,Confirm the transaction and wait for the it to complete.,,,
|
||||||
|
9,Proceed to add the token to the wallet.,,,
|
||||||
|
10,Confirm the suggested token notification.,,"The TST token is shown in the wallets token list.
|
||||||
|
The TST token symbol is shown.
|
||||||
|
The TST token icon is shown.
|
||||||
|
The TST token balance is shown.",
|
||||||
|
11,Close the test dapp and switch back to the wallet.,,,
|
||||||
|
12,Proceed to the Send flow.,,,
|
||||||
|
13,Enter a public address.,e.g. 0x56F2e03c8D30649818c022a9759CF43B240D08B3.,,
|
||||||
|
14,Change the asset to the newly added token.,e.g. TST.,"The TST token is shown in the asset field on the send flow.
|
||||||
|
The TST token symbol is shown.
|
||||||
|
The TST token icon is shown.
|
||||||
|
The TST token balance is shown.",
|
||||||
|
15,Enter an amount.,e.g. 0.1.,,
|
||||||
|
16,Proceed to the confirmation screen.,,"The recipient's hexadecimal address is shown.
|
||||||
|
The specified amount is shown.
|
||||||
|
The specified token is shown.
|
||||||
|
The estimated gas details are shown.
|
||||||
|
The total amount is shown.",
|
||||||
|
17,Confirm the transaction.,,"The transaction appears in the activity list.
|
||||||
|
The recipient's hexadecimal address is shown in the activity list item.
|
||||||
|
The amount is shown in the activity list item.",
|
||||||
|
18,Open the activity list item.,,"The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.",
|
||||||
|
19,Expand the Activity log.,,"The created, submitted and confirmed activity is shown in the activity log.",
|
||||||
|
20,Proceed to view the transaction on the block explorer.,,The block explorer opens in a new tab.,
|
|
@ -0,0 +1,37 @@
|
|||||||
|
Step,Test Steps,Test Data,Expected Result,Notes
|
||||||
|
1,Open the extension.,,The Welcome Back screen is shown.,
|
||||||
|
2,Proceed to Unlock the wallet.,password (8 characters min).,"The Ether balance is shown on the overview.
|
||||||
|
The wallet address is shown on the overview.
|
||||||
|
The selected network is Ethereum Mainnet.",
|
||||||
|
3,Switch networks to a test network.,e.g. Goerli.,"The Goerli balance is shown on the overview.
|
||||||
|
The wallet address is shown on the overview.
|
||||||
|
The selected network is Goerli.",
|
||||||
|
4,Open the test dapp in another tab.,https://metamask.github.io/test-dapp/,,
|
||||||
|
5,Proceed to Connect with MetaMask.,,,
|
||||||
|
6,Connect with the current account.,,,
|
||||||
|
7,Proceed to Deploy the NFT contract.,,,
|
||||||
|
8,Confirm the transaction and wait for the it to complete.,,,
|
||||||
|
9,Proceed to Mint an NFT.,,,
|
||||||
|
10,Confirm the transaction and wait for the it to complete.,,,
|
||||||
|
11,Proceed to Watch NFT.,,,
|
||||||
|
12,Confirm the suggested NFT notification.,,"The NFT is shown in the wallets NFTs list.
|
||||||
|
The NFT image is shown.",
|
||||||
|
13,Close the test dapp and switch back to the wallet.,,,
|
||||||
|
14,Proceed to the Send flow.,,,
|
||||||
|
15,Enter a public address.,e.g. 0x56F2e03c8D30649818c022a9759CF43B240D08B3.,,
|
||||||
|
16,Change the asset to the newly added NFT.,e.g. TestDappNFTs.,"The TestDappNFTs NFT is shown in the asset field on the send flow.
|
||||||
|
The specified NFT symbol is shown.
|
||||||
|
The specified NFT image is shown.
|
||||||
|
The specified NFT token id is shown.",
|
||||||
|
17,Proceed to the confirmation screen.,,"The recipient's hexadecimal address is shown.
|
||||||
|
The specified NFT symbol is shown.
|
||||||
|
The specified NFT image is shown.
|
||||||
|
The specified NFT token id is shown.
|
||||||
|
The estimated gas details are shown.
|
||||||
|
The total amount is shown.",
|
||||||
|
18,Confirm the transaction.,,"The transaction appears in the activity list.
|
||||||
|
The recipient's hexadecimal address is shown in the activity list item.
|
||||||
|
The amount is shown in the activity list item.",
|
||||||
|
19,Open the activity list item.,,"The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.",
|
||||||
|
20,Expand the Activity log.,,"The created, submitted and confirmed activity is shown in the activity log.",
|
||||||
|
21,Proceed to view the transaction on the block explorer.,,The block explorer opens in a new tab.,
|
|
@ -0,0 +1,21 @@
|
|||||||
|
Step,Test Steps,Test Data,Expected Result,Notes
|
||||||
|
1,Open the extension.,,The Welcome Back screen is shown.,
|
||||||
|
2,Proceed to Unlock the wallet.,password (8 characters min).,"The Ether balance is shown on the overview.
|
||||||
|
The wallet address is shown on the overview.
|
||||||
|
The selected network is Ethereum Mainnet.",
|
||||||
|
3,Switch networks to a test network.,e.g. Goerli.,"The Goerli balance is shown on the overview.
|
||||||
|
The wallet address is shown on the overview.
|
||||||
|
The selected network is Goerli.",
|
||||||
|
4,Proceed to the Send flow.,,,
|
||||||
|
5,Enter a public address.,e.g. 0x56F2e03c8D30649818c022a9759CF43B240D08B3.,,
|
||||||
|
6,Enter an amount.,e.g. 0.1.,,
|
||||||
|
7,Proceed to the confirmation screen.,,"The recipient's hexadecimal address is shown.
|
||||||
|
The specified amount is shown.
|
||||||
|
The estimated gas details are shown.
|
||||||
|
The total amount is shown.",
|
||||||
|
8,Confirm the transaction.,,"The transaction appears in the activity list.
|
||||||
|
The recipient's hexadecimal address is shown in the activity list item.
|
||||||
|
The amount is shown in the activity list item.",
|
||||||
|
9,Open the activity list item.,,"The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.",
|
||||||
|
10,Expand the Activity log.,,"The created, submitted and confirmed activity is shown in the activity log.",
|
||||||
|
11,Proceed to view the transaction on the block explorer.,,The block explorer opens in a new tab.,
|
|
27
test/scenarios/3. transactions/speed up transaction.csv
Normal file
27
test/scenarios/3. transactions/speed up transaction.csv
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
Step,Test Steps,Test Data,Expected Result,Notes
|
||||||
|
1,Open the extension.,,The Welcome Back screen is shown.,
|
||||||
|
2,Proceed to Unlock the wallet.,password (8 characters min).,"The Ether balance is shown on the overview.
|
||||||
|
The wallet address is shown on the overview.
|
||||||
|
The selected network is Ethereum Mainnet.",
|
||||||
|
3,Switch networks to a test network.,e.g. Goerli.,"The Goerli balance is shown on the overview.
|
||||||
|
The wallet address is shown on the overview.
|
||||||
|
The selected network is Goerli.",
|
||||||
|
4,Proceed to the Send flow.,,,
|
||||||
|
5,Enter a public address.,e.g. 0x56F2e03c8D30649818c022a9759CF43B240D08B3.,,
|
||||||
|
6,Enter an amount.,e.g. 0.1.,,
|
||||||
|
7,Proceed to the confirmation screen.,,"The recipient's hexadecimal address is shown.
|
||||||
|
The specified amount is shown.
|
||||||
|
The estimated gas details are shown.
|
||||||
|
The total amount is shown.",
|
||||||
|
8,Proceed to edit the transaction gas fees.,e.g. 0.1.,,
|
||||||
|
9,Reduce the the Max base fee and Priority fee.,e.g. Max base fee 0.00001 and Priority fee 0.00001.,,
|
||||||
|
10,Confirm the transaction.,,"The transaction appears in the activity list.
|
||||||
|
The recipient's hexadecimal address is shown in the activity list item.
|
||||||
|
The amount is shown in the activity list item.",
|
||||||
|
11,Speed up the transaction.,,"The transaction appears in the activity list.
|
||||||
|
The recipient's hexadecimal address is shown in the activity list item.
|
||||||
|
The amount is shown in the activity list item.",
|
||||||
|
12,Open the activity list item.,,"The updated gas fees are shown in the item details.
|
||||||
|
The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.",
|
||||||
|
13,Expand the Activity log.,,"The created, submitted, resubmitted and confirmed activity is shown in the activity log.",
|
||||||
|
14,Proceed to view the transaction on the block explorer.,,The block explorer opens in a new tab.,
|
|
Loading…
Reference in New Issue
Block a user