test: MMQA 1570 - migrate ppom-toggle-settings.spec.js to POM#40926
Draft
LeVinhGithub wants to merge 3 commits intomainfrom
Draft
test: MMQA 1570 - migrate ppom-toggle-settings.spec.js to POM#40926LeVinhGithub wants to merge 3 commits intomainfrom
LeVinhGithub wants to merge 3 commits intomainfrom
Conversation
Contributor
|
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. |
Contributor
✨ Files requiring CODEOWNER review ✨🧪 @MetaMask/qa (2 files, +15 -0)
|
Contributor
Builds ready [80d110b]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
|
Contributor
Builds ready [ab64778]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Refactors the PPOM Settings E2E tests to align with the project's Page Object Model (POM) and TypeScript standards.
ppom-toggle-settings.spec.jswith a TypeScript version (.ts) and uses ES module imports instead ofrequire.maliciousPermitButtonlocator andclickMaliciousPermitButton()for the malicious permit button.securityProviderBannerAlertlocator andcheckSecurityProviderBannerAlertIsPresent()for the Blockaid alert banner.HeaderNavbar.openSettingsPage(),SettingsPage.goToPrivacySettings(), andPrivacySettings.toggleBlockaidAlerts().Changelog
CHANGELOG entry: null
Related issues
Fixes: MMQA-1570
Manual testing steps
yarn build:testyarn test:e2e:single test/e2e/tests/ppom/ppom-toggle-settings.spec.ts --browser=chromeit.skip); for manual verification, remove the skip and run the above command.Screenshots/Recordings
Before
N/A — test refactor only; no UI changes.
After
N/A — test refactor only; no UI changes.
Pre-merge author checklist
Pre-merge reviewer checklist