MetaMask / test-dapp

The sample dapp used for e2e testing and metamask-extension QA
https://metamask.github.io/test-dapp/
MIT License
596 stars 349 forks source link

feat: add token contract addresses and consolidate names #332

Closed seaona closed 5 months ago

seaona commented 5 months ago

Description

In this PR we add a section for displaying the contract address(es) for ERC721 and ERC1155 tokens, in the same way as we do for ERC20 tokens.

Screenshot from 2024-05-14 11-57-27

Taking the opportunity for consolidating a couple of titles, for the different tokens, so we always follow the same pattern.

Screenshots

ERC721 before

Screenshot from 2024-05-14 11-47-14

ERC721 now

Screenshot from 2024-05-14 11-45-37

======================================================== ERC1155 before

Screenshot from 2024-05-14 11-47-57

ERC1155 now

Screenshot from 2024-05-14 11-45-46

Manual QA

  1. Deploy an ERC721 token --> see token address is displayed in the new section
  2. Deploy a second ERC721 token --> see the two token addresses displayed in the new section
  3. Deploy an ERC1155 token --> see token address is displayed in the new section
  4. Deploy a second ERC1155 token --> see the two token addresses displayed in the new section