You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0f859d9
Browse filesBrowse the repository at this point in the historyBrowse files
chore: point SIWE community URLs at metamask.com in confirmations fixtures (#47782)
## **Description**
Part of the migration of MetaMask web properties to the `metamask.com`
domain, scoped to files owned by the confirmations team. Updates the
shield coverage and enforced simulations links, and migrates the SIWE
terms-of-service URL in the personal sign fixtures, unit snapshot and
domain-mismatch alert test.
## **Changelog**
CHANGELOG entry: null
## **Related issues**
Fixes: N/A
## **Manual testing steps**
1. Run the extension with `yarn start`.
2. Start a SIWE sign-in request from the test dapp and confirm the
statement renders with the `community.metamask.com/tos` URL and no
unexpected domain-mismatch alert appears for a matching domain.
3. Open a transaction confirmation with shield coverage enabled and
confirm the "See what's covered" link points at
`metamask.com/transaction-shield`.
<!--
## **Screenshots/Recordings**
### **Before**
### **After**
-->
## **Pre-merge author checklist**
- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I've included tests if applicable
- [x] I've documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I've applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
## **Pre-merge reviewer checklist**
- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> String and fixture URL updates only; no auth, transaction, or signing
logic changes.
>
> **Overview**
> Updates confirmations-owned **external links and fixtures** for the
MetaMask domain migration from `metamask.io` to `metamask.com`.
>
> SIWE personal-sign test data, snapshots, and domain-mismatch alert
tests now use **`https://community.metamask.com/tos`** in statements and
matching hex `data` payloads. Transaction confirmation UI points **“See
what's covered”** at **`https://metamask.com/transaction-shield`**, with
the metrics test expectation updated accordingly. The enforced
simulations **“Learn more”** link now uses
**`https://support.metamask.com/manage-crypto/transactions/simulations/`**.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
5f8ed7e. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Copy file name to clipboardExpand all lines: ui/pages/confirmations/components/confirm/info/personal-sign/siwe-sign/__snapshots__/siwe-sign.test.tsx.snap
0 commit comments