-
Notifications
You must be signed in to change notification settings - Fork 5.3k
test: add snap-simple-keyring-site
as a local server and remove live requests to the site
#36557
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
base: main
Are you sure you want to change the base?
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
✨ Files requiring CODEOWNER review ✨🔑 @MetaMask/accounts-engineers (1 files, +1 -0)
🫰 @MetaMask/core-platform (3 files, +2 -2)
🧩 @MetaMask/extension-devs (5 files, +15 -25)
📜 @MetaMask/policy-reviewers (5 files, +15 -25)
Tip Follow the policy review process outlined in the LavaMoat Policy Review Process doc before expecting an approval from Policy Reviewers. 🧪 @MetaMask/qa (2 files, +30 -21)
🔗 @MetaMask/supply-chain (5 files, +15 -25)
|
Caution MetaMask internal reviewing guidelines:
|
'https://metamask.github.io/snap-simple-keyring/1.1.6/framework-fe667a09be4a08a9b5f4.js', | ||
'https://metamask.github.io/snap-simple-keyring/1.1.6/page-data/app-data.json', | ||
'https://metamask.github.io/snap-simple-keyring/1.1.6/page-data/index/page-data.json', | ||
'https://metamask.github.io/snap-simple-keyring/1.1.6/webpack-runtime-f26b9ef4aabef2136bf7.js', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
less live requests in our e2e, yay! 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ℹ️ the snap file binary changes are just the result of updating the snap package, by running this command: yarn update-snap-binary [email protected]
export async function installSnapSimpleKeyring( | ||
driver: Driver, | ||
isSyncFlow: boolean = true, | ||
port: number = 8080, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ℹ️ we add this new param, to avoid port collisions in the case we need to use both the test dapp and the snap simple keyring page
"@metamask/foundryup": "^1.0.1", | ||
"@metamask/phishing-warning": "^5.0.1", | ||
"@metamask/preferences-controller": "^19.0.0", | ||
"@metamask/snap-simple-keyring-site": "^2.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ℹ️ we can now use the npm package
snap-simple-keyring-site
as a local serversnap-simple-keyring-site
as a local server and remove live requests to the site
<!-- Thanks for your contribution! Take a moment to answer these questions so that reviewers have the information they need to properly understand your changes: * What is the current state of things and why does it need to change? * What is the solution your changes offer and how does it work? Are there any issues or other links reviewers should consult to understand this pull request better? For instance: * Fixes #12345 * See: #67890 --> Context: The update to 2.0.0 doesn't change anything on the snap-simple-keyring. It's a major update, because we have made the snap-simple-keyring-site publishable, in order to use it in our e2e as a local server. See more here: - MetaMask/snap-simple-keyring#163 - MetaMask/metamask-extension#36557
@metamaskbot update-policies |
Policies updated. 🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff |
❌ test-e2e-chrome-api-specs failed. View the html report here. |
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [2ae9ae5]
UI Startup Metrics (1243 ± 72 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
@metamaskbot update-policies |
Policies updated. 🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff |
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [42b02d0]
UI Startup Metrics (1252 ± 71 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist