mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
[skip e2e] document token flows (#20260)
This commit is contained in:
parent
2d412c21bb
commit
2daf002245
35
test/scenarios/4. tokens/import erc1155 token origin MM.csv
Normal file
35
test/scenarios/4. tokens/import erc1155 token origin MM.csv
Normal file
@ -0,0 +1,35 @@
|
||||
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 ERC1155 contract.,,,
|
||||
8,Confirm the transaction and wait for the it to complete.,,,
|
||||
9,Proceed to Batch Mint NFTs.,,,
|
||||
10,Confirm the transaction and wait for the it to complete.,,,
|
||||
11,Close the test dapp and switch back to the wallet.,,,
|
||||
12,Open the activity list item.,,"The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.",
|
||||
13,Proceed to view the transaction on the block explorer.,,The block explorer opens in a new tab., Take a note of the Contract address.
|
||||
14,Close the block explorer and switch back to the wallet.,,,
|
||||
15,Switch to the NFTs tab.,,,
|
||||
16,Proceed to the Import tokens flow.,,,
|
||||
17,Enter the contract address.,Contract address.,,
|
||||
18,Enter the token id.,e.g. 1.,,
|
||||
19,Confirm the addition of the custom token.,,"The NFT is shown in the wallets NFTs list.
|
||||
The NFT image is shown.",
|
||||
20,Proceed to open the NFT.,,"The NFT details page is shown.
|
||||
The NFT collection name is shown.
|
||||
The NFT token id is shown.
|
||||
The NFT description is shown.
|
||||
The NFT image source is shown.
|
||||
The NFT contract address is shown.",
|
||||
21,Open the asset menu.,,,
|
||||
22,Proceed to view the asset on Opensea.,,Opensea opens in a new tab.,
|
||||
23,Close Opensea and switch back to the wallet.,,,
|
||||
24,Navigate to the overview page using the asset breadcrumbs.,,The overview page is shown.,
|
|
38
test/scenarios/4. tokens/import erc20 token origin MM.csv
Normal file
38
test/scenarios/4. tokens/import erc20 token origin MM.csv
Normal file
@ -0,0 +1,38 @@
|
||||
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,Close the test dapp and switch back to the wallet.,,,
|
||||
10,Open the activity list item.,,"The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.",
|
||||
11,Proceed to view the transaction on the block explorer.,,The block explorer opens in a new tab., Take a note of the Contract address.
|
||||
12,Close the block explorer and switch back to the wallet.,,,
|
||||
13,Switch to the Tokens tab.,,,
|
||||
14,Proceed to the Import tokens flow.,,,
|
||||
15,Enter the contract address.,Contract address.,,
|
||||
16,Enter the token symbol.,e.g. TST.,,
|
||||
17,Enter the token decimals.,e.g. 4.,,
|
||||
18,Confirm the addition of the custom token.,,"The asset page is shown.
|
||||
The specified token symbol is shown.
|
||||
The specified token icon is shown.
|
||||
The specified token balance is shown.",
|
||||
19,Open the asset menu.,,,
|
||||
20,Proceed to view the asset in the block explorer.,,The block explorer opens in a new tab.,
|
||||
21,Close the block explorer and switch back to the wallet.,,,
|
||||
22,Open the asset menu.,,,
|
||||
23,Proceed to view the token details.,,"The token details page is shown.
|
||||
The token balance is shown.
|
||||
The token contract symbol is shown.
|
||||
The token decimals is shown.
|
||||
The current network is shown.",
|
||||
24,Close the token details page.,,,
|
||||
25,Navigate to the overview page using the asset breadcrumbs.,,"The overview page is shown.
|
||||
The TST token is shown in the wallets token list.",
|
|
35
test/scenarios/4. tokens/import erc721 token origin MM.csv
Normal file
35
test/scenarios/4. tokens/import erc721 token origin MM.csv
Normal file
@ -0,0 +1,35 @@
|
||||
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 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,Close the test dapp and switch back to the wallet.,,,
|
||||
12,Open the activity list item.,,"The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.",
|
||||
13,Proceed to view the transaction on the block explorer.,,The block explorer opens in a new tab., Take a note of the Contract address.
|
||||
14,Close the block explorer and switch back to the wallet.,,,
|
||||
15,Switch to the NFTs tab.,,,
|
||||
16,Proceed to the Import tokens flow.,,,
|
||||
17,Enter the contract address.,Contract address.,,
|
||||
18,Enter the token id.,e.g. 1.,,
|
||||
19,Confirm the addition of the custom token.,,"The NFT is shown in the wallets NFTs list.
|
||||
The NFT image is shown.",
|
||||
20,Proceed to open the NFT.,,"The NFT details page is shown.
|
||||
The NFT collection name is shown.
|
||||
The NFT token id is shown.
|
||||
The NFT description is shown.
|
||||
The NFT image source is shown.
|
||||
The NFT contract address is shown.",
|
||||
21,Open the asset menu.,,,
|
||||
22,Proceed to view the asset on Opensea.,,Opensea opens in a new tab.,
|
||||
23,Close Opensea and switch back to the wallet.,,,
|
||||
24,Navigate to the overview page using the asset breadcrumbs.,,The overview page is shown.,
|
|
Loading…
Reference in New Issue
Block a user