-
-
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: Merge Import Token flow methods and ids in just one folder and files #11458
test: Merge Import Token flow methods and ids in just one folder and files #11458
Conversation
Bitrise✅✅✅ Commit hash: 2c92708 Note
|
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.
Small feedback, otherwise looks good
Bitrise❌❌❌ Commit hash: be6ce96 Note
Tip
|
Bitrise✅✅✅ Commit hash: 6c64ae2 Note
|
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.
🌮 🌮
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.
Really nice use of constants for these testId's. I like it. One small fix to address but I'll approve.
384d76f
Bitrise✅✅✅ Commit hash: 90d2dbd Note
|
Quality Gate passedIssues Measures |
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.
Code looks good. Approving, but when I was trying to run CI locally, I was getting a failed build:
** BUILD FAILED **
The following build commands failed:
CompileC /Users/nicholasgambino/code/metamask-mobile/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNDateTimePicker.build/Objects-normal/x86_64/RNDateTimePickerShadowView.o /Users/nicholasgambino/code/metamask-mobile/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerShadowView.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RNDateTimePicker' from project 'Pods')
(1 failure)
error Command failed with exit code 65.
Steps I took:
git pull
yarn setup:e2e
yarn start:ios:e2e
Approving now bc this feels unrelated, and CI tests are passing in Github. Will reach out in Slack for help.
Description
We are aiming to refactor the page objects in the modal folder so that they strictly follow the page object model pattern. This would aide in providing more readable and help standardize the way we create our tests. Because of the amount of files remaining, this issue will focus on working on three files to refactor, as well as their respective testIDS.
While doing some analysis we see that the ImportTokens and AddCustomTokenView classes could be merge together. So the refactoring of the test and classes should be implemented on both files.
NOTE: You should move the AddCustomTokenView and ImportTokens files into a token-import subfolder within the wallet folder for better organization and clarity.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Regressin test runs: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/ca857ba6-cebc-4903-8918-3d7dc3a51a36
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist