-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add approve ERC20 with custom amount (#6636)
* Custom Approve ERC20 * Fix flaky test due to modal appearing
- Loading branch information
Showing
10 changed files
with
66 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@androidApp | ||
@confirmations | ||
@regression | ||
|
||
Feature: Approve an ERC20 token with custom amount | ||
A user should be able to approve an ERC20 token from a dapp setting a custom amount. | ||
@ganache | ||
@erc20 | ||
Scenario: should approve successfully the custom token amount I set | ||
Given the app displayed the splash animation | ||
And I have imported my wallet | ||
And I tap No Thanks on the Enable security check screen | ||
And I tap No thanks on the onboarding welcome tutorial | ||
And Ganache network is selected | ||
When I navigate to the browser | ||
And I am on Home MetaMask website | ||
And I navigate to "test-dapp-erc20" | ||
And I connect my active wallet to the test dapp | ||
And I scroll to the ERC20 section | ||
And I approve the custom ERC20 token amount | ||
Then the transaction is submitted with Transaction Complete! toast appearing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters