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

test: add scenario navigate through multiple unapproved transactions. #23569

Merged
merged 2 commits into from
Mar 19, 2024
Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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. Sepolia,The Sepolia balance is shown on the overview. The wallet address is shown on the overview. The selected network is Sepolia.,
4,Open the test dapp in another tab.,https://metamask.github.io/test-dapp/,,
5,Proceed to connect with MetaMask. ,,Connect with the current account. ,
6,Create a transaction using test dapp.,,"Click 'Send legacy transaction', 'Send EIP 1559 transaction' or deploy any kind of contract.",
7,Do not confirm the transaction.,,"A MetaMask popup is displayed, presenting the estimated gas fees and total fees.",
8,Click outside the MetaMask popup on the test dapp tab.,,"A blue badge, indicating the number of unapproved transactions (1), is displayed on the MetaMask logo.",
9,Use test dapp to create another transaction.,,"Click 'Send legacy transaction', 'Send EIP 1559 transaction' or deploy any kind of contract.",
10,Do not confirm the transaction.,,"A MetaMask popup is displayed, presenting the estimated gas fees and total fees. At the top, there is a notification indicating '1 of 2 requests waiting to be acknowledged,' accompanied by navigation arrows ('>' and '>>') for managing multiple requests.",
11,Click outside the MetaMask popup on the test dapp tab.,,"A blue badge, indicating the number of unapproved transactions (2), is displayed on the MetaMask logo.",
12,Use test dapp to create third transaction.,,"Click 'Send legacy transaction', 'Send EIP 1559 transaction' or deploy any kind of contract. A MetaMask popup is displayed, presenting the estimated gas fees and total fees. At the top, there is a notification indicating '1 of 3 requests waiting to be acknowledged,' accompanied by navigation arrows ('>' and '>>') for managing multiple requests. A blue badge, indicating the number of unapproved transactions (3), is displayed on the MetaMask logo.",
,"On the confirmation screen, user can smoothly navigate through multiple unapproved transactions using the arrows at the top.",,"The single arrows ('>' and '<') allow for moving to the next or previous transaction, while the double arrows ('>>' and '<<') enable quick access to the first or last transaction in the queue, ensuring efficient transaction management.",
13,Scroll to the bottom of the confirmation screen.,,The notification 'Reject 3 transactions' is displayed.,
14,Reject any chosen transaction to make sure the transactions can be individually rejected.,,"Upon successfully rejecting the transaction, the notification at the bottom of the confirmation screen is updated to 'Reject 2 transactions'.",
15,Click 'Reject 2 transactions'.,,The popup with the notification 'You are about to batch reject 2 transactions' appears.,
16,Click 'Reject all'.,,"The transaction queue is cleared, the blue badge on the MetaMask logo disappears, signifying that there are no pending transactions.",
Loading