-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
test: Expand interaction capabilities in test cases using fixtures #7057
test: Expand interaction capabilities in test cases using fixtures #7057
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. |
e2e/specs/permission-system-revoke-single-account-fixture.spec.js
Outdated
Show resolved
Hide resolved
20a4710
to
290bb5a
Compare
Codecov Report
@@ Coverage Diff @@
## main #7057 +/- ##
==========================================
- Coverage 32.83% 32.82% -0.01%
==========================================
Files 998 998
Lines 26666 26671 +5
Branches 2091 2091
==========================================
- Hits 8756 8755 -1
- Misses 17492 17498 +6
Partials 418 418
|
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.
PR is ✅
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.
LGTM
Kudos, SonarCloud Quality Gate passed! 0 Bugs 18.8% Coverage The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
Development & PR Process
release-xx
label to identify the PR slated for a upcoming release (will be used in release discussion)needs-dev-review
label when work is completedneeds-qa
: PR requires manual QA.No QA/E2E only
: PR does not require any manual QA effort. Prior to merging, ensure that you have successful end-to-end test runs in Bitrise.Spot check on release build
: PR does not require feature QA but needs non-automated verification. In the description section, provide test scenarios. Add screenshots, and or recordings of what was tested.QA Passed
label when QA has signed off (Only required if the PR was labeled withneeds-qa
)team-
(orexternal-contributor
label if your not a MetaMask employee)Description
When working on more complex flows using fixtures there was some limitation on overwriting some actions while the test ran. In order to improve and expand the fixture's capabilities the changes were applied:
ApprovalController
and removePersonalMessageManager
andTypedMessageManager
.withPermissionControllerConnectedToTestDapp
to have the app connected to the test dapp.createStore
instead of overwriting the store's getState function.Screenshots/Recordings
If applicable, add screenshots and/or recordings to visualize the before and after of your change
E2E
https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/64a4361e-c3ce-4ef9-b570-f878f6dee12e
Issue
fixes https://github.com/MetaMask/mobile-planning/issues/1217
Checklist