1
0
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:
Peter 2023-07-31 16:10:50 -04:00 committed by GitHub
parent 2daf002245
commit 523b3145b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 152 additions and 0 deletions

View 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.,
1 Step Test Steps Test Data Expected Result Notes
2 1 Open the extension. The Welcome Back screen is shown.
3 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.
4 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.
5 4 Proceed to the Send flow.
6 5 Enter a public address. e.g. 0x56F2e03c8D30649818c022a9759CF43B240D08B3.
7 6 Enter an amount. e.g. 0.1.
8 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.
9 8 Proceed to edit the transaction gas fees. e.g. 0.1.
10 9 Reduce the the Max base fee and Priority fee. e.g. Max base fee 0.00001 and Priority fee 0.00001.
11 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.
12 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.
13 12 Wait for the transaction to complete. Another activity item appears. Two activity items; Send and Receive.
14 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.
15 14 Expand the Activity log. The created, submitted, cancel attempt and cancelled activity is shown in the activity log.
16 15 Proceed to view the transaction on the block explorer. The block explorer opens in a new tab.
17 16 Open the Receive activity list item. The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.
18 17 Proceed to view the transaction on the block explorer. The block explorer opens in a new tab.

View File

@ -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.,
1 Step Test Steps Test Data Expected Result Notes
2 1 Open the extension. The Welcome Back screen is shown.
3 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.
4 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.
5 4 Open the test dapp in another tab. https://metamask.github.io/test-dapp/
6 5 Proceed to Connect with MetaMask.
7 6 Connect with the current account.
8 7 Deploy the Token contract.
9 8 Confirm the transaction and wait for the it to complete.
10 9 Proceed to add the token to the wallet.
11 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.
12 11 Close the test dapp and switch back to the wallet.
13 12 Proceed to the Send flow.
14 13 Enter a public address. e.g. 0x56F2e03c8D30649818c022a9759CF43B240D08B3.
15 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.
16 15 Enter an amount. e.g. 0.1.
17 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.
18 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.
19 18 Open the activity list item. The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.
20 19 Expand the Activity log. The created, submitted and confirmed activity is shown in the activity log.
21 20 Proceed to view the transaction on the block explorer. The block explorer opens in a new tab.

View File

@ -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.,
1 Step Test Steps Test Data Expected Result Notes
2 1 Open the extension. The Welcome Back screen is shown.
3 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.
4 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.
5 4 Open the test dapp in another tab. https://metamask.github.io/test-dapp/
6 5 Proceed to Connect with MetaMask.
7 6 Connect with the current account.
8 7 Proceed to Deploy the NFT contract.
9 8 Confirm the transaction and wait for the it to complete.
10 9 Proceed to Mint an NFT.
11 10 Confirm the transaction and wait for the it to complete.
12 11 Proceed to Watch NFT.
13 12 Confirm the suggested NFT notification. The NFT is shown in the wallets NFTs list. The NFT image is shown.
14 13 Close the test dapp and switch back to the wallet.
15 14 Proceed to the Send flow.
16 15 Enter a public address. e.g. 0x56F2e03c8D30649818c022a9759CF43B240D08B3.
17 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.
18 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.
19 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.
20 19 Open the activity list item. The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.
21 20 Expand the Activity log. The created, submitted and confirmed activity is shown in the activity log.
22 21 Proceed to view the transaction on the block explorer. The block explorer opens in a new tab.

View File

@ -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.,
1 Step Test Steps Test Data Expected Result Notes
2 1 Open the extension. The Welcome Back screen is shown.
3 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.
4 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.
5 4 Proceed to the Send flow.
6 5 Enter a public address. e.g. 0x56F2e03c8D30649818c022a9759CF43B240D08B3.
7 6 Enter an amount. e.g. 0.1.
8 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.
9 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.
10 9 Open the activity list item. The transaction status, recipient's address, nonce, amount, gas and total are shown in the item details.
11 10 Expand the Activity log. The created, submitted and confirmed activity is shown in the activity log.
12 11 Proceed to view the transaction on the block explorer. The block explorer opens in a new tab.

View 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.,
1 Step Test Steps Test Data Expected Result Notes
2 1 Open the extension. The Welcome Back screen is shown.
3 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.
4 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.
5 4 Proceed to the Send flow.
6 5 Enter a public address. e.g. 0x56F2e03c8D30649818c022a9759CF43B240D08B3.
7 6 Enter an amount. e.g. 0.1.
8 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.
9 8 Proceed to edit the transaction gas fees. e.g. 0.1.
10 9 Reduce the the Max base fee and Priority fee. e.g. Max base fee 0.00001 and Priority fee 0.00001.
11 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.
12 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.
13 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.
14 13 Expand the Activity log. The created, submitted, resubmitted and confirmed activity is shown in the activity log.
15 14 Proceed to view the transaction on the block explorer. The block explorer opens in a new tab.